POST api/CallingServer/GetPharmacyConferenceRoom

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional information
Request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": "sample string 1"
}

application/xml, text/xml

Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <Request>sample string 1</Request>
</CommonRequest>

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

Response Information

Resource Description

ResponseOfPharmacyResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

PharmacyResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "PatientId": 1,
    "PatientName": "sample string 2",
    "PharmacyUserId": 3,
    "NotificationId": 4,
    "RoomId": 5,
    "RoomName": "sample string 6",
    "WCSUrl": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<ResponseOfPharmacyResponseyQBmYUhF 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.CallingServerModel">
    <d2p1:RoomId>5</d2p1:RoomId>
    <d2p1:RoomName>sample string 6</d2p1:RoomName>
    <d2p1:WCSUrl>sample string 7</d2p1:WCSUrl>
    <d2p1:NotificationId>4</d2p1:NotificationId>
    <d2p1:PatientId>1</d2p1:PatientId>
    <d2p1:PatientName>sample string 2</d2p1:PatientName>
    <d2p1:PharmacyUserId>3</d2p1:PharmacyUserId>
  </Result>
  <Status>3</Status>
</ResponseOfPharmacyResponseyQBmYUhF>