PUT api/benefit-plan/benefit-plan-voluntary-program/update

Request Information

URI Parameters

None.

Body Parameters

BenefitVoluntaryProgramSubModel
NameDescriptionTypeAdditional information
BenefitPlanId

integer

None.

EmployerRole

string

None.

VoluntaryProgramOtherBenefitsIncluded

string

None.

FormBenefitPurchase

string

None.

BenefitPlanProgram

Collection of BenefitPlanProgramSubModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitPlanId": 1,
  "EmployerRole": "sample string 2",
  "VoluntaryProgramOtherBenefitsIncluded": "sample string 3",
  "FormBenefitPurchase": "sample string 4",
  "BenefitPlanProgram": [
    {
      "BenefitPlanProgramId": 1,
      "BenefitPlanId": 2,
      "BefitPlanFromId": 3,
      "CorporateCompanyId": 4,
      "CorporateId": 5,
      "LocalCompanyName": "sample string 6",
      "BenefitPlanName": "sample string 7",
      "PlanYear": 8,
      "PlanNameYear": "sample string 9",
      "Type": "sample string 10"
    },
    {
      "BenefitPlanProgramId": 1,
      "BenefitPlanId": 2,
      "BefitPlanFromId": 3,
      "CorporateCompanyId": 4,
      "CorporateId": 5,
      "LocalCompanyName": "sample string 6",
      "BenefitPlanName": "sample string 7",
      "PlanYear": 8,
      "PlanNameYear": "sample string 9",
      "Type": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<BenefitVoluntaryProgramSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <BenefitPlanId>1</BenefitPlanId>
  <BenefitPlanProgram>
    <BenefitPlanProgramSubModel>
      <BefitPlanFromId>3</BefitPlanFromId>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlanName>sample string 7</BenefitPlanName>
      <BenefitPlanProgramId>1</BenefitPlanProgramId>
      <CorporateCompanyId>4</CorporateCompanyId>
      <CorporateId>5</CorporateId>
      <LocalCompanyName>sample string 6</LocalCompanyName>
      <PlanNameYear>sample string 9</PlanNameYear>
      <PlanYear>8</PlanYear>
      <Type>sample string 10</Type>
    </BenefitPlanProgramSubModel>
    <BenefitPlanProgramSubModel>
      <BefitPlanFromId>3</BefitPlanFromId>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlanName>sample string 7</BenefitPlanName>
      <BenefitPlanProgramId>1</BenefitPlanProgramId>
      <CorporateCompanyId>4</CorporateCompanyId>
      <CorporateId>5</CorporateId>
      <LocalCompanyName>sample string 6</LocalCompanyName>
      <PlanNameYear>sample string 9</PlanNameYear>
      <PlanYear>8</PlanYear>
      <Type>sample string 10</Type>
    </BenefitPlanProgramSubModel>
  </BenefitPlanProgram>
  <EmployerRole>sample string 2</EmployerRole>
  <FormBenefitPurchase>sample string 4</FormBenefitPurchase>
  <VoluntaryProgramOtherBenefitsIncluded>sample string 3</VoluntaryProgramOtherBenefitsIncluded>
</BenefitVoluntaryProgramSubModel>

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 'BenefitVoluntaryProgramSubModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.