POST api/HR/SaveTickets

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Tickets
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Subject": "sample string 2",
  "Message": "sample string 3",
  "Status": 1,
  "StatusDate": "2021-03-09T07:08:57.3111661+02:00",
  "Type": 4,
  "IsTemplate": true,
  "TemplateId": 6,
  "GroupId": 1,
  "EmpId": 7,
  "ToEmpList": "sample string 8",
  "Docs": [
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    }
  ],
  "ServerIP": "sample string 9",
  "InCT": "sample string 10",
  "CreatedEmpId": 1,
  "CreatedDate": "2021-03-09T07:08:57.3111661+02:00",
  "UpdatedEmpId": 1,
  "UpdatedDate": "2021-03-09T07:08:57.3267551+02:00",
  "DeletedEmpId": 1,
  "DeletedDate": "2021-03-09T07:08:57.3267551+02:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<HR_Tickets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
  <Id>1</Id>
  <CreatedDate>2021-03-09T07:08:57.3111661+02:00</CreatedDate>
  <CreatedEmpId>1</CreatedEmpId>
  <DeletedDate>2021-03-09T07:08:57.3267551+02:00</DeletedDate>
  <DeletedEmpId>1</DeletedEmpId>
  <IsDeleted>true</IsDeleted>
  <UpdatedDate>2021-03-09T07:08:57.3267551+02:00</UpdatedDate>
  <UpdatedEmpId>1</UpdatedEmpId>
  <Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
  </Docs>
  <EmpId>7</EmpId>
  <GroupId>1</GroupId>
  <InCT>sample string 10</InCT>
  <IsTemplate>true</IsTemplate>
  <Message>sample string 3</Message>
  <ServerIP>sample string 9</ServerIP>
  <Status>Open</Status>
  <StatusDate>2021-03-09T07:08:57.3111661+02:00</StatusDate>
  <Subject>sample string 2</Subject>
  <TemplateId>6</TemplateId>
  <ToEmpList>sample string 8</ToEmpList>
  <Type>4</Type>
</HR_Tickets>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HR_Tickets'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>