Skip to content

TestData_Create

POST
/v1/TestData
curl --request POST \
--url https://rms.dev.caspeco.net/api/booking/v1/TestData \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'system: example' \
--data '{ "companyId": "example", "startTime": "2026-04-15T12:00:00Z", "endTime": "2026-04-15T12:00:00Z", "fillRestaurantWithBookings": 1, "intervalInMinutes": 1, "numberOfBookingsPerInterval": 1, "unitId": 1 }'
system
required
string

The system name / database to query

Media typeapplication/json
object
companyId
string format: guid
startTime
string format: date-time
endTime
string format: date-time
fillRestaurantWithBookings
integer format: int32
intervalInMinutes
integer format: int32
numberOfBookingsPerInterval
integer format: int32
unitId
integer format: int32
Examplegenerated
{
"companyId": "example",
"startTime": "2026-04-15T12:00:00Z",
"endTime": "2026-04-15T12:00:00Z",
"fillRestaurantWithBookings": 1,
"intervalInMinutes": 1,
"numberOfBookingsPerInterval": 1,
"unitId": 1
}
Media typeapplication/json
object
companyId
string format: guid
startTime
string format: date-time
endTime
string format: date-time
fillRestaurantWithBookings
integer format: int32
intervalInMinutes
integer format: int32
numberOfBookingsPerInterval
integer format: int32
unitId
integer format: int32
Examplegenerated
{
"companyId": "example",
"startTime": "2026-04-15T12:00:00Z",
"endTime": "2026-04-15T12:00:00Z",
"fillRestaurantWithBookings": 1,
"intervalInMinutes": 1,
"numberOfBookingsPerInterval": 1,
"unitId": 1
}