Get Cost Rate
Retrieve a single cost rate by UUID within the current mandant. The response returns the cost rate’s name, description, currency, and automatic stop configuration.
Request
Method:
GETPath:
/api/dynamic_pricing/cost_rate/{uuid}
Path parameters
Name |
Type |
Description |
|---|---|---|
uuid |
string |
Cost rate UUID to fetch. |
Example request
curl --location --request GET 'https://example.beenergised.cloud/api/dynamic_pricing/cost_rate/<COST_RATE_UUID>' \
--header 'x-api-token: <your_token>'
Response (200)
{
"data": {
"uuid": "<COST_RATE_UUID>",
"name": "My cost rate",
"description": "Optional description",
"currency": "EUR",
"auto_stop_minutes": 120,
"auto_stop_costs": 25.5
}
}
Error responses
500: Generic server error.
{
"status": "error",
"message": "Internal Server Error"
}