PUT api/CompDetails/UpdateCMP/{COMPLAINT_ID}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| ComplaintRegisterModel | 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:
{
"DOC_CODE": "sample string 1",
"code_value": "sample string 2",
"Department_Name": "sample string 3",
"EMP_EMPLOYEE_ID": 1,
"COMPLAINT_INITIATED_DATE": "2025-11-24T02:48:25.5446496+05:30",
"COMPLAINT_ID": 1,
"DOC_DATE": "2025-11-24T02:48:25.5446496+05:30",
"Doc_Year": "2025-11-24T02:48:25.5446496+05:30",
"DGO_NAME": "sample string 5",
"DivisionId": 6,
"COMPLNT_NATURE": "sample string 7",
"EmpID": 8,
"DOC_STATUS": "sample string 9",
"COMPLNT_DESC": "sample string 10",
"COMPLNT_REMARKS": "sample string 11",
"COMPLNT_ADDR_TO": "sample string 12",
"COMPLNT_COMP_NAME": "sample string 13",
"EMP_FIRST_NAME": "sample string 14",
"COMPLNT_COMP_ADD": "sample string 15",
"COMPLAINT_INITIATED_BY": "sample string 16",
"EMP_EMPLOYEE_CODE": "sample string 17",
"COMPLNT_COMP_CONTACT": "sample string 18",
"Comp_DocPath": "sample string 19",
"COMPLNT_UPLOAD_PATH": "sample string 20",
"GetEmployeeComp": {
"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"
},
"TrainingDistrictModel": {
"DI_Id": 1,
"DI_District": "sample string 2"
},
"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:
<ComplaintRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
<COMPLAINT_ID>1</COMPLAINT_ID>
<COMPLAINT_INITIATED_BY>sample string 16</COMPLAINT_INITIATED_BY>
<COMPLAINT_INITIATED_DATE>2025-11-24T02:48:25.5446496+05:30</COMPLAINT_INITIATED_DATE>
<COMPLNT_ADDR_TO>sample string 12</COMPLNT_ADDR_TO>
<COMPLNT_COMP_ADD>sample string 15</COMPLNT_COMP_ADD>
<COMPLNT_COMP_CONTACT>sample string 18</COMPLNT_COMP_CONTACT>
<COMPLNT_COMP_NAME>sample string 13</COMPLNT_COMP_NAME>
<COMPLNT_DESC>sample string 10</COMPLNT_DESC>
<COMPLNT_NATURE>sample string 7</COMPLNT_NATURE>
<COMPLNT_REMARKS>sample string 11</COMPLNT_REMARKS>
<COMPLNT_UPLOAD_PATH>sample string 20</COMPLNT_UPLOAD_PATH>
<Comp_DocPath>sample string 19</Comp_DocPath>
<DGO_NAME>sample string 5</DGO_NAME>
<DOC_CODE>sample string 1</DOC_CODE>
<DOC_DATE>2025-11-24T02:48:25.5446496+05:30</DOC_DATE>
<DOC_STATUS>sample string 9</DOC_STATUS>
<Department_Name>sample string 3</Department_Name>
<DivisionId>6</DivisionId>
<Doc_Year>2025-11-24T02:48:25.5446496+05:30</Doc_Year>
<EMP_EMPLOYEE_CODE>sample string 17</EMP_EMPLOYEE_CODE>
<EMP_EMPLOYEE_ID>1</EMP_EMPLOYEE_ID>
<EMP_FIRST_NAME>sample string 14</EMP_FIRST_NAME>
<EmpID>8</EmpID>
<GetEmployeeComp>
<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>
</GetEmployeeComp>
<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 2</code_value>
</ComplaintRegisterModel>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.