Status
Gets the status of the New Hire report records by Submission Id and Record Ids.
GET NewHireReport/Status
Request Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | Guid[] | List of record Ids to get status. |
Response Body
Field | Type | Description |
---|---|---|
StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
StatusName | string | Name of the status code. |
StatusMessage | string | Detailed status message. |
SubmissionId | Guid | Unique identifier of a submission. |
NHReports | object | Pulls the New Hire report records with Success and Error statuses. |
  SuccessRecords | object[] | It will show the detailed information about the success status of New Hire Report Records. |
    Sequence | string | A unique number given by an inbound application to identify failed records. |
    RecordId | Guid | Unique identifier of a record. |
    RecordStatus | string | Returns the status of the records. |
    CreatedTs | DateTime | Date and time of return created. |
    UpdatedTs | DateTime | Date and time of return updated. |
  ErrorRecords | object[] | It will show the detailed information about the error status of New Hire Report Records. |
    Sequence | string | A unique number given by an inbound application to identify failed records. |
    RecordId | Guid | Unique identifier of a record. |
    Errors | object[] | Shows detailed error information. |
      Code | string | Returns the validation error code. |
      Name | string | Name of the validation error. |
      Message | string | Description of the validation error. |
      Type | string | Type of validation error. |
Request JSON
{ "SubmissionId": "f1ed3955-1b64-408c-a730-9008a192db3f", "RecordIds": [ "1ea1e55c-7175-4539-882b-f856edab1b69" ]}
Response JSON
{ "StatusCode": 200, "StatusName": "Ok", "StatusMessage": "Successful API call", "SubmissionId": "f1ed3955-1b64-408c-a730-9008a192db3f", "NHReports": { "SuccessRecords": [ { "Sequence": "1", "RecordId": "1ea1e55c-7175-4539-882b-f856edab1b69", "RecordStatus": "Transmitted", "CreatedTs": "2019-07-26 07:51:16 -04:00", "UpdatedTs": "2019-07-26 08:14:11 -04:00" } ], "ErrorRecords": null }, "Errors": null}