Payroll - Get validation report
API Url
Use it to get the validation report as JSON or text file
GET
http://localhost:16010/ProMarkREST/web/Payroll/periods/{period_id}/validationReport/{reportId}
Permissions: user
Request headers
| Field | Type | Description |
|---|---|---|
Accept-Languageoptional | String | =en-GB Language use for localization. |
X-Clientoptional | String | =Client type. "Portal""Mobile""Admin" |
X-Roleoptional | Number | ProMark role (1: Employee, 2: User). {12} |
X-WebPart-Idoptional | Number | Unique web-part identifier. |
Path parameters
| Field | Type | Description |
|---|---|---|
| period_id | String | Period id. |
| reportId | String | Period close report id. |
Query parameters
| Field | Type | Description |
|---|---|---|
filteroptional | Number | 1: Show full report 2: Show only errors. Default is 1. |
oneLineEmployeeoptional | Boolean | TRUE if the report will have only one line per employee. Default is FALSE |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |