- General
- Endpoints
- Base Data
- Card Data
- Order Data
- Webhook
- Payload send to webhook url
Update Single Schedule Deviation
PUT
/resource/{resource_id}/schedule_deviation/{schedule_deviation_id}
Schedule
Request
Path Params
resource_id
string <uuid>
required
schedule_deviation_id
string <uuid>
required
Header Params
x-api-key
string
required
Default:
{{x-api-key}}
x-api-env
string
required
Default:
{{x-api-env}}
Body Params application/json
description
string
optional
type
enum<string>
optional
Allowed values:
othereventtravelholidayleavepartymaintenancemalfunction
start_date
string <date>
optional
end_date
string <date>
optional
time
integer | null
optional
external_ref
null
optional
Example
{
"description": "string",
"type": "other",
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"time": 0,
"external_ref": null
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.vplan.com/v1/resource//schedule_deviation/' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "string",
"type": "other",
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"time": 0,
"external_ref": null
}'
Responses
🟢204No Content
This response does not have a body.
🟠404Not Found
🟠401Not Logged In