Skip to content

Update Planned Time Off

Request

Replaces the allocations on an existing planned time off entry.

Security
ApiKey
Path
idstring, (uuid)required

ID of the resource

Body
allocationsArray of objects(TimeOffAllocation)required

The list of date and hours allocations for this time off.

curl -i -X PATCH \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/planned-time-off/{id}' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "allocations": [
      {
        "date": "2019-08-24",
        "hours": 0.1
      }
    ]
  }'

Responses

OK

Response
No content