POST LifeEvent/SaveLifeEvent
Request Information
URI Parameters
None.
Body Parameters
LifeEventName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MemberId | integer |
None. |
|
LifeEventType | LifeEventFormType |
None. |
|
EventType | LifeEventType |
None. |
|
EventDate | date |
Required |
|
Attachments | Collection of FileAttachment |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "MemberId": 2, "LifeEventType": 2, "EventType": { "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" }, "EventDate": "2025-01-09T14:07:41.7645868-06:00", "Attachments": [ { "Id": 1, "FileName": "sample string 2", "FilePath": "sample string 3", "CreateDate": "2025-01-09T14:07:41.7645868-06:00" }, { "Id": 1, "FileName": "sample string 2", "FilePath": "sample string 3", "CreateDate": "2025-01-09T14:07:41.7645868-06:00" } ] }
application/xml, text/xml
Sample:
<LifeEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models"> <Attachments> <FileAttachment> <CreateDate>2025-01-09T14:07:41.7645868-06:00</CreateDate> <FileName>sample string 2</FileName> <FilePath>sample string 3</FilePath> <Id>1</Id> </FileAttachment> <FileAttachment> <CreateDate>2025-01-09T14:07:41.7645868-06:00</CreateDate> <FileName>sample string 2</FileName> <FilePath>sample string 3</FilePath> <Id>1</Id> </FileAttachment> </Attachments> <EventDate>2025-01-09T14:07:41.7645868-06:00</EventDate> <EventType> <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> </EventType> <Id>1</Id> <LifeEventType>LifeChangingEvent</LifeEventType> <MemberId>2</MemberId> </LifeEvent>
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.