PUT api/CompAuthDetails/UpdateCMPAuth/{COMPLAINT_ID}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ComplaintRegisterAuthModel
No documentation available.

Define this parameter in the request body.

COMPLAINT_ID
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "EMP_DIVISION_ID": 1,
  "DOC_CODE": "sample string 2",
  "code_value": "sample string 3",
  "DI_District": "sample string 4",
  "Department_Name": "sample string 5",
  "Doc_Year": 6,
  "COMPLAINT_INITIATED_DATE": "2024-12-27T05:55:43.8793407+05:30",
  "COMPLAINT_ID": 8,
  "SANCTIONED_DATE": "2024-12-27T05:55:43.8793407+05:30",
  "SANCTIONED_BY": 1,
  "AUTH_DATE": "2024-12-27T05:55:43.8793407+05:30",
  "DOC_DATE": "2024-12-27T05:55:43.8793407+05:30",
  "MODIFIED_DATE": "2024-12-27T05:55:43.8793407+05:30",
  "AUTH_BY": 1,
  "MODIFIED_BY": 1,
  "AUTH_REMARKS": "sample string 11",
  "DGO_NAME": "sample string 12",
  "DivisionId": 13,
  "COMPLNT_NATURE": "sample string 14",
  "EmpID": 15,
  "EMP_ID": 16,
  "DOC_STATUS": "sample string 17",
  "EMP_EMPLOYEE_ID": 18,
  "COMPLNT_DESC": "sample string 19",
  "COMPLNT_REMARKS": "sample string 20",
  "COMPLNT_ADDR_TO": "sample string 21",
  "COMPLNT_COMP_NAME": "sample string 22",
  "EMP_FIRST_NAME": "sample string 23",
  "COMPLNT_COMP_ADD": "sample string 24",
  "COMPLAINT_INITIATED_BY": "sample string 25",
  "EMP_EMPLOYEE_CODE": "sample string 26",
  "COMPLNT_COMP_CONTACT": 27,
  "Comp_DocPath": "sample string 28",
  "COMPLNT_UPLOAD_PATH": "sample string 29",
  "GetEmployeeCompA": {
    "EMP_FIRST_NAME": "sample string 1",
    "EMP_EMPLOYEE_ID": 1,
    "EMP_EMPLOYEE_CODE": "sample string 2",
    "DI_District": "sample string 3",
    "desg_name": "sample string 4",
    "EMP_CATEGORY": "sample string 5",
    "EMP_GROUP": "sample string 6",
    "EMP_TYPE": "sample string 7",
    "Department_Name": "sample string 8",
    "DI_Code": "sample string 9"
  },
  "TrainingDistrictModel": {
    "DI_Id": 1,
    "DI_District": "sample string 2"
  },
  "GetComplaintDetailsA": {
    "COMPLAINT_INITIATED_BY": "sample string 1",
    "COMPLAINT_TYPE": 2,
    "COMPLAINT_INITIATED_DATE": "2024-12-27T05:55:43.8793407+05:30",
    "COMPLNT_NATURE": "sample string 4",
    "COMPLNT_COMP_ADD": "sample string 5",
    "COMPLNT_COMP_CONTACT": 6,
    "COMPLNT_ADDR_TO": "sample string 7",
    "COMPLNT_DESC": "sample string 8",
    "COMPLNT_REMARKS": "sample string 9",
    "COMPLNT_UPLOAD_PATH": "sample string 10",
    "COMPLNT_COMP_NAME": "sample string 11"
  },
  "GetWitnessDetailsA": {
    "WITNESS_ID": 1,
    "COMPLAINT_ID": 2,
    "Witnessname": "sample string 3",
    "witnessadr": "sample string 4",
    "witnesscontsct": 5,
    "WITNESS_NAME": "sample string 6",
    "WITNESS_ADD": "sample string 7",
    "WITNESS_CONTACT_NO": 8
  },
  "WitnessModel": [
    {
      "WITNESS_ID": 1,
      "COMPLAINT_ID": 2,
      "Witnessname": "sample string 3",
      "witnessadr": "sample string 4",
      "witnesscontsct": 5,
      "WITNESS_NAME": "sample string 6",
      "WITNESS_ADD": "sample string 7",
      "WITNESS_CONTACT_NO": 8
    },
    {
      "WITNESS_ID": 1,
      "COMPLAINT_ID": 2,
      "Witnessname": "sample string 3",
      "witnessadr": "sample string 4",
      "witnesscontsct": 5,
      "WITNESS_NAME": "sample string 6",
      "WITNESS_ADD": "sample string 7",
      "WITNESS_CONTACT_NO": 8
    },
    {
      "WITNESS_ID": 1,
      "COMPLAINT_ID": 2,
      "Witnessname": "sample string 3",
      "witnessadr": "sample string 4",
      "witnesscontsct": 5,
      "WITNESS_NAME": "sample string 6",
      "WITNESS_ADD": "sample string 7",
      "WITNESS_CONTACT_NO": 8
    }
  ]
}

application/xml, text/xml

Sample:
<ComplaintRegisterAuthModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <AUTH_BY>1</AUTH_BY>
  <AUTH_DATE>2024-12-27T05:55:43.8793407+05:30</AUTH_DATE>
  <AUTH_REMARKS>sample string 11</AUTH_REMARKS>
  <COMPLAINT_ID>8</COMPLAINT_ID>
  <COMPLAINT_INITIATED_BY>sample string 25</COMPLAINT_INITIATED_BY>
  <COMPLAINT_INITIATED_DATE>2024-12-27T05:55:43.8793407+05:30</COMPLAINT_INITIATED_DATE>
  <COMPLNT_ADDR_TO>sample string 21</COMPLNT_ADDR_TO>
  <COMPLNT_COMP_ADD>sample string 24</COMPLNT_COMP_ADD>
  <COMPLNT_COMP_CONTACT>27</COMPLNT_COMP_CONTACT>
  <COMPLNT_COMP_NAME>sample string 22</COMPLNT_COMP_NAME>
  <COMPLNT_DESC>sample string 19</COMPLNT_DESC>
  <COMPLNT_NATURE>sample string 14</COMPLNT_NATURE>
  <COMPLNT_REMARKS>sample string 20</COMPLNT_REMARKS>
  <COMPLNT_UPLOAD_PATH>sample string 29</COMPLNT_UPLOAD_PATH>
  <Comp_DocPath>sample string 28</Comp_DocPath>
  <DGO_NAME>sample string 12</DGO_NAME>
  <DI_District>sample string 4</DI_District>
  <DOC_CODE>sample string 2</DOC_CODE>
  <DOC_DATE>2024-12-27T05:55:43.8793407+05:30</DOC_DATE>
  <DOC_STATUS>sample string 17</DOC_STATUS>
  <Department_Name>sample string 5</Department_Name>
  <DivisionId>13</DivisionId>
  <Doc_Year>6</Doc_Year>
  <EMP_DIVISION_ID>1</EMP_DIVISION_ID>
  <EMP_EMPLOYEE_CODE>sample string 26</EMP_EMPLOYEE_CODE>
  <EMP_EMPLOYEE_ID>18</EMP_EMPLOYEE_ID>
  <EMP_FIRST_NAME>sample string 23</EMP_FIRST_NAME>
  <EMP_ID>16</EMP_ID>
  <EmpID>15</EmpID>
  <GetComplaintDetailsA>
    <COMPLAINT_INITIATED_BY>sample string 1</COMPLAINT_INITIATED_BY>
    <COMPLAINT_INITIATED_DATE>2024-12-27T05:55:43.8793407+05:30</COMPLAINT_INITIATED_DATE>
    <COMPLAINT_TYPE>2</COMPLAINT_TYPE>
    <COMPLNT_ADDR_TO>sample string 7</COMPLNT_ADDR_TO>
    <COMPLNT_COMP_ADD>sample string 5</COMPLNT_COMP_ADD>
    <COMPLNT_COMP_CONTACT>6</COMPLNT_COMP_CONTACT>
    <COMPLNT_COMP_NAME>sample string 11</COMPLNT_COMP_NAME>
    <COMPLNT_DESC>sample string 8</COMPLNT_DESC>
    <COMPLNT_NATURE>sample string 4</COMPLNT_NATURE>
    <COMPLNT_REMARKS>sample string 9</COMPLNT_REMARKS>
    <COMPLNT_UPLOAD_PATH>sample string 10</COMPLNT_UPLOAD_PATH>
  </GetComplaintDetailsA>
  <GetEmployeeCompA>
    <DI_Code>sample string 9</DI_Code>
    <DI_District>sample string 3</DI_District>
    <Department_Name>sample string 8</Department_Name>
    <EMP_CATEGORY>sample string 5</EMP_CATEGORY>
    <EMP_EMPLOYEE_CODE>sample string 2</EMP_EMPLOYEE_CODE>
    <EMP_EMPLOYEE_ID>1</EMP_EMPLOYEE_ID>
    <EMP_FIRST_NAME>sample string 1</EMP_FIRST_NAME>
    <EMP_GROUP>sample string 6</EMP_GROUP>
    <EMP_TYPE>sample string 7</EMP_TYPE>
    <desg_name>sample string 4</desg_name>
  </GetEmployeeCompA>
  <GetWitnessDetailsA>
    <COMPLAINT_ID>2</COMPLAINT_ID>
    <WITNESS_ADD>sample string 7</WITNESS_ADD>
    <WITNESS_CONTACT_NO>8</WITNESS_CONTACT_NO>
    <WITNESS_ID>1</WITNESS_ID>
    <WITNESS_NAME>sample string 6</WITNESS_NAME>
    <Witnessname>sample string 3</Witnessname>
    <witnessadr>sample string 4</witnessadr>
    <witnesscontsct>5</witnesscontsct>
  </GetWitnessDetailsA>
  <MODIFIED_BY>1</MODIFIED_BY>
  <MODIFIED_DATE>2024-12-27T05:55:43.8793407+05:30</MODIFIED_DATE>
  <SANCTIONED_BY>1</SANCTIONED_BY>
  <SANCTIONED_DATE>2024-12-27T05:55:43.8793407+05:30</SANCTIONED_DATE>
  <TrainingDistrictModel>
    <DI_District>sample string 2</DI_District>
    <DI_Id>1</DI_Id>
  </TrainingDistrictModel>
  <WitnessModel>
    <WitnessModel>
      <COMPLAINT_ID>2</COMPLAINT_ID>
      <WITNESS_ADD>sample string 7</WITNESS_ADD>
      <WITNESS_CONTACT_NO>8</WITNESS_CONTACT_NO>
      <WITNESS_ID>1</WITNESS_ID>
      <WITNESS_NAME>sample string 6</WITNESS_NAME>
      <Witnessname>sample string 3</Witnessname>
      <witnessadr>sample string 4</witnessadr>
      <witnesscontsct>5</witnesscontsct>
    </WitnessModel>
    <WitnessModel>
      <COMPLAINT_ID>2</COMPLAINT_ID>
      <WITNESS_ADD>sample string 7</WITNESS_ADD>
      <WITNESS_CONTACT_NO>8</WITNESS_CONTACT_NO>
      <WITNESS_ID>1</WITNESS_ID>
      <WITNESS_NAME>sample string 6</WITNESS_NAME>
      <Witnessname>sample string 3</Witnessname>
      <witnessadr>sample string 4</witnessadr>
      <witnesscontsct>5</witnesscontsct>
    </WitnessModel>
    <WitnessModel>
      <COMPLAINT_ID>2</COMPLAINT_ID>
      <WITNESS_ADD>sample string 7</WITNESS_ADD>
      <WITNESS_CONTACT_NO>8</WITNESS_CONTACT_NO>
      <WITNESS_ID>1</WITNESS_ID>
      <WITNESS_NAME>sample string 6</WITNESS_NAME>
      <Witnessname>sample string 3</Witnessname>
      <witnessadr>sample string 4</witnessadr>
      <witnesscontsct>5</witnesscontsct>
    </WitnessModel>
  </WitnessModel>
  <code_value>sample string 3</code_value>
</ComplaintRegisterAuthModel>

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 'ComplaintRegisterAuthModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.