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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

UserRole

integer

Required

Body Parameters

AdminSubscriptionHistoryViewModel
NameDescriptionTypeAdditional information
SubscriptionHistoryId

integer

None.

ProductId

integer

None.

ProductName

string

None.

SubscriberId

integer

None.

SubscriberName

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

SubscriptionDate

date

None.

ExpirationDate

date

None.

NextBillingDate

date

None.

Note

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

PaymentMethod

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionHistoryId": 1,
  "ProductId": 2,
  "ProductName": "sample string 3",
  "SubscriberId": 4,
  "SubscriberName": "sample string 5",
  "CreatedBy": 6,
  "CreatedOn": "2026-04-15T18:53:22.0855199+00:00",
  "SubscriptionDate": "2026-04-15T18:53:22.0855199+00:00",
  "ExpirationDate": "2026-04-15T18:53:22.0855199+00:00",
  "NextBillingDate": "2026-04-15T18:53:22.0855199+00:00",
  "Note": "sample string 7",
  "IsActive": true,
  "IsDeleted": true,
  "PaymentMethod": 1
}

application/xml, text/xml

Sample:
<AdminSubscriptionHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin">
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2026-04-15T18:53:22.0855199+00:00</CreatedOn>
  <ExpirationDate>2026-04-15T18:53:22.0855199+00:00</ExpirationDate>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <NextBillingDate>2026-04-15T18:53:22.0855199+00:00</NextBillingDate>
  <Note>sample string 7</Note>
  <PaymentMethod>1</PaymentMethod>
  <ProductId>2</ProductId>
  <ProductName>sample string 3</ProductName>
  <SubscriberId>4</SubscriberId>
  <SubscriberName>sample string 5</SubscriberName>
  <SubscriptionDate>2026-04-15T18:53:22.0855199+00:00</SubscriptionDate>
  <SubscriptionHistoryId>1</SubscriptionHistoryId>
</AdminSubscriptionHistoryViewModel>

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.