POST api/groups/{groupid}/groupplans/{groupplanid}/rules/{ruleid}/rulepharmacies

Adds a new pharmacy to an existing rule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

integer

Required

groupplanid

integer

Required

ruleid

Rule identifier

integer

Required

Body Parameters

The json formatted rule pharmacy model object supplied in the request body that is to be added to a rule

RulePharmacyModel
NameDescriptionTypeAdditional information
RuleNo

Gets or sets the rule identifier associated with this rule pharmacy

integer

None.

NPI

Gets or sets the NPI associated with this rule pharmacy

string

None.

PharmacyName

Gets or sets the pharmacy name associated with this rule pharmacy

string

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

Sample:
{
  "url": "sample string 4",
  "id": 5,
  "ruleNo": 1,
  "npi": "sample string 2",
  "pharmacyName": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A newly added Rule Pharmacy

RulePharmacyModel
NameDescriptionTypeAdditional information
RuleNo

Gets or sets the rule identifier associated with this rule pharmacy

integer

None.

NPI

Gets or sets the NPI associated with this rule pharmacy

string

None.

PharmacyName

Gets or sets the pharmacy name associated with this rule pharmacy

string

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 4",
  "id": 5,
  "ruleNo": 1,
  "npi": "sample string 2",
  "pharmacyName": "sample string 3"
}