POST api/patients/{patientId}/prescriptions/sendEpcs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

SendEpcsPrescriptionRequest
NameDescriptionTypeAdditional information
Pin

string

None.

OTP

string

None.

Ids

Collection of integer

None.

SupervisorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Pin": "sample string 1",
  "OTP": "sample string 2",
  "Ids": [
    1,
    2
  ],
  "SupervisorId": 1
}

application/xml, text/xml

Sample:
<SendEpcsPrescriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13.Objects">
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
  <OTP>sample string 2</OTP>
  <Pin>sample string 1</Pin>
  <SupervisorId>1</SupervisorId>
</SendEpcsPrescriptionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of IdentifierResponse
NameDescriptionTypeAdditional information
Id

integer

None.

Result

Result

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Result": {
      "ResultCode": "sample string 1",
      "ResultDescription": "sample string 2"
    }
  },
  {
    "Id": 1,
    "Result": {
      "ResultCode": "sample string 1",
      "ResultDescription": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfIdentifierResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
  <IdentifierResponse>
    <Result>
      <ResultCode>sample string 1</ResultCode>
      <ResultDescription>sample string 2</ResultDescription>
    </Result>
    <Id>1</Id>
  </IdentifierResponse>
  <IdentifierResponse>
    <Result>
      <ResultCode>sample string 1</ResultCode>
      <ResultDescription>sample string 2</ResultDescription>
    </Result>
    <Id>1</Id>
  </IdentifierResponse>
</ArrayOfIdentifierResponse>