POST api/benefit-program-template
Request Information
URI Parameters
None.
Body Parameters
BenefitProgramTemplateSubModelName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
Fields | Collection of BenefitProgramTemplateFieldSubModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Description": "sample string 1", "Fields": [ { "BenefitProgramTemplateFieldId": 1, "BenefitTypeMasterFieldId": 2, "FieldRelevance": 3, "IsMandatory": true, "OverrideFieldName": "sample string 5", "OverrideFieldTooltip": "sample string 6" }, { "BenefitProgramTemplateFieldId": 1, "BenefitTypeMasterFieldId": 2, "FieldRelevance": 3, "IsMandatory": true, "OverrideFieldName": "sample string 5", "OverrideFieldTooltip": "sample string 6" } ] }
application/xml, text/xml
Sample:
<BenefitProgramTemplateSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels"> <Description>sample string 1</Description> <Fields> <BenefitProgramTemplateFieldSubModel> <BenefitProgramTemplateFieldId>1</BenefitProgramTemplateFieldId> <BenefitTypeMasterFieldId>2</BenefitTypeMasterFieldId> <FieldRelevance>3</FieldRelevance> <IsMandatory>true</IsMandatory> <OverrideFieldName>sample string 5</OverrideFieldName> <OverrideFieldTooltip>sample string 6</OverrideFieldTooltip> </BenefitProgramTemplateFieldSubModel> <BenefitProgramTemplateFieldSubModel> <BenefitProgramTemplateFieldId>1</BenefitProgramTemplateFieldId> <BenefitTypeMasterFieldId>2</BenefitTypeMasterFieldId> <FieldRelevance>3</FieldRelevance> <IsMandatory>true</IsMandatory> <OverrideFieldName>sample string 5</OverrideFieldName> <OverrideFieldTooltip>sample string 6</OverrideFieldTooltip> </BenefitProgramTemplateFieldSubModel> </Fields> </BenefitProgramTemplateSubModel>
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.