POST appointments/saveevent

Request Information

URI Parameters

None.

Body Parameters

AppointmentEvent
NameDescriptionTypeAdditional information
ApptID

integer

Required

EventType

string

None.

EventTime

date

Required

Latitude

decimal number

None.

Longitude

decimal number

None.

EventDesc

string

None.

AdditionalNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApptID": 1,
  "EventType": "sample string 2",
  "EventTime": "2026-04-17T11:34:05.6319474+00:00",
  "Latitude": 4.1,
  "Longitude": 5.1,
  "EventDesc": "sample string 6",
  "AdditionalNotes": "sample string 7"
}

text/html

Sample:
{"ApptID":1,"EventType":"sample string 2","EventTime":"2026-04-17T11:34:05.6319474+00:00","Latitude":4.1,"Longitude":5.1,"EventDesc":"sample string 6","AdditionalNotes":"sample string 7"}

application/xml, text/xml

Sample:
<AppointmentEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Appointments">
  <AdditionalNotes>sample string 7</AdditionalNotes>
  <ApptID>1</ApptID>
  <EventDesc>sample string 6</EventDesc>
  <EventTime>2026-04-17T11:34:05.6319474+00:00</EventTime>
  <EventType>sample string 2</EventType>
  <Latitude>4.1</Latitude>
  <Longitude>5.1</Longitude>
</AppointmentEvent>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppointmentEvent'.

Response Information

Resource Description

AppointmentResult
NameDescriptionTypeAdditional information
ApptId

integer

None.

Successful

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ApptId": 1,
  "Successful": true,
  "Message": "sample string 3"
}

text/html

Sample:
{"ApptId":1,"Successful":true,"Message":"sample string 3"}

application/xml, text/xml

Sample:
<AppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Appointments">
  <ApptId>1</ApptId>
  <Message>sample string 3</Message>
  <Successful>true</Successful>
</AppointmentResult>