General - regret holiday transfer

API Url

Used for deleting(regret) holiday transfer registration.

DELETE
http://localhost:16010/ProMarkREST/rest/General/employees/{empId}/holidays/transfers

Permissions: user

Path parameters

FieldTypeDescription
empIdString

Employee identifier

idString

Holiday transfer registration identifier

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Success example

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

Error example:

{
"response": {
"errorMessage": "Cannot regret transfer!",
"errorCode": 1
}
}