GET api/groups/{groupid}/groupplans/{groupplanid}/rules/{ruleid}/ruleprerequisitegpis/{id}

Gets a Rule Prerequisite GPI for the specified rule and prerequisite GPI identifier

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

Group identifier

integer

Required

groupplanid

Group Plan identifier

integer

Required

ruleid

Rule identifier

integer

Required

id

Rule Prerequisite GPI identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

A Rule Prerequisite GPI

RulePrerequisiteGPIModel
NameDescriptionTypeAdditional 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
}