General - Delete a day template

API Url

Use it to delete a day template

DELETE
http://localhost:16010/ProMarkREST/web/General/day-templates/{id}

Permissions: user

Path parameters

FieldTypeDescription
idNumber

Day template id.

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 day template does not exist :

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