POST api/HRSaveAccidentResponse

Documentation for 'Post'.

Request Information

Request body formats

application/json, text/json

Sample:
{
  "IsNew": true,
  "ResponseDetails": {
    "X_QUESTION_TEXT": "sample string 1",
    "ORIG_HASH": "sample string 2",
    "COMPANY_CODE": "sample string 3",
    "EMP_NUM": "sample string 4",
    "ACCIDENT_HST_ID": 5,
    "ACCIDENT_QUEST_NUM": 6,
    "ACCIDENT_QUEST_SUB": "sample string 7",
    "ACCIDENT_RESP_CODE": "sample string 8",
    "ACCIDENT_RESPONSE": "sample string 9"
  }
}

Response Information

Response body formats

application/json, text/json

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