POST api/FrontdeskCalling/GetAvailableSlotList

Request Information

URI Parameters

None.

Body Parameters

SlotsRequest
NameDescriptionTypeAdditional information
DoctorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorId": 1
}

application/xml, text/xml

Sample:
<SlotsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
  <DoctorId>1</DoctorId>
</SlotsRequest>

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

Response Information

Resource Description

ResponseOfSlotsForFrontdesk
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

SlotsForFrontdesk

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "SlotsList": [
      {
        "SlotId": 1,
        "FromTime": "sample string 2",
        "ToTime": "sample string 3"
      },
      {
        "SlotId": 1,
        "FromTime": "sample string 2",
        "ToTime": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfSlotsForFrontdesky4k00cG6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
    <d2p1:SlotsList>
      <d2p1:FrontdeskSlotsModel>
        <d2p1:FromTime>sample string 2</d2p1:FromTime>
        <d2p1:SlotId>1</d2p1:SlotId>
        <d2p1:ToTime>sample string 3</d2p1:ToTime>
      </d2p1:FrontdeskSlotsModel>
      <d2p1:FrontdeskSlotsModel>
        <d2p1:FromTime>sample string 2</d2p1:FromTime>
        <d2p1:SlotId>1</d2p1:SlotId>
        <d2p1:ToTime>sample string 3</d2p1:ToTime>
      </d2p1:FrontdeskSlotsModel>
    </d2p1:SlotsList>
  </Result>
  <Status>3</Status>
</ResponseOfSlotsForFrontdesky4k00cG6>