GET api/appointmentstatuses/search?itemType={itemType}

Returns a list of appointment statuses.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemType

Type of appointments to be fetch. Possible values: Appointment, AppointmentRequest

AppointmentInfoType

Default value is Appointment

Body Parameters

None.

Response Information

Resource Description

Collection of AppointmentStatusModel
NameDescriptionTypeAdditional information
Id

Id of the appointment status.

string

None.

Name

Name of the appointment status.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2"
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAppointmentStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentStatuses">
  <AppointmentStatusModel>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
  </AppointmentStatusModel>
  <AppointmentStatusModel>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
  </AppointmentStatusModel>
</ArrayOfAppointmentStatusModel>