Schedule

Get service provider availability

get

Retrieves the schedule for a specific service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/service-provider-scheduling/{serviceProviderId}/schedule
200Success

Create service provider schedule

post

Creates a new schedule for a service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
Body
idnumberOptional

The id of the schedule

Example: 1
serviceProviderIdnumberOptional

The id of the service provider

Example: 1
namestringRequired

The name of the schedule

Example: Schedule 1
typestring · enumOptional

The type of the schedule

Example: DAY_WISEPossible values:
defaultbooleanOptional

Whether the schedule is the default schedule

Example: true
disabledbooleanOptional

Whether the schedule is disabled

Example: true
attributesobjectOptional

The attributes of the schedule

Example: {"key":"value"}
undefinedanyRequired
Responses
200Success
application/json
post
/api/service-provider-scheduling/{serviceProviderId}/schedule
200Success

Get service provider schedule by ID

get

Retrieves a specific schedule for a service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
scheduleIdstringRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/service-provider-scheduling/{serviceProviderId}/schedule/{scheduleId}
200Success

Update service provider schedule

put

Updates an existing schedule for a service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
serviceProviderScheduleIdstringRequiredPattern: [^\/#\?]+?
Body
idnumberOptional

The id of the schedule

Example: 1
serviceProviderIdnumberOptional

The id of the service provider

Example: 1
namestringRequired

The name of the schedule

Example: Schedule 1
typestring · enumOptional

The type of the schedule

Example: DAY_WISEPossible values:
defaultbooleanOptional

Whether the schedule is the default schedule

Example: true
disabledbooleanOptional

Whether the schedule is disabled

Example: true
attributesobjectOptional

The attributes of the schedule

Example: {"key":"value"}
undefinedanyRequired
Responses
200Success
application/json
put
/api/service-provider-scheduling/{serviceProviderId}/schedule/{serviceProviderScheduleId}
200Success

Delete service provider schedule

delete

Deletes a specific schedule for a service provider

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
serviceProviderIdstringRequiredPattern: [^\/#\?]+?
serviceProviderScheduleIdstringRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
delete
/api/service-provider-scheduling/{serviceProviderId}/schedule/{serviceProviderScheduleId}
200Success