POST api/adminsubscribers/changeSubscriptions?UserId={UserId}&UserRole={UserRole}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

UserRole

integer

Required

Body Parameters

SwitchSubscription
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

SubscriptionId

integer

None.

OldProductId

integer

None.

NewProductId

integer

None.

SubscriptionStartDate

date

None.

SubscriptionActiveStatus

boolean

None.

RefundIfExistHighAmt

boolean

None.

ChargeIfLowerAmt

boolean

None.

ChargeAmt

decimal number

None.

RefundAmt

decimal number

None.

IsRecurring

boolean

None.

AllowRefund

boolean

None.

AllowCharge

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriberId": 1,
  "SubscriptionId": 2,
  "OldProductId": 3,
  "NewProductId": 4,
  "SubscriptionStartDate": "2026-04-15T18:47:55.3749015+00:00",
  "SubscriptionActiveStatus": true,
  "RefundIfExistHighAmt": true,
  "ChargeIfLowerAmt": true,
  "ChargeAmt": 9.1,
  "RefundAmt": 10.1,
  "IsRecurring": true,
  "AllowRefund": true,
  "AllowCharge": true
}

application/xml, text/xml

Sample:
<SwitchSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.Models">
  <AllowCharge>true</AllowCharge>
  <AllowRefund>true</AllowRefund>
  <ChargeAmt>9.1</ChargeAmt>
  <ChargeIfLowerAmt>true</ChargeIfLowerAmt>
  <IsRecurring>true</IsRecurring>
  <NewProductId>4</NewProductId>
  <OldProductId>3</OldProductId>
  <RefundAmt>10.1</RefundAmt>
  <RefundIfExistHighAmt>true</RefundIfExistHighAmt>
  <SubscriberId>1</SubscriberId>
  <SubscriptionActiveStatus>true</SubscriptionActiveStatus>
  <SubscriptionId>2</SubscriptionId>
  <SubscriptionStartDate>2026-04-15T18:47:55.3749015+00:00</SubscriptionStartDate>
</SwitchSubscription>

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.