POST api/appointments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

EditAppointmentDTO
NameDescriptionTypeAdditional information
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:
{
  "Nationality": "sample string 1",
  "LeaseType": "sample string 2",
  "NoOfOccupantAdult": 1,
  "NoOfOccupantChild": 1,
  "Industry": "sample string 3",
  "Occupation": "sample string 4",
  "DateMoveInEstimated": "2024-11-28T01:40:39.0543658+08:00",
  "DateAppointmentStart": "2024-11-28T01:40:39.0543658+08:00",
  "DateAppointmentEnd": "2024-11-28T01:40:39.0543658+08:00",
  "Type": "sample string 7"
}

application/xml, text/xml

Sample:
<EditAppointmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.EZTOneApp.Services.DTO">
  <DateAppointmentEnd>2024-11-28T01:40:39.0543658+08:00</DateAppointmentEnd>
  <DateAppointmentStart>2024-11-28T01:40:39.0543658+08:00</DateAppointmentStart>
  <DateMoveInEstimated>2024-11-28T01:40:39.0543658+08:00</DateMoveInEstimated>
  <Industry>sample string 3</Industry>
  <LeaseType>sample string 2</LeaseType>
  <Nationality>sample string 1</Nationality>
  <NoOfOccupantAdult>1</NoOfOccupantAdult>
  <NoOfOccupantChild>1</NoOfOccupantChild>
  <Occupation>sample string 4</Occupation>
  <Type>sample string 7</Type>
</EditAppointmentDTO>

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.