POST api/company/{companyId}/benefit-offered

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

CompanyBenefitOfferedSubModel
NameDescriptionTypeAdditional information
BenefitProgramId

integer

None.

ProgramsOffered

integer

None.

BenefitUnderFlexibleProgram

integer

None.

ReconciliationWithPlansCreated

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitProgramId": 1,
  "ProgramsOffered": 2,
  "BenefitUnderFlexibleProgram": 3,
  "ReconciliationWithPlansCreated": "sample string 4"
}

application/xml, text/xml

Sample:
<CompanyBenefitOfferedSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <BenefitProgramId>1</BenefitProgramId>
  <BenefitUnderFlexibleProgram>3</BenefitUnderFlexibleProgram>
  <ProgramsOffered>2</ProgramsOffered>
  <ReconciliationWithPlansCreated>sample string 4</ReconciliationWithPlansCreated>
</CompanyBenefitOfferedSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.