ProRoster - Unman a demand

API Url

Use it for un-manning a demand, regardless if it's published or not.

DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/assigned-demands/{id}

Permissions: user

Path parameters

FieldTypeDescription
idNumber

The unique identifier of the assigned demand.

revertoptionallogical

If true then revert the plan demand.

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 the demand does not exist :

{
"response": {
"errorCode": 1,
"errorMessage": "The selected demand does not exist."
}
}