POST api/GrievanceRequest

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SL_ID": 1,
  "GRIEVANCE_ID": 1,
  "GRIEVANCE_CODE": "sample string 2",
  "CREATE_DATE": "2025-01-11T12:54:11.5720847+03:00",
  "CLOSE_DATE": "2025-01-11T12:54:11.5720847+03:00",
  "EMP_ID": 1,
  "FIRST_NAME": "sample string 3",
  "LAST_NAME": "sample string 4",
  "EMP_COMMENTS": "sample string 5",
  "HR_COMMENTS": "sample string 6",
  "ADDITIONAL_COMMENTS": "sample string 7",
  "IS_RESOLVED": true,
  "STATUS_ID": 1,
  "STATUS_NAME": "sample string 8",
  "GRIEVANCE_FILE": "sample string 9",
  "RES_STATUS": "sample string 10",
  "FILE_NO": 1,
  "APPROVER_ID": 1,
  "APPROVER_COMMENTS": "sample string 11",
  "APPROVER_STATUS": 1,
  "APPROVER_TYPE": "sample string 12",
  "IMG_FILE": "sample string 13",
  "AUD_FILE": "sample string 14"
}

application/xml, text/xml

Sample:
<GrievanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.MyGrievances">
  <ADDITIONAL_COMMENTS>sample string 7</ADDITIONAL_COMMENTS>
  <APPROVER_COMMENTS>sample string 11</APPROVER_COMMENTS>
  <APPROVER_ID>1</APPROVER_ID>
  <APPROVER_STATUS>1</APPROVER_STATUS>
  <APPROVER_TYPE>sample string 12</APPROVER_TYPE>
  <AUD_FILE>sample string 14</AUD_FILE>
  <CLOSE_DATE>2025-01-11T12:54:11.5720847+03:00</CLOSE_DATE>
  <CREATE_DATE>2025-01-11T12:54:11.5720847+03:00</CREATE_DATE>
  <EMP_COMMENTS>sample string 5</EMP_COMMENTS>
  <EMP_ID>1</EMP_ID>
  <FILE_NO>1</FILE_NO>
  <FIRST_NAME>sample string 3</FIRST_NAME>
  <GRIEVANCE_CODE>sample string 2</GRIEVANCE_CODE>
  <GRIEVANCE_FILE>sample string 9</GRIEVANCE_FILE>
  <GRIEVANCE_ID>1</GRIEVANCE_ID>
  <HR_COMMENTS>sample string 6</HR_COMMENTS>
  <IMG_FILE>sample string 13</IMG_FILE>
  <IS_RESOLVED>true</IS_RESOLVED>
  <LAST_NAME>sample string 4</LAST_NAME>
  <RES_STATUS>sample string 10</RES_STATUS>
  <SL_ID>1</SL_ID>
  <STATUS_ID>1</STATUS_ID>
  <STATUS_NAME>sample string 8</STATUS_NAME>
</GrievanceRequest>

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