VendorServiceStaffApi
All URIs are relative to https://business.apis.kesk.app/v1Â
| Method | HTTP request | Description |
|---|---|---|
| addStaffBreak | POST /vendors/{vendor_id}/service-staff/{staff_id}/breaks | |
| addStaffTimeOff | POST /vendors/{vendor_id}/service-staff/{staff_id}/time-off | |
| assignServiceToStaff | POST /vendors/{vendor_id}/service-staff/{staff_id}/services | |
| assignStaffLocations | POST /vendors/{vendor_id}/service-staff/{staff_id}/locations | |
| createServiceStaff | POST /vendors/{vendor_id}/service-staff | |
| deleteServiceStaff | DELETE /vendors/{vendor_id}/service-staff/{staff_id} | |
| getServiceStaff | GET /vendors/{vendor_id}/service-staff/{staff_id} | |
| getStaffSchedule | GET /vendors/{vendor_id}/service-staff/{staff_id}/schedule | |
| listServiceStaff | GET /vendors/{vendor_id}/service-staff | |
| setStaffSchedule | POST /vendors/{vendor_id}/service-staff/{staff_id}/schedule | |
| unassignServiceFromStaff | DELETE /vendors/{vendor_id}/service-staff/{staff_id}/services/{service_id} | |
| unassignStaffLocation | DELETE /vendors/{vendor_id}/service-staff/{staff_id}/locations/{location_id} | |
| updateServiceStaff | PUT /vendors/{vendor_id}/service-staff/{staff_id} |
addStaffBreak
MessageResponse addStaffBreak(vendor_id, staff_id, StaffBreakRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| StaffBreakRequest | StaffBreakRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
addStaffTimeOff
MessageResponse addStaffTimeOff(vendor_id, staff_id, StaffTimeOffRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| StaffTimeOffRequest | StaffTimeOffRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
assignServiceToStaff
MessageResponse assignServiceToStaff(vendor_id, staff_id, AssignServiceRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| AssignServiceRequest | AssignServiceRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
assignStaffLocations
MessageResponse assignStaffLocations(vendor_id, staff_id, AssignStaffLocationsRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| AssignStaffLocationsRequest | AssignStaffLocationsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
createServiceStaff
VendorServiceStaffResponse createServiceStaff(vendor_id, VendorServiceStaffRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| VendorServiceStaffRequest | VendorServiceStaffRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
deleteServiceStaff
MessageResponse deleteServiceStaff(vendor_id, staff_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getServiceStaff
VendorServiceStaffResponse getServiceStaff(vendor_id, staff_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
getStaffSchedule
List getStaffSchedule(vendor_id, staff_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
listServiceStaff
List listServiceStaff(vendor_id, is_active, location_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| is_active | Boolean | [optional] [default to null] | |
| location_id | Long | [optional] [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
setStaffSchedule
List setStaffSchedule(vendor_id, staff_id, StaffScheduleRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| StaffScheduleRequest | List |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8
unassignServiceFromStaff
MessageResponse unassignServiceFromStaff(vendor_id, staff_id, service_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| service_id | Integer | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
unassignStaffLocation
MessageResponse unassignStaffLocation(vendor_id, staff_id, location_id)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| location_id | Long | [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
updateServiceStaff
VendorServiceStaffResponse updateServiceStaff(vendor_id, staff_id, VendorServiceStaffRequest)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vendor_id | Long | [default to null] | |
| staff_id | Integer | [default to null] | |
| VendorServiceStaffRequest | VendorServiceStaffRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json; charset=utf-8
- Accept: application/json; charset=utf-8