Developers
API ReferenceVacation Comment

Creates a VacationComment resource.

POST
/calendar/vacation-comments

Creates a VacationComment resource.

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new VacationComment resource

TypeScript Definitions

Use the request body type in TypeScript.

vacation*string
Formatuuid
content*|
Lengthlength <= 5000

Response Body

curl -X POST "https://example.com/calendar/vacation-comments" \  -H "Content-Type: application/json" \  -d '{    "vacation": "887294f6-09ac-4c79-af4e-32f4f686ce44",    "content": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "content": "string",  "calendarUser": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "shortCode": "string",    "firstName": "string",    "lastName": "string",    "email": "string",    "phoneNumber": "string",    "pictureSm": "string",    "pictureLg": "string",    "canLogIn": true,    "isExternal": true,    "contractorId": "8e641c22-41f4-4818-ae43-d2cb9b53e3d7",    "contractorName": "string",    "jobPositionName": "string",    "decorator": "string"  },  "createdAt": "2019-08-24T14:15:22Z"}