POST LifeEvent/SaveLifeEventType
Request Information
URI Parameters
None.
Body Parameters
LifeEventType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Web_EnrollmentLifeEventKey | integer |
None. |
|
| CompanyPBEntityKey | integer |
None. |
|
| Name | string |
None. |
|
| DocumentationText | string |
None. |
|
| DocumentationRequired | integer |
Required |
|
| CurrentElectionsOnly | boolean |
Required |
|
| IsInherited | boolean |
None. |
|
| IsActive | boolean |
Required |
|
| ValueId | integer |
Required |
|
| ShortDesc | string |
Required |
|
| SortValue | integer |
None. |
|
| LifeEventMessageText | string |
String length: inclusive between 0 and 1000 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Web_EnrollmentLifeEventKey": 2,
"CompanyPBEntityKey": 3,
"Name": "sample string 4",
"DocumentationText": "sample string 5",
"DocumentationRequired": 6,
"CurrentElectionsOnly": true,
"IsInherited": true,
"IsActive": true,
"ValueId": 10,
"ShortDesc": "sample string 11",
"SortValue": 12,
"LifeEventMessageText": "sample string 13"
}
application/xml, text/xml
Sample:
<LifeEventType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models"> <CompanyPBEntityKey>3</CompanyPBEntityKey> <CurrentElectionsOnly>true</CurrentElectionsOnly> <DocumentationRequired>6</DocumentationRequired> <DocumentationText>sample string 5</DocumentationText> <Id>1</Id> <IsActive>true</IsActive> <IsInherited>true</IsInherited> <LifeEventMessageText>sample string 13</LifeEventMessageText> <Name>sample string 4</Name> <ShortDesc>sample string 11</ShortDesc> <SortValue>12</SortValue> <ValueId>10</ValueId> <Web_EnrollmentLifeEventKey>2</Web_EnrollmentLifeEventKey> </LifeEventType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.