PUT api/Appointments

Request Information

URI Parameters

None.

Body Parameters

RearrangeAppointmentModel
NameDescriptionTypeAdditional information
AppointmentSlotId

integer

None.

UserId

globally unique identifier

None.

AgencyIdentifier

integer

None.

BookingReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentSlotId": 1,
  "UserId": "bee318db-459a-46bc-8708-e93a2b94cbfa",
  "AgencyIdentifier": 3,
  "BookingReference": "sample string 4"
}

application/xml, text/xml

Sample:
<RearrangeAppointmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Premex.API.Appointments.Models">
  <AgencyIdentifier>3</AgencyIdentifier>
  <AppointmentSlotId>1</AppointmentSlotId>
  <BookingReference>sample string 4</BookingReference>
  <UserId>bee318db-459a-46bc-8708-e93a2b94cbfa</UserId>
</RearrangeAppointmentModel>

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 'RearrangeAppointmentModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.