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

FieldTypeDescription
Accept-LanguageoptionalString

=en-GB Language use for localization.

X-ClientoptionalString

=Client type.

Allowed values:"Portal""Mobile""Admin"
X-RoleoptionalNumber

ProMark role (1: Employee, 2: User).

Allowed values:{12}
X-WebPart-IdoptionalNumber

Unique web-part identifier.

Path parameters

FieldTypeDescription
period_idString

Period id.

reportIdString

Period close report id.

Query parameters

FieldTypeDescription
filteroptionalNumber

1: Show full report 2: Show only errors. Default is 1.

oneLineEmployeeoptionalBoolean

TRUE if the report will have only one line per employee. Default is FALSE

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.