POST api/AppointmentAllowedTimeInAdvance

Sets the time span (in days) beyond which future appointments cannot be scheduled.

Request Information

URI Parameters

None.

Body Parameters

AppointmentAllowedTimeInAdvanceModel
NameDescriptionTypeAdditional information
Days

The time span (in days) beyond which future appointments cannot be scheduled.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "days": 1
}

application/xml, text/xml

Sample:
<AppointmentAllowedTimeInAdvanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AppointmentAllowedTimeInAdvance">
  <Days>1</Days>
</AppointmentAllowedTimeInAdvanceModel>

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

Response Information

Resource Description

AppointmentAllowedTimeInAdvanceModel
NameDescriptionTypeAdditional information
Days

The time span (in days) beyond which future appointments cannot be scheduled.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "days": 1
}

application/xml, text/xml

Sample:
<AppointmentAllowedTimeInAdvanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.AppointmentAllowedTimeInAdvance">
  <Days>1</Days>
</AppointmentAllowedTimeInAdvanceModel>