ProRoster - Delete availability.

API Url

Use it for delete an availability

DELETE
http://localhost:16010/ProMarkREST/rest/ProRoster/availabilities/{objectID}?choice=choice

Permissions: user

Path parameters

FieldTypeDescription
objectIdoptionalString

The id of the availability.

Query parameters

FieldTypeDescription
choiceoptionalNumber

If choice = 1 then it will be deleted only that date. If choice = 2 then it will be deleted the period starting with the given date.

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.