POST APIControllers/Policy/UpgradeDowngrade

Request Information

URI Parameters

None.

Body Parameters

UpgradeDowngradeModel
NameDescriptionTypeAdditional information
SecurityKey

string

None.

UpgradeDowngradeDate

date

None.

UpgradeMedicalPlanId

integer

None.

PetExtenders

Collection of UpgradePetExtenderModel

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityKey": "sample string 1",
  "UpgradeDowngradeDate": "2025-08-28T10:57:36.0530908+02:00",
  "UpgradeMedicalPlanId": 3,
  "PetExtenders": [
    {
      "DependantAccountId": 1,
      "MemberAccountId": 2,
      "ExtendedBenefitAccountId": 3,
      "UnitId": 4
    },
    {
      "DependantAccountId": 1,
      "MemberAccountId": 2,
      "ExtendedBenefitAccountId": 3,
      "UnitId": 4
    }
  ]
}

application/xml, text/xml

Sample:
<UpgradeDowngradeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models.Generated">
  <PetExtenders>
    <UpgradePetExtenderModel>
      <DependantAccountId>1</DependantAccountId>
      <ExtendedBenefitAccountId>3</ExtendedBenefitAccountId>
      <MemberAccountId>2</MemberAccountId>
      <UnitId>4</UnitId>
    </UpgradePetExtenderModel>
    <UpgradePetExtenderModel>
      <DependantAccountId>1</DependantAccountId>
      <ExtendedBenefitAccountId>3</ExtendedBenefitAccountId>
      <MemberAccountId>2</MemberAccountId>
      <UnitId>4</UnitId>
    </UpgradePetExtenderModel>
  </PetExtenders>
  <SecurityKey>sample string 1</SecurityKey>
  <UpgradeDowngradeDate>2025-08-28T10:57:36.0530908+02:00</UpgradeDowngradeDate>
  <UpgradeMedicalPlanId>3</UpgradeMedicalPlanId>
</UpgradeDowngradeModel>

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.