POST api/patients/{patientId}/prescriptions/{prescriptionId}/sendOnBehalfOf/{onBehalfOf}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

prescriptionId

integer

Required

onBehalfOf

integer

Required

Body Parameters

SendPrescriptionRequest
NameDescriptionTypeAdditional information
SupervisorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SupervisorId": 1
}

application/xml, text/xml

Sample:
<SendPrescriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13.Complex">
  <SupervisorId>1</SupervisorId>
</SendPrescriptionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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"
  }
}

application/xml, text/xml

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