Skip to main content
POST
Assign services to a barber

Path Parameters

barberId
string
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Body

application/json

Properties for assigning services to a barber.

services
object[]
required

The services to assign to the barber.

Required array length: 1 - 25 elements

Response

Ok. The operation succeeded.

Result of assigning services to a barber.

successCount
integer<int32>
required

The number of services successfully assigned.

Example:

3

failureCount
integer<int32>
required

The number of services that failed to be assigned.

Example:

1

successes
object[]
required

The services that were successfully assigned.

Maximum array length: 25
Example:
assigned
object[]
required

The barber service assignments that were created.

Maximum array length: 25
Example:
failures
object[]
required

Details of services that failed to be assigned.

Maximum array length: 25
Example: