POST api/report/sidebysideplans

Request Information

URI Parameters

None.

Body Parameters

SideBySidePlansFilter
NameDescriptionTypeAdditional information
BenefitProgramId

integer

None.

CorporateLegalEntitiesId

integer

None.

CorporateBusinessId

integer

None.

CorporateId

integer

None.

UserId

integer

None.

BenefitTypeId

Collection of integer

None.

Regions

Collection of string

None.

Countries

Collection of integer

None.

CorporateCompanies

Collection of integer

None.

BenefitPlans

Collection of integer

None.

BenefitTiers

Collection of string

None.

PlanYears

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitProgramId": 1,
  "CorporateLegalEntitiesId": 2,
  "CorporateBusinessId": 3,
  "CorporateId": 1,
  "UserId": 1,
  "BenefitTypeId": [
    1,
    2
  ],
  "Regions": [
    "sample string 1",
    "sample string 2"
  ],
  "Countries": [
    1,
    2
  ],
  "CorporateCompanies": [
    1,
    2
  ],
  "BenefitPlans": [
    1,
    2
  ],
  "BenefitTiers": [
    "sample string 1",
    "sample string 2"
  ],
  "PlanYears": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SideBySidePlansFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <BenefitPlans xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BenefitPlans>
  <BenefitProgramId>1</BenefitProgramId>
  <BenefitTiers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BenefitTiers>
  <BenefitTypeId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BenefitTypeId>
  <CorporateBusinessId>3</CorporateBusinessId>
  <CorporateCompanies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CorporateCompanies>
  <CorporateId>1</CorporateId>
  <CorporateLegalEntitiesId>2</CorporateLegalEntitiesId>
  <Countries xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Countries>
  <PlanYears xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PlanYears>
  <Regions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Regions>
  <UserId>1</UserId>
</SideBySidePlansFilter>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.