ProRoster - Revert shift changes

API Url

Use it for reverting shifts

DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/shifts/{id}/changes

Permissions: user

Path parameters

FieldTypeDescription
idString

The Shifts's unique identifier.

Query parameters

FieldTypeDescription
fieldsoptionalString

Comma seperated list of the names of Attributes to delete.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.

Error example when a Plan Demand does not exist :

{
"response": {
"errorCode": ,
"errorMessage": ""
}
}