POST api/booking/create
Create Appointment
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
None.
Body Parameters
Appointment info
BookingInfoName | Description | Type | Additional information |
---|---|---|---|
CompanyId | integer |
None. |
|
SalesPersonId | integer |
None. |
|
SalesPersonName | string |
None. |
|
Status | BookingStatus |
None. |
|
RetentionTypeId | integer |
None. |
|
EmployeeId | integer |
None. |
|
EmployeesId | Collection of integer |
None. |
|
Date | date |
None. |
|
EndDate | date |
None. |
|
ServiceId | integer |
None. |
|
ResourceId | integer |
None. |
|
AdditionalTimeTypeId | integer |
None. |
|
AdditionalTimeValue | integer |
None. |
|
CustomerId | integer |
None. |
|
Notes | string |
None. |
|
IsReccuring | boolean |
None. |
|
ReccuringPeriod | integer |
None. |
|
BookMore | boolean |
None. |
|
BookMoreHeaderId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyId": 1, "SalesPersonId": 2, "SalesPersonName": "sample string 3", "Status": 0, "RetentionTypeId": 1, "EmployeeId": 1, "EmployeesId": [ 1, 2 ], "Date": "2025-04-03T04:17:27.7630402-04:00", "EndDate": "2025-04-03T04:17:27.7630402-04:00", "ServiceId": 1, "ResourceId": 1, "AdditionalTimeTypeId": 1, "AdditionalTimeValue": 1, "CustomerId": 1, "Notes": "sample string 5", "IsReccuring": true, "ReccuringPeriod": 1, "BookMore": true, "BookMoreHeaderId": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |