POST api/notifications/rxchange/{rxChangeId}/approveOnBehalfOf/{onBehalfOf}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rxChangeId | integer |
Required |
|
| onBehalfOf | integer |
Required |
Body Parameters
ApproveRxChangeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PriorAuthNumber | string |
None. |
|
| SelectedMedicationId | integer |
None. |
|
| NewPrescriptionPatientId | integer |
None. |
|
| NewPrescription | CodedPrescriptionRequest |
None. |
|
| Comment | string |
String length: inclusive between 0 and 500 |
|
| PrescriberAuthorizationData | string |
String length: inclusive between 0 and 32 |
|
| PrescriberLicenseInactive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PriorAuthNumber": "sample string 2",
"SelectedMedicationId": 1,
"NewPrescriptionPatientId": 1,
"NewPrescription": {
"LexiGenProductId": 1,
"LexiDrugSynId": 1,
"LexiSynonymTypeId": 1,
"IsNotIntendedForDetox": true,
"PatientFormularyId": 1,
"Refills": 2,
"DaysSupply": 1,
"DispenseUnitId": 1,
"Quantity": 3.0,
"Directions": "sample string 4",
"PharmacyId": 1,
"PharmacyNotes": "sample string 5",
"NoSubstitutions": true,
"EffectiveDate": "2025-12-18T12:37:01.9173315+00:00",
"RxReferenceNumber": "sample string 7",
"EligibilityId": 8,
"NonDoseSpotPrescriptionId": "sample string 9",
"OnBehalfOfUserId": 1,
"DiagnosisId": 10,
"FirstPrescriptionDiagnosis": {
"PrimaryDiagnosisId": 1,
"SecondaryDiagnosisId": 1
},
"SecondPrescriptionDiagnosis": {
"PrimaryDiagnosisId": 1,
"SecondaryDiagnosisId": 1
},
"IsRefillReplace": true,
"IsUrgent": true,
"SupervisorId": 1,
"RetailPharmacyToMailToPatient": true,
"Status": 0,
"InactiveDate": "2025-12-18T12:37:01.9173315+00:00",
"Comment": "sample string 14",
"Encounter": "sample string 15"
},
"Comment": "sample string 3",
"PrescriberAuthorizationData": "sample string 4",
"PrescriberLicenseInactive": true
}
application/xml, text/xml
Sample:
<ApproveRxChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
<Comment>sample string 3</Comment>
<NewPrescription>
<Comment>sample string 14</Comment>
<Encounter>sample string 15</Encounter>
<InactiveDate>2025-12-18T12:37:01.9173315+00:00</InactiveDate>
<Status>Unknown</Status>
<DaysSupply>1</DaysSupply>
<DiagnosisId>10</DiagnosisId>
<Directions>sample string 4</Directions>
<DispenseUnitId>1</DispenseUnitId>
<EffectiveDate>2025-12-18T12:37:01.9173315+00:00</EffectiveDate>
<EligibilityId>8</EligibilityId>
<FirstPrescriptionDiagnosis xmlns:d3p1="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13.Objects">
<d3p1:PrimaryDiagnosisId>1</d3p1:PrimaryDiagnosisId>
<d3p1:SecondaryDiagnosisId>1</d3p1:SecondaryDiagnosisId>
</FirstPrescriptionDiagnosis>
<IsRefillReplace>true</IsRefillReplace>
<IsUrgent>true</IsUrgent>
<NoSubstitutions>true</NoSubstitutions>
<NonDoseSpotPrescriptionId>sample string 9</NonDoseSpotPrescriptionId>
<OnBehalfOfUserId>1</OnBehalfOfUserId>
<PharmacyId>1</PharmacyId>
<PharmacyNotes>sample string 5</PharmacyNotes>
<Quantity>3</Quantity>
<Refills>2</Refills>
<RetailPharmacyToMailToPatient>true</RetailPharmacyToMailToPatient>
<RxReferenceNumber>sample string 7</RxReferenceNumber>
<SecondPrescriptionDiagnosis xmlns:d3p1="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13.Objects">
<d3p1:PrimaryDiagnosisId>1</d3p1:PrimaryDiagnosisId>
<d3p1:SecondaryDiagnosisId>1</d3p1:SecondaryDiagnosisId>
</SecondPrescriptionDiagnosis>
<SupervisorId>1</SupervisorId>
<IsNotIntendedForDetox>true</IsNotIntendedForDetox>
<LexiDrugSynId>1</LexiDrugSynId>
<LexiGenProductId>1</LexiGenProductId>
<LexiSynonymTypeId>1</LexiSynonymTypeId>
<PatientFormularyId>1</PatientFormularyId>
</NewPrescription>
<NewPrescriptionPatientId>1</NewPrescriptionPatientId>
<PrescriberAuthorizationData>sample string 4</PrescriberAuthorizationData>
<PrescriberLicenseInactive>true</PrescriberLicenseInactive>
<PriorAuthNumber>sample string 2</PriorAuthNumber>
<SelectedMedicationId>1</SelectedMedicationId>
</ApproveRxChangeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"ResultCode": "sample string 1",
"ResultDescription": "sample string 2"
}
}
application/xml, text/xml
Sample:
<Response 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>
</Response>