POST api/patients/{patientId}/prescriptions/sendOnBehalfOf/{onBehalfOf}/{pin}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
patientId | integer |
Required |
|
onBehalfOf | integer |
Required |
|
pin | string |
Required |
Body Parameters
SendPrescriptionsRequestName | Description | Type | Additional information |
---|---|---|---|
SupervisorId | integer |
None. |
|
Id | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SupervisorId": 1, "Id": [ 1, 2 ] }
application/xml, text/xml
Sample:
<SendPrescriptionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13.Complex"> <Id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Id> <SupervisorId>1</SupervisorId> </SendPrescriptionsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IdentifierResponseName | Description | Type | Additional 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>