GET api/groups/{groupid}/groupplans/{groupplanid}/rules/{ruleid}/ruleprerequisitegpis
Gets a collection of Rule Prerequisite GPIs for a rule by rule identifier
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
None.
Response Information
Resource Description
A list of Rule Prerequisite GPIs for the specified rule
Collection of RulePrerequisiteGPIModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleNo |
Gets or sets the rule identifier associated with this rule GPI |
integer |
None. |
| GenericProductIdentifier |
Gets or sets the prequisite GPI associated with this rule |
string |
None. |
| IsBrand |
Gets or sets whether the prequisite GPI is brand |
boolean |
None. |
| IsRx |
Gets or sets whether the prequisite GPI criteria is prescription only (non-OTC) |
boolean |
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
Sample:
[
{
"url": "sample string 3",
"id": 4,
"ruleNo": 1,
"genericProductIdentifier": "sample string 2",
"isBrand": true,
"isRx": true
},
{
"url": "sample string 3",
"id": 4,
"ruleNo": 1,
"genericProductIdentifier": "sample string 2",
"isBrand": true,
"isRx": true
}
]