Create new yard config
Create a new billing configuration for the specified yard. An error will be returned in the configuration already exists.
Path parameters
-
The ID of the yard
POST
/api/automated-billing/config/yard/{yardId}
curl \
-X POST https://api-dev.gatego.io/api/automated-billing/config/yard/{yardId} \
-H "Content-Type: application/json" \
-d '{"enabled":true}'
Request examples
{
"enabled": true
}
Response examples (200)
{
"id": 1,
"yard_id": 100,
"enabled": true,
"last_modified_at": "2023-04-06T11:25:42Z",
"last_modified_by": "355c30f0-96d2-4dbe-bfe8-f8dd9eb7f778"
}