Add provided service
To add a provided service send a POST request with either ordered_service_uuid
or service
object containing UUID.
Add provided service using ordered_service_uuid
$ curl -X POST \
-H "Authorization: Bearer api-key" \
-H "Content-Type: application/json" \
-d '{"ordered_service_uuid": "cb4b2ede-114f-4c55-9118-0b62f8182403"}' \
https://api.planadoapp.com/v2/jobs/50c773b3-a4f8-5619-be47-cb6a0edb22cc/provided_services | jq
{
"service_uuid": "8070f98d-b3f6-4cc8-b7c4-54b6709cd98b",
"provided_service_uuid": "34b3d97e-b129-4aca-a7ca-999819436465"
}
Request schema
Field | Type | JSON type | Required | Can be null |
Description |
---|---|---|---|---|---|
|
UUID |
String |
No |
No |
Ordered service identifier |
|
Object |
Object |
No |
No |
Service object containing UUID |
Remove provided service
To remove a provided service send a DELETE request with provided_service_uuid.
$ curl -X DELETE \
-H "Authorization: Bearer api-key" \
https://api.planadoapp.com/v2/jobs/50c773b3-a4f8-5619-be47-cb6a0edb22cc/provided_services/cb4b2ede-114f-4c55-9118-0b62f8182403 | jq
{
"message": "Performed"
}