POST api/notifications/rxchange/{rxChangeId}/deny
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rxChangeId | integer |
Required |
Body Parameters
DenyRxChangeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | DenialReasonType |
Required |
|
| Comment | string |
String length: inclusive between 0 and 500 |
|
| PrescriberAuthorizationData | string |
String length: inclusive between 0 and 32 |
Request Formats
application/json, text/json
Sample:
{
"Reason": 3,
"Comment": "sample string 2",
"PrescriberAuthorizationData": "sample string 3"
}
application/xml, text/xml
Sample:
<DenyRxChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13"> <Comment>sample string 2</Comment> <PrescriberAuthorizationData>sample string 3</PrescriberAuthorizationData> <Reason>DeniedNewRx</Reason> </DenyRxChangeRequest>
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>