Delete
Deletes New Hire report records by Submission Id and Record Ids.
DELETE NewHireReport/Delete
Request Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | string | List of record Ids to be deleted. |
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. |
EmployeeRecords | string | Return status details like Created, Transmitted, Accepted, Rejected. |
Sequence | string | A unique number given by an inbound application to identify failed records. |
EmployeeUId | Guid | Unique identifier of an Employee. |
Status | string | Returns the status of the Employee details. |
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. |
EmployeeErrorRecords | object[] | Return status details like Created, Transmitted, Accepted, Rejected. |
Sequence | string | A unique number given by an inbound application to identify failed records. |
EmployeeUId | Guid | Client Record Identifier. |
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. |
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
NewHireReport/Delete?SubmissionId=1d87b4c6-284c-4a66-bb37-ec41d73e5d6c&RecordIds=d0cbbc56-ba8d-4457-b938-a2bedde75daf
Response JSON
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "1d87b4c6-284c-4a66-bb37-ec41d73e5d6c",
"NHReports": {
"SuccessRecords": [
{
"Sequence": "1",
"RecordId": "d0cbbc56-ba8d-4457-b938-a2bedde75daf",
"RecordStatus": "DELETED",
"EmployeeRecords": [
{
"Sequence": "1",
"EmployeeUId": "3b1ab99c-f358-490b-ae3d-3167ab035b16",
"Status": "Success"
}
],
"CreatedTs": "7/26/2019 9:16:48 AM",
"UpdatedTs": "7/26/2019 9:31:21 AM"
}
],
"ErrorRecords": null
},
"Errors": null
}