POST onlinebooking/times
Request Information
URI Parameters
None.
Body Parameters
ObServiceBookingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | date |
None. |
|
| Services | Collection of ObServiceRequestModel |
None. |
|
| LocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"date": "2026-01-01T14:19:20.8556995+00:00",
"services": [
{
"serviceId": 1,
"employees": [
1,
2
]
},
{
"serviceId": 1,
"employees": [
1,
2
]
}
],
"locationId": 2
}
application/xml, text/xml
Sample:
<ObServiceBookingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalonPartner.Models.OnlineBooking">
<Date>2026-01-01T14:19:20.8556995+00:00</Date>
<LocationId>2</LocationId>
<Services>
<ObServiceRequestModel>
<Employees xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</Employees>
<ServiceId>1</ServiceId>
</ObServiceRequestModel>
<ObServiceRequestModel>
<Employees xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</Employees>
<ServiceId>1</ServiceId>
</ObServiceRequestModel>
</Services>
</ObServiceBookingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.