ProRoster - Change time queue

API Url

Use it for changing time queue from ProRoster

POST
http://localhost:16010/ProMarkREST/rest/ProRoster/employees/{id}/time-queues

Permissions: user

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

  dataObject

Object containg data to be uploaded.

    timeQueuesObject[]

List of demands.

      fromDate

Starting date of the change.

      toDate

Ending date of the change.

      typeNumber

The type of the time queue entry.

      valueString

The Id of the time queue entry.

Success example:

HTTP/1.1 200 OK
{
{
"response": {
"errorCode": 0,
"errorMessage": ""
}
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.