POST api/benefit-program/plan/{benefitPlanId}/id/{benefitTypeId}/delete-values

Request Information

URI Parameters

NameDescriptionTypeAdditional information
benefitPlanId

integer

Required

benefitTypeId

integer

Required

Body Parameters

BenefitTypeSubModel
NameDescriptionTypeAdditional information
BenefitProgramTierId

integer

None.

BenefitCoverageId

integer

None.

GroupId

integer

None.

Fields

Collection of BenefitTypeFieldSubModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BenefitProgramTierId": 1,
  "BenefitCoverageId": 1,
  "GroupId": 1,
  "Fields": [
    {
      "FieldId": 1,
      "FieldMasterId": 2,
      "Type": "sample string 3",
      "FieldValue": {}
    },
    {
      "FieldId": 1,
      "FieldMasterId": 2,
      "Type": "sample string 3",
      "FieldValue": {}
    }
  ]
}

application/xml, text/xml

Sample:
<BenefitTypeSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <BenefitCoverageId>1</BenefitCoverageId>
  <BenefitProgramTierId>1</BenefitProgramTierId>
  <Fields>
    <BenefitTypeFieldSubModel>
      <FieldId>1</FieldId>
      <FieldMasterId>2</FieldMasterId>
      <FieldValue />
      <Type>sample string 3</Type>
    </BenefitTypeFieldSubModel>
    <BenefitTypeFieldSubModel>
      <FieldId>1</FieldId>
      <FieldMasterId>2</FieldMasterId>
      <FieldValue />
      <Type>sample string 3</Type>
    </BenefitTypeFieldSubModel>
  </Fields>
  <GroupId>1</GroupId>
</BenefitTypeSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.