PUT api/benefit-plan/benefit-plan-global-regional/update/{validateCountryPresent}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateCountryPresent

boolean

Default value is False

Body Parameters

BenefitGlobalRegionalSubModel
NameDescriptionTypeAdditional information
BenefitPlanId

integer

None.

CountryPresentId

integer

None.

InternationallyMobileEmployees

boolean

None.

Active

boolean

None.

BenefitPlantParticipateCountry

Collection of BenefitPlantParticipateCountrySubModel

None.

BenefitPlanMobileEmployee

Collection of BenefitPlanMobileEmployeeSubModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitPlanId": 1,
  "CountryPresentId": 2,
  "InternationallyMobileEmployees": true,
  "Active": true,
  "BenefitPlantParticipateCountry": [
    {
      "BenefitPlantParticipateCountryId": 1,
      "BenefitPlanId": 2,
      "CountryPresentId": 3,
      "CorporateCountryPresentId": 4,
      "CorporateId": 5,
      "CountryId": 6,
      "CountryName": "sample string 7",
      "CorporateRegionId": 1,
      "CorporateRegion": "sample string 8",
      "CountryHeadCount": 9,
      "InternationallyMobileEmployees": 10,
      "DefaultRegion": true,
      "Active": true
    },
    {
      "BenefitPlantParticipateCountryId": 1,
      "BenefitPlanId": 2,
      "CountryPresentId": 3,
      "CorporateCountryPresentId": 4,
      "CorporateId": 5,
      "CountryId": 6,
      "CountryName": "sample string 7",
      "CorporateRegionId": 1,
      "CorporateRegion": "sample string 8",
      "CountryHeadCount": 9,
      "InternationallyMobileEmployees": 10,
      "DefaultRegion": true,
      "Active": true
    }
  ],
  "BenefitPlanMobileEmployee": [
    {
      "BenefitPlanMobileEmployeeId": 1,
      "BenefitPlanId": 2,
      "CatalogValueId": 3,
      "Description": "sample string 4",
      "CatalogId": 5,
      "Catalog": "sample string 6",
      "Active": true
    },
    {
      "BenefitPlanMobileEmployeeId": 1,
      "BenefitPlanId": 2,
      "CatalogValueId": 3,
      "Description": "sample string 4",
      "CatalogId": 5,
      "Catalog": "sample string 6",
      "Active": true
    }
  ]
}

application/xml, text/xml

Sample:
<BenefitGlobalRegionalSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <Active>true</Active>
  <BenefitPlanId>1</BenefitPlanId>
  <BenefitPlanMobileEmployee>
    <BenefitPlanMobileEmployeeSubModel>
      <Active>true</Active>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlanMobileEmployeeId>1</BenefitPlanMobileEmployeeId>
      <Catalog>sample string 6</Catalog>
      <CatalogId>5</CatalogId>
      <CatalogValueId>3</CatalogValueId>
      <Description>sample string 4</Description>
    </BenefitPlanMobileEmployeeSubModel>
    <BenefitPlanMobileEmployeeSubModel>
      <Active>true</Active>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlanMobileEmployeeId>1</BenefitPlanMobileEmployeeId>
      <Catalog>sample string 6</Catalog>
      <CatalogId>5</CatalogId>
      <CatalogValueId>3</CatalogValueId>
      <Description>sample string 4</Description>
    </BenefitPlanMobileEmployeeSubModel>
  </BenefitPlanMobileEmployee>
  <BenefitPlantParticipateCountry>
    <BenefitPlantParticipateCountrySubModel>
      <Active>true</Active>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlantParticipateCountryId>1</BenefitPlantParticipateCountryId>
      <CorporateCountryPresentId>4</CorporateCountryPresentId>
      <CorporateId>5</CorporateId>
      <CorporateRegion>sample string 8</CorporateRegion>
      <CorporateRegionId>1</CorporateRegionId>
      <CountryHeadCount>9</CountryHeadCount>
      <CountryId>6</CountryId>
      <CountryName>sample string 7</CountryName>
      <CountryPresentId>3</CountryPresentId>
      <DefaultRegion>true</DefaultRegion>
      <InternationallyMobileEmployees>10</InternationallyMobileEmployees>
    </BenefitPlantParticipateCountrySubModel>
    <BenefitPlantParticipateCountrySubModel>
      <Active>true</Active>
      <BenefitPlanId>2</BenefitPlanId>
      <BenefitPlantParticipateCountryId>1</BenefitPlantParticipateCountryId>
      <CorporateCountryPresentId>4</CorporateCountryPresentId>
      <CorporateId>5</CorporateId>
      <CorporateRegion>sample string 8</CorporateRegion>
      <CorporateRegionId>1</CorporateRegionId>
      <CountryHeadCount>9</CountryHeadCount>
      <CountryId>6</CountryId>
      <CountryName>sample string 7</CountryName>
      <CountryPresentId>3</CountryPresentId>
      <DefaultRegion>true</DefaultRegion>
      <InternationallyMobileEmployees>10</InternationallyMobileEmployees>
    </BenefitPlantParticipateCountrySubModel>
  </BenefitPlantParticipateCountry>
  <CountryPresentId>2</CountryPresentId>
  <InternationallyMobileEmployees>true</InternationallyMobileEmployees>
</BenefitGlobalRegionalSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.