Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Add parameter in header x-api-env
Example:x-api-env: ********************
or
Body Params application/json
{
"external_ref": null,
"description": "Activity - Machine",
"code": "",
"resource_type": "machine",
"default_duration": 0,
"day_max_duration": 0,
"billable": false,
"hourly_rate": 0
}
Request Code Samples
curl --location --request PUT 'https://api.vplan.com/v1/activity/ab59295d-72ce-4e8a-bc74-5e6c4caad348' \
--header 'x-api-key: <api-key>' \
--header 'x-api-env: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_ref": null,
"description": "Activity - Machine",
"code": "",
"resource_type": "machine",
"default_duration": 0,
"day_max_duration": 0,
"billable": false,
"hourly_rate": 0
}'
Responses
This response does not have a body.
Modified at 2025-10-30 09:44:22