POST Member/SaveAffiliationEdit

Request Information

URI Parameters

None.

Body Parameters

AffiliationEdit
NameDescriptionTypeAdditional information
isCobraQualifying

boolean

None.

affiliation

Affiliation

None.

Cobra

CobraEvent

None.

OriginalHash

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "isCobraQualifying": true,
  "affiliation": {
    "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:34:26.9169221-06:00",
    "OutOfEffect": "2025-01-09T13:34:26.9169221-06:00",
    "WhoLastChanged": "sample string 11",
    "WhenLastChanged": "2025-01-09T13:34:26.9169221-06:00",
    "TerminationDate": "2025-01-09T13:34:26.9169221-06:00",
    "EarliestAffiliationDate": "2025-01-09T13:34:26.9169221-06:00",
    "NewHireEligible": true,
    "NewHireLifeEventId": 14,
    "IsPending": true,
    "LastChanged": "sample string 11 - 01/09/2025",
    "OriginalHash": 16
  },
  "Cobra": {
    "Id": 1,
    "PBEntityKey": 2,
    "COBRAQualifyingEventKey": 3,
    "InEffect": "2025-01-09T13:34:26.9169221-06:00",
    "TerminationDate": "2025-01-09T13:34:26.9169221-06:00"
  },
  "OriginalHash": 2
}

application/xml, text/xml

Sample:
<AffiliationEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <OriginalHash>2</OriginalHash>
  <Cobra>
    <COBRAQualifyingEventKey>3</COBRAQualifyingEventKey>
    <Id>1</Id>
    <InEffect>2025-01-09T13:34:26.9169221-06:00</InEffect>
    <PBEntityKey>2</PBEntityKey>
    <TerminationDate>2025-01-09T13:34:26.9169221-06:00</TerminationDate>
  </Cobra>
  <affiliation>
    <OriginalHash>16</OriginalHash>
    <ChildName>sample string 6</ChildName>
    <ChildPBEntityKey>5</ChildPBEntityKey>
    <CompanyName>sample string 2</CompanyName>
    <CompanyPBEntityKey>1</CompanyPBEntityKey>
    <EarliestAffiliationDate>2025-01-09T13:34:26.9169221-06:00</EarliestAffiliationDate>
    <InEffect>2025-01-09T13:34:26.9169221-06:00</InEffect>
    <IsActive>true</IsActive>
    <IsPending>true</IsPending>
    <NewHireEligible>true</NewHireEligible>
    <NewHireLifeEventId>14</NewHireLifeEventId>
    <OutOfEffect>2025-01-09T13:34:26.9169221-06:00</OutOfEffect>
    <PBAffiliationKey>3</PBAffiliationKey>
    <ParentName>sample string 7</ParentName>
    <ParentPBEntityKey>4</ParentPBEntityKey>
    <ResetWaitingPeriod>true</ResetWaitingPeriod>
    <TerminationDate>2025-01-09T13:34:26.9169221-06:00</TerminationDate>
    <WhenLastChanged>2025-01-09T13:34:26.9169221-06:00</WhenLastChanged>
    <WhoLastChanged>sample string 11</WhoLastChanged>
  </affiliation>
  <isCobraQualifying>true</isCobraQualifying>
</AffiliationEdit>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.