Validate class slot is bookable for trial offers

Required Scopes: TRIAL_OFFER_READ

Validate class slot for trial offers is available to book for given customer

SecurityApiKeyAuth
Request
Request Body schema: application/json
required
customerId
required
integer <int64>

Unique ID of the customer

classSlotId
required
integer <int64>

Unique ID of the class slot

Responses
200

OK

400

Validation of the request failed.

401

Authentication failed. No api-key, wrong api-key or wrong header name.

403

Authorization failed. The caller has no privilege to the given resource.

404

Entity does not exists.

409

Conflict

429

Access denied - rate limit is exceeded.

500

Unexpected system error.

post/v1/trial-offers/classes/booking/validate
Request samples
application/json
{
  • "customerId": 203,
  • "classSlotId": 20334
}
Response samples
application/json
{
  • "validationStatus": "AVAILABLE"
}