POST api/corporate/contact-benefit-program

Request Information

URI Parameters

None.

Body Parameters

Collection of ContactBenefitProgramModel
NameDescriptionTypeAdditional information
ContactBenefitProgramId

integer

None.

ContactId

integer

None.

CorporateId

integer

None.

CatalogValueId

integer

None.

CatalogValue

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ContactBenefitProgramId": 1,
    "ContactId": 2,
    "CorporateId": 3,
    "CatalogValueId": 4,
    "CatalogValue": "sample string 5",
    "Active": true
  },
  {
    "ContactBenefitProgramId": 1,
    "ContactId": 2,
    "CorporateId": 3,
    "CatalogValueId": 4,
    "CatalogValue": "sample string 5",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactBenefitProgramModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <ContactBenefitProgramModel>
    <Active>true</Active>
    <CatalogValue>sample string 5</CatalogValue>
    <CatalogValueId>4</CatalogValueId>
    <ContactBenefitProgramId>1</ContactBenefitProgramId>
    <ContactId>2</ContactId>
    <CorporateId>3</CorporateId>
  </ContactBenefitProgramModel>
  <ContactBenefitProgramModel>
    <Active>true</Active>
    <CatalogValue>sample string 5</CatalogValue>
    <CatalogValueId>4</CatalogValueId>
    <ContactBenefitProgramId>1</ContactBenefitProgramId>
    <ContactId>2</ContactId>
    <CorporateId>3</CorporateId>
  </ContactBenefitProgramModel>
</ArrayOfContactBenefitProgramModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.