POST api/HRSaveGrievance

Documentation for 'Post'.

Request Information

Request body formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "GrievanceDetails": {
    "COMPANY_CODE": "sample string 1",
    "EMP_NUM": "sample string 2",
    "GRIEVANCE_ID": 3,
    "GRIEVANCE_DATE": "2024-09-19T04:54:06.0516697-07:00",
    "GRIEVANCE_DESC": "sample string 5",
    "GRIEVANCE_RESP_DATE": "2024-09-19T04:54:06.0516697-07:00",
    "GRIEVANCE_RESP_DESC": "sample string 6",
    "GRIEVANCE_RES_DATE": "2024-09-19T04:54:06.0516697-07:00",
    "GRIEVANCE_RES": "sample string 7",
    "INS_USER": "sample string 8",
    "INS_DATE": "2024-09-19T04:54:06.0516697-07:00",
    "UPD_USER": "sample string 10",
    "UPD_DATE": "2024-09-19T04:54:06.0516697-07:00",
    "CustomFieldList": [
      {
        "EntityName": "sample string 1",
        "FieldName": "sample string 2",
        "Value": "sample string 3",
        "Label": "sample string 4",
        "FieldType": "sample string 5"
      },
      {
        "EntityName": "sample string 1",
        "FieldName": "sample string 2",
        "Value": "sample string 3",
        "Label": "sample string 4",
        "FieldType": "sample string 5"
      },
      {
        "EntityName": "sample string 1",
        "FieldName": "sample string 2",
        "Value": "sample string 3",
        "Label": "sample string 4",
        "FieldType": "sample string 5"
      }
    ],
    "ORIG_HASH": "sample string 12"
  }
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "GrievanceID": 1,
  "ApiResult": {
    "Success": true,
    "Warnings": true,
    "Description": "sample string 3",
    "WarningMessages": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "NotificationErrorMessages": "sample string 4"
  }
}