POST api/Schedule/SetScheduleTypes

Request Information

URI Parameters

None.

Body Parameters

Collection of DoctorScheduleTypeModel
NameDescriptionTypeAdditional information
ScheduleType

ReservationType

None.

AccountKey

string

None.

RoomKey

string

None.

SpecialtyGroupId

integer

None.

BranchKey

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ScheduleType": 1,
    "AccountKey": "sample string 1",
    "RoomKey": "sample string 2",
    "SpecialtyGroupId": 3,
    "BranchKey": "sample string 4"
  },
  {
    "ScheduleType": 1,
    "AccountKey": "sample string 1",
    "RoomKey": "sample string 2",
    "SpecialtyGroupId": 3,
    "BranchKey": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDoctorScheduleTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models.Schedule">
  <DoctorScheduleTypeModel>
    <AccountKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 1</AccountKey>
    <BranchKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 4</BranchKey>
    <RoomKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 2</RoomKey>
    <SpecialtyGroupId xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">3</SpecialtyGroupId>
    <ScheduleType>OnSchedule</ScheduleType>
  </DoctorScheduleTypeModel>
  <DoctorScheduleTypeModel>
    <AccountKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 1</AccountKey>
    <BranchKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 4</BranchKey>
    <RoomKey xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">sample string 2</RoomKey>
    <SpecialtyGroupId xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Schedule.Models">3</SpecialtyGroupId>
    <ScheduleType>OnSchedule</ScheduleType>
  </DoctorScheduleTypeModel>
</ArrayOfDoctorScheduleTypeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.