POST api/ProductSubscription/ReactivateSubscription

To reactivate the subscription for student products

Request Information

URI Parameters

None.

Body Parameters

ProductSubscriptionInput
NameDescriptionTypeAdditional information
StudentProductId

integer

None.

CardDetails

IMS_Payments

None.

UserId

integer

None.

UserType

string

None.

AutoRenewal

boolean

None.

IsExtension

boolean

None.

FeeAdj

Collection of StudentsFeeAdjustments

None.

isOnlySubmit

boolean

None.

isPayByStudent

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'FeeAdj[0].StudentFeeAdjustmentList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ImsApi.Models.StudentsFeeAdjustments'. Path 'FeeAdj[0].StudentFeeAdjustmentList'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductSubscriptionInput'.

Response Information

Resource Description

ProductSubscriptionData
NameDescriptionTypeAdditional information
StudentId

integer

None.

StudentOrderId

integer

None.

StudentProductId

integer

None.

SubscriptionId

Inserted SubscriptionId

integer

None.

YearAccess

integer

None.

MonthAccess

integer

None.

StartDate

date

None.

EndDate

date

None.

LastSubscriptionStartDate

date

None.

LastSubscriptionEndDate

date

None.

SubscriptionFee

decimal number

None.

EnableAutoRenewal

Wether subscriotion updated successfully or not

boolean

None.

IsSubscribable

boolean

None.

IsFirstSubscription

boolean

None.

SubscriptionStatus

boolean

None.

SubscriptionPaymentStatus

boolean

None.

SubscriptionStatusMessage

Success/Failure message

string

None.

SubscriptionPaymentMessage

string

None.

CorporateId

integer

None.

CollectFeeFromStudent

boolean

None.

SubscriptionStatusId

used for save the subscription log

integer

None.

ProductName

string

None.

UserId

integer

None.

UserType

string

None.

TaxAmount

decimal number

None.

StudentOrderItemTaxInfoId

integer

None.

ErrorResponse

string

None.

IsInvalidAddress

boolean

None.

RedirectUrl

string

None.

IsTaxExempted

boolean

None.

IsTaxApplicable

boolean

None.

CurrentSubscriptionFee

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "StudentOrderId": 2,
  "StudentProductId": 3,
  "SubscriptionId": 4,
  "YearAccess": 5,
  "MonthAccess": 6,
  "StartDate": "2026-04-02T20:49:41.7916086-04:00",
  "EndDate": "2026-04-02T20:49:41.7916086-04:00",
  "LastSubscriptionStartDate": "2026-04-02T20:49:41.7916086-04:00",
  "LastSubscriptionEndDate": "2026-04-02T20:49:41.7916086-04:00",
  "SubscriptionFee": 11.0,
  "EnableAutoRenewal": true,
  "IsSubscribable": true,
  "IsFirstSubscription": true,
  "SubscriptionStatus": true,
  "SubscriptionPaymentStatus": true,
  "SubscriptionStatusMessage": "sample string 17",
  "SubscriptionPaymentMessage": "sample string 18",
  "CorporateId": 19,
  "CollectFeeFromStudent": true,
  "SubscriptionStatusId": 21,
  "ProductName": "sample string 22",
  "UserId": 23,
  "UserType": "sample string 24",
  "TaxAmount": 25.0,
  "StudentOrderItemTaxInfoId": 26,
  "ErrorResponse": "sample string 27",
  "IsInvalidAddress": true,
  "RedirectUrl": "sample string 29",
  "IsTaxExempted": true,
  "IsTaxApplicable": true,
  "CurrentSubscriptionFee": 32.0
}