Payroll - remove employee validation

API Url

Use it to remove validation from employees

PUT
http://localhost:16010/ProMarkREST/web/Payroll/periods/{period_id}/validations/remove?all=false/true

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

ID of the period profile

Query parameters

FieldTypeDescription
alloptionalBoolean

TRUE if all validated employees under period id should be un-validated

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    employeesObject
      empIdString

Employee Id that is to be unvalidated

Request example:

{
"request": {
"data": {
"employees": [
{
"empId": "EMP-01"
},
{
"empId": "EMP-02"
}
]
}
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.