POST api/groups/{groupid}/groupplans/{groupplanid}/rules/{ruleid}/ruledrugprofiles
Posts a new drug profile to a rule
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupid |
Group identifier |
integer |
Required |
| groupplanid |
Group Plan Identifier |
integer |
Required |
| ruleid |
Rule identifier |
integer |
Required |
Body Parameters
New Drug Profile to add
RuleDrugProfileModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleNo |
Gets or sets the rule identifier associated with this rule drug profile |
integer |
None. |
| DrugProfileUrl |
Gets or sets the url associated with the drug profile associated with this rule drug profile |
string |
None. |
| DrugProfileNo |
Gets or sets the identifier of the drug profile associated with this rule drug profile |
integer |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Request Formats
application/json, text/json, application/json-patch+json
{
"url": "sample string 5",
"id": 6,
"ruleNo": 1,
"drugProfileUrl": "sample string 3",
"drugProfileNo": 4
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The newly added rule/drug profile record
RuleDrugProfileModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleNo |
Gets or sets the rule identifier associated with this rule drug profile |
integer |
None. |
| DrugProfileUrl |
Gets or sets the url associated with the drug profile associated with this rule drug profile |
string |
None. |
| DrugProfileNo |
Gets or sets the identifier of the drug profile associated with this rule drug profile |
integer |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Response Formats
application/json, text/json, application/json-patch+json
{
"url": "sample string 5",
"id": 6,
"ruleNo": 1,
"drugProfileUrl": "sample string 3",
"drugProfileNo": 4
}