POST api/Appointment/RegisterAppointment

Request Information

URI Parameters

None.

Body Parameters

AppointmentRequest
NameDescriptionTypeAdditional information
startDateTime

string

None.

notes

string

None.

employeeId

integer

None.

serviceTime

integer

None.

AppointmentServices

Collection of AppointmentSerice

None.

userId

integer

None.

SubsidiaryID

integer

None.

Domain

string

None.

StoreId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "startDateTime": "sample string 1",
  "notes": "sample string 2",
  "employeeId": 3,
  "serviceTime": 4,
  "AppointmentServices": [
    {
      "serviceID": 1
    },
    {
      "serviceID": 1
    }
  ],
  "userId": 5,
  "SubsidiaryID": 6,
  "Domain": "sample string 7",
  "StoreId": 8
}

text/html, multipart/form-data

Sample:
{"startDateTime":"sample string 1","notes":"sample string 2","employeeId":3,"serviceTime":4,"AppointmentServices":[{"serviceID":1},{"serviceID":1}],"userId":5,"SubsidiaryID":6,"Domain":"sample string 7","StoreId":8}

application/xml, text/xml

Sample:
<AppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.SalonAppointment">
  <Domain>sample string 7</Domain>
  <StoreId>8</StoreId>
  <SubsidiaryID>6</SubsidiaryID>
  <userId>5</userId>
  <AppointmentServices>
    <AppointmentSerice>
      <serviceID>1</serviceID>
    </AppointmentSerice>
    <AppointmentSerice>
      <serviceID>1</serviceID>
    </AppointmentSerice>
  </AppointmentServices>
  <employeeId>3</employeeId>
  <notes>sample string 2</notes>
  <serviceTime>4</serviceTime>
  <startDateTime>sample string 1</startDateTime>
</AppointmentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.