PUT api/benefit-plan/benefit-coverage/update

Request Information

URI Parameters

None.

Body Parameters

BenefiCoverageSubModel
NameDescriptionTypeAdditional information
BenefitPlanId

integer

None.

CorporateCompanyId

integer

None.

CorporateId

integer

None.

IsNew

boolean

None.

BenefitCoverage

Collection of BenefitCoverageModel

None.

BenefitCoverageTier

BenefitCoverageTierModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitPlanId": 1,
  "CorporateCompanyId": 2,
  "CorporateId": 3,
  "IsNew": true,
  "BenefitCoverage": [
    {
      "BenefitCoverageId": 1,
      "BenefitPlanId": 2,
      "BenefitProgramAssignId": 3,
      "FlexibleBenefitsProgramIntegration": true,
      "PrimaryBenefitType": true,
      "Active": true
    },
    {
      "BenefitCoverageId": 1,
      "BenefitPlanId": 2,
      "BenefitProgramAssignId": 3,
      "FlexibleBenefitsProgramIntegration": true,
      "PrimaryBenefitType": true,
      "Active": true
    }
  ],
  "BenefitCoverageTier": {
    "BenefitCoverageTierId": 1,
    "BenefitPlanId": 2,
    "TierName": "sample string 3",
    "Active": true
  }
}

application/xml, text/xml

Sample:
<BenefiCoverageSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <BenefitCoverage>
    <BenefitCoverageModel>
      <Active>true</Active>
      <BenefitCoverageId>1</BenefitCoverageId>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitProgramAssignId>3</BenefitProgramAssignId>
      <FlexibleBenefitsProgramIntegration>true</FlexibleBenefitsProgramIntegration>
      <PrimaryBenefitType>true</PrimaryBenefitType>
    </BenefitCoverageModel>
    <BenefitCoverageModel>
      <Active>true</Active>
      <BenefitCoverageId>1</BenefitCoverageId>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitProgramAssignId>3</BenefitProgramAssignId>
      <FlexibleBenefitsProgramIntegration>true</FlexibleBenefitsProgramIntegration>
      <PrimaryBenefitType>true</PrimaryBenefitType>
    </BenefitCoverageModel>
  </BenefitCoverage>
  <BenefitCoverageTier>
    <Active>true</Active>
    <BenefitCoverageTierId>1</BenefitCoverageTierId>
    <BenefitPlanId>2</BenefitPlanId>
    <TierName>sample string 3</TierName>
  </BenefitCoverageTier>
  <BenefitPlanId>1</BenefitPlanId>
  <CorporateCompanyId>2</CorporateCompanyId>
  <CorporateId>3</CorporateId>
  <IsNew>true</IsNew>
</BenefiCoverageSubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BenefiCoverageSubModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.