POST Member/SaveAffiliation
Request Information
URI Parameters
None.
Body Parameters
AffiliationName | Description | Type | Additional information |
---|---|---|---|
CompanyPBEntityKey | integer |
Required Range: inclusive between 1 and 2147483647 |
|
CompanyName | string |
None. |
|
PBAffiliationKey | integer |
None. |
|
ParentPBEntityKey | integer |
Required Range: inclusive between 1 and 2147483647 |
|
ChildPBEntityKey | integer |
Required |
|
ChildName | string |
None. |
|
ParentName | string |
None. |
|
ResetWaitingPeriod | boolean |
None. |
|
IsActive | boolean |
None. |
|
InEffect | date |
Required |
|
OutOfEffect | date |
None. |
|
WhoLastChanged | string |
None. |
|
WhenLastChanged | date |
None. |
|
TerminationDate | date |
None. |
|
EarliestAffiliationDate | date |
None. |
|
NewHireEligible | boolean |
None. |
|
NewHireLifeEventId | integer |
None. |
|
IsPending | boolean |
None. |
|
LastChanged | string |
None. |
|
OriginalHash | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyPBEntityKey": 1, "CompanyName": "sample string 2", "PBAffiliationKey": 3, "ParentPBEntityKey": 4, "ChildPBEntityKey": 5, "ChildName": "sample string 6", "ParentName": "sample string 7", "ResetWaitingPeriod": true, "IsActive": true, "InEffect": "2025-01-09T13:35:55.8389735-06:00", "OutOfEffect": "2025-01-09T13:35:55.8389735-06:00", "WhoLastChanged": "sample string 11", "WhenLastChanged": "2025-01-09T13:35:55.8389735-06:00", "TerminationDate": "2025-01-09T13:35:55.8389735-06:00", "EarliestAffiliationDate": "2025-01-09T13:35:55.8389735-06:00", "NewHireEligible": true, "NewHireLifeEventId": 14, "IsPending": true, "LastChanged": "sample string 11 - 01/09/2025", "OriginalHash": 16 }
application/xml, text/xml
Sample:
<Affiliation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models"> <OriginalHash>16</OriginalHash> <ChildName>sample string 6</ChildName> <ChildPBEntityKey>5</ChildPBEntityKey> <CompanyName>sample string 2</CompanyName> <CompanyPBEntityKey>1</CompanyPBEntityKey> <EarliestAffiliationDate>2025-01-09T13:35:55.8389735-06:00</EarliestAffiliationDate> <InEffect>2025-01-09T13:35:55.8389735-06:00</InEffect> <IsActive>true</IsActive> <IsPending>true</IsPending> <NewHireEligible>true</NewHireEligible> <NewHireLifeEventId>14</NewHireLifeEventId> <OutOfEffect>2025-01-09T13:35:55.8389735-06:00</OutOfEffect> <PBAffiliationKey>3</PBAffiliationKey> <ParentName>sample string 7</ParentName> <ParentPBEntityKey>4</ParentPBEntityKey> <ResetWaitingPeriod>true</ResetWaitingPeriod> <TerminationDate>2025-01-09T13:35:55.8389735-06:00</TerminationDate> <WhenLastChanged>2025-01-09T13:35:55.8389735-06:00</WhenLastChanged> <WhoLastChanged>sample string 11</WhoLastChanged> </Affiliation>
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.