POST onlinebooking/pre-confirm-cancel

Request Information

URI Parameters

None.

Body Parameters

ObPossibleTimeModel
NameDescriptionTypeAdditional information
StartDate

date

None.

LocationId

integer

None.

LocationName

string

None.

Appointments

Collection of ObAppointmentModel

None.

TotalPrice

decimal number

None.

TotalDuration

integer

None.

HeldUntil

date

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2026-01-01T14:21:04.0983383+00:00",
  "locationId": 2,
  "locationName": "sample string 3",
  "appointments": [
    {
      "appointmentId": 1,
      "employeeId": 1,
      "employeeName": "sample string 2",
      "serviceName": "sample string 3",
      "duration": 4,
      "servicePrice": 5.0,
      "serviceId": 6,
      "endDate": "2026-01-01T14:21:04.0983383+00:00",
      "waitTime": 8,
      "resourceId": 1,
      "taxRateId": 9,
      "taxRate": 10.0,
      "tax": {},
      "startDate": "2026-01-01T14:21:04.0983383+00:00",
      "skinTestRequired": true,
      "depositRequired": true
    },
    {
      "appointmentId": 1,
      "employeeId": 1,
      "employeeName": "sample string 2",
      "serviceName": "sample string 3",
      "duration": 4,
      "servicePrice": 5.0,
      "serviceId": 6,
      "endDate": "2026-01-01T14:21:04.0983383+00:00",
      "waitTime": 8,
      "resourceId": 1,
      "taxRateId": 9,
      "taxRate": 10.0,
      "tax": {},
      "startDate": "2026-01-01T14:21:04.0983383+00:00",
      "skinTestRequired": true,
      "depositRequired": true
    }
  ],
  "totalPrice": 4.0,
  "totalDuration": 5,
  "heldUntil": "2026-01-01T14:21:04.0983383+00:00"
}

application/xml, text/xml

Sample:
<ObPossibleTimeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalonPartner.Models.OnlineBooking">
  <Appointments>
    <ObAppointmentModel>
      <AppointmentId>1</AppointmentId>
      <DepositRequired>true</DepositRequired>
      <Duration>4</Duration>
      <EmployeeId>1</EmployeeId>
      <EmployeeName>sample string 2</EmployeeName>
      <EndDate>2026-01-01T14:21:04.0983383+00:00</EndDate>
      <ResourceId>1</ResourceId>
      <ServiceId>6</ServiceId>
      <ServiceName>sample string 3</ServiceName>
      <ServicePrice>5</ServicePrice>
      <SkinTestRequired>true</SkinTestRequired>
      <StartDate>2026-01-01T14:21:04.0983383+00:00</StartDate>
      <Tax />
      <TaxRate>10</TaxRate>
      <TaxRateId>9</TaxRateId>
      <WaitTime>8</WaitTime>
    </ObAppointmentModel>
    <ObAppointmentModel>
      <AppointmentId>1</AppointmentId>
      <DepositRequired>true</DepositRequired>
      <Duration>4</Duration>
      <EmployeeId>1</EmployeeId>
      <EmployeeName>sample string 2</EmployeeName>
      <EndDate>2026-01-01T14:21:04.0983383+00:00</EndDate>
      <ResourceId>1</ResourceId>
      <ServiceId>6</ServiceId>
      <ServiceName>sample string 3</ServiceName>
      <ServicePrice>5</ServicePrice>
      <SkinTestRequired>true</SkinTestRequired>
      <StartDate>2026-01-01T14:21:04.0983383+00:00</StartDate>
      <Tax />
      <TaxRate>10</TaxRate>
      <TaxRateId>9</TaxRateId>
      <WaitTime>8</WaitTime>
    </ObAppointmentModel>
  </Appointments>
  <HeldUntil>2026-01-01T14:21:04.0983383+00:00</HeldUntil>
  <LocationId>2</LocationId>
  <LocationName>sample string 3</LocationName>
  <StartDate>2026-01-01T14:21:04.0983383+00:00</StartDate>
  <TotalDuration>5</TotalDuration>
  <TotalPrice>4</TotalPrice>
</ObPossibleTimeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.