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

Request Information

URI Parameters

None.

Body Parameters

BenefitFlexProgramSubModel
NameDescriptionTypeAdditional information
BenefitPlanId

integer

None.

FlexBenefitProgramModelId

integer

None.

FlexProgramOtherBenefitsIncluded

string

None.

SelectionProcessBenefitItems

string

None.

FlexBudgetCreditMechanism

string

None.

UnusedBudgetCredits

string

None.

EmployerCost

string

None.

BenefitPlanProgram

Collection of BenefitPlanProgramSubModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitPlanId": 1,
  "FlexBenefitProgramModelId": 2,
  "FlexProgramOtherBenefitsIncluded": "sample string 3",
  "SelectionProcessBenefitItems": "sample string 4",
  "FlexBudgetCreditMechanism": "sample string 5",
  "UnusedBudgetCredits": "sample string 6",
  "EmployerCost": "sample string 7",
  "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:
<BenefitFlexProgramSubModel 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>
  <EmployerCost>sample string 7</EmployerCost>
  <FlexBenefitProgramModelId>2</FlexBenefitProgramModelId>
  <FlexBudgetCreditMechanism>sample string 5</FlexBudgetCreditMechanism>
  <FlexProgramOtherBenefitsIncluded>sample string 3</FlexProgramOtherBenefitsIncluded>
  <SelectionProcessBenefitItems>sample string 4</SelectionProcessBenefitItems>
  <UnusedBudgetCredits>sample string 6</UnusedBudgetCredits>
</BenefitFlexProgramSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.