POST api/groups/{groupid}/groupplans/{groupplanid}/coinsurances

Posts a new coinsurance to an existing group plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupid

Group identifier

integer

Required

groupplanid

Group Plan Identifier

integer

Required

Body Parameters

The coinsurance model to be added to the specified plan. Coinsurance Rates included in the model will also be added.

CoinsuranceModel
NameDescriptionTypeAdditional information
GroupPlanNo

Gets or sets the identifier for the Group Plan associated with this Coinsurance

integer

None.

Description

Gets or sets the description of the coinsurance resource

string

None.

IsMinimumAmount

Gets or sets whether the plan will use as minimum amount for ingredient cost (including tax) if calculated price is less

boolean

None.

ApplyCoinsuranceFirst

Gets or sets whether the plan will apply coinsurance before the copay is applied

boolean

None.

CoinsuranceRates

Gets or sets the coinsuranceRates associated with this coinsurance model

Collection of CoinsuranceRateModel

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 3",
  "id": 4,
  "groupPlanNo": 1,
  "description": "sample string 2",
  "isMinimumAmount": true,
  "applyCoinsuranceFirst": true,
  "coinsuranceRates": [
    {
      "url": "sample string 4",
      "id": 5,
      "daysSupply": 1,
      "coinsRate": 1.0,
      "coinsMin": 1.0,
      "coinsMax": 1.0,
      "copayAmount": 1.0,
      "planPaidMax": 1.0,
      "inactive": true,
      "coinsuranceNo": 3
    },
    {
      "url": "sample string 4",
      "id": 5,
      "daysSupply": 1,
      "coinsRate": 1.0,
      "coinsMin": 1.0,
      "coinsMax": 1.0,
      "copayAmount": 1.0,
      "planPaidMax": 1.0,
      "inactive": true,
      "coinsuranceNo": 3
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Coinsurance model that was just added to the database.

CoinsuranceModel
NameDescriptionTypeAdditional information
GroupPlanNo

Gets or sets the identifier for the Group Plan associated with this Coinsurance

integer

None.

Description

Gets or sets the description of the coinsurance resource

string

None.

IsMinimumAmount

Gets or sets whether the plan will use as minimum amount for ingredient cost (including tax) if calculated price is less

boolean

None.

ApplyCoinsuranceFirst

Gets or sets whether the plan will apply coinsurance before the copay is applied

boolean

None.

CoinsuranceRates

Gets or sets the coinsuranceRates associated with this coinsurance model

Collection of CoinsuranceRateModel

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,
  "groupPlanNo": 1,
  "description": "sample string 2",
  "isMinimumAmount": true,
  "applyCoinsuranceFirst": true,
  "coinsuranceRates": [
    {
      "url": "sample string 4",
      "id": 5,
      "daysSupply": 1,
      "coinsRate": 1.0,
      "coinsMin": 1.0,
      "coinsMax": 1.0,
      "copayAmount": 1.0,
      "planPaidMax": 1.0,
      "inactive": true,
      "coinsuranceNo": 3
    },
    {
      "url": "sample string 4",
      "id": 5,
      "daysSupply": 1,
      "coinsRate": 1.0,
      "coinsMin": 1.0,
      "coinsMax": 1.0,
      "copayAmount": 1.0,
      "planPaidMax": 1.0,
      "inactive": true,
      "coinsuranceNo": 3
    }
  ]
}