POST api/benefit-program/plan/{benefitPlanId}/id/{benefitTypeId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
benefitPlanId | integer |
Required |
|
benefitTypeId | integer |
Required |
Body Parameters
BenefitTypeSubModelName | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.