POST api/groups/{groupid}/groupplans/{groupplanid}/rules/{ruleid}/ruleformularytiers
Adds an existing formulary tier to an existing 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
The json formatted rule formulary tier model object supplied in the request body that is to be added to a rule
RuleFormularyTierModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleNo |
Gets or sets the Rule number |
integer |
None. |
| Name |
Gets or sets the Name |
string |
None. |
| Description |
Gets or sets the Description |
string |
None. |
| Tier |
Gets or sets the Tier |
integer |
None. |
| FormularyTierNo |
Gets or sets the Formulary Tier number |
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 6",
"id": 7,
"ruleNo": 1,
"name": "sample string 2",
"description": "sample string 3",
"tier": 1,
"formularyTierNo": 4
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A newly added Rule Formulary Tier object
RuleFormularyTierModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleNo |
Gets or sets the Rule number |
integer |
None. |
| Name |
Gets or sets the Name |
string |
None. |
| Description |
Gets or sets the Description |
string |
None. |
| Tier |
Gets or sets the Tier |
integer |
None. |
| FormularyTierNo |
Gets or sets the Formulary Tier number |
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 6",
"id": 7,
"ruleNo": 1,
"name": "sample string 2",
"description": "sample string 3",
"tier": 1,
"formularyTierNo": 4
}