Transmit
Transmits New Hire report records to the State after validation.
POST NewHireReport/Transmit
Request Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | Guid[] | List of record Ids to be transmitted. |
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
{ "SubmissionId": "31eb9b80-a935-4204-b32c-14db8d99a57e", "RecordIds": [ "2ffde35c-c885-45c6-ab48-424a89c838ed" ]}
Response JSON
{ "StatusCode": 200, "StatusName": "Ok", "StatusMessage": "Successful API call", "SubmissionId": "31eb9b80-a935-4204-b32c-14db8d99a57e", "NHReports": { "SuccessRecords": [ { "Sequence": "1", "RecordId": "2ffde35c-c885-45c6-ab48-424a89c838ed", "RecordStatus": "TRANSMITTED", "EmployeeRecords": [ { "Sequence": "1", "EmployeeUId": "b20c15ce-1ff5-44aa-a470-9876102736e4", "Status": "TRANSMITTED" }, { "Sequence": "2", "EmployeeUId": "6ee31144-c0db-48da-a82b-f798342e6e58", "Status": "TRANSMITTED" } ], "CreatedTs": "8/2/2019 8:36:04 AM", "UpdatedTs": "8/2/2019 9:38:24 AM" } ], "ErrorRecords": null }, "Errors": null}