POST api/Appointments

Request Information

URI Parameters

None.

Body Parameters

NewAppointmentModel
NameDescriptionTypeAdditional information
UnitId

string

None.

Nationality

string

None.

LeaseType

string

None.

NoOfOccupantAdult

integer

None.

NoOfOccupantChild

integer

None.

Industry

string

None.

Occupation

string

None.

DateMoveInEstimated

date

None.

DateAppointmentStart

date

None.

DateAppointmentEnd

date

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitId": "sample string 1",
  "Nationality": "sample string 2",
  "LeaseType": "sample string 3",
  "NoOfOccupantAdult": 1,
  "NoOfOccupantChild": 1,
  "Industry": "sample string 4",
  "Occupation": "sample string 5",
  "DateMoveInEstimated": "2024-09-28T11:14:33.9618963+08:00",
  "DateAppointmentStart": "2024-09-28T11:14:33.9618963+08:00",
  "DateAppointmentEnd": "2024-09-28T11:14:33.9618963+08:00",
  "Type": "sample string 8"
}

application/xml, text/xml

Sample:
<NewAppointmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <DateAppointmentEnd>2024-09-28T11:14:33.9618963+08:00</DateAppointmentEnd>
  <DateAppointmentStart>2024-09-28T11:14:33.9618963+08:00</DateAppointmentStart>
  <DateMoveInEstimated>2024-09-28T11:14:33.9618963+08:00</DateMoveInEstimated>
  <Industry>sample string 4</Industry>
  <LeaseType>sample string 3</LeaseType>
  <Nationality>sample string 2</Nationality>
  <NoOfOccupantAdult>1</NoOfOccupantAdult>
  <NoOfOccupantChild>1</NoOfOccupantChild>
  <Occupation>sample string 5</Occupation>
  <Type>sample string 8</Type>
  <UnitId>sample string 1</UnitId>
</NewAppointmentModel>

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.