Required role: | Admin |
All Verbs | /AdminUncancelSubscription |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LicenseRef | query | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CustomerId | form | int | No | |
form | string | No | ||
SkuId | form | int | No | |
SkuName | form | string | No | |
SkuType | form | SkuType | No | |
Code | form | string | No | |
Quantity | form | int | No | |
SupportQuantity | form | int | No | |
Total | form | int | No | |
IsPlan | form | bool | No | |
IsRenewal | form | bool | No | |
SubscriptionDurationDays | form | int | No | |
RenewalDate | form | DateTime? | No | |
LicenseRef | form | string | No | |
LicenseName | form | string | No | |
LicenseAddress | form | string | No | |
LicenseType | form | LicenseType | No | |
ExpiryDate | form | DateTime | No | |
LicenseKey | form | LicenseKey | No | |
LicenseKeyText | form | string | No | |
CreatedDate | form | DateTime | No | |
ModifiedDate | form | DateTime | No | |
CancelledDate | form | DateTime? | No | |
StripeSubscriptionId | form | string | No | |
EmailId | form | int? | No | |
EmailRenewalId | form | int? | No | |
EmailExpiredId | form | int? | No | |
RenewalSubscriptionId | form | int? | No | |
ExternalRef | form | string | No | |
Notes | form | string | No | |
Error | form | string | No |
Product | |
PerDev | |
PerCore | |
Site | |
Support | |
Training | |
Register | |
Payment |
Free | |
FreeIndividual | |
FreeOpenSource | |
Indie | |
Business | |
Enterprise | |
TextIndie | |
TextBusiness | |
OrmLiteIndie | |
OrmLiteBusiness | |
RedisIndie | |
RedisBusiness | |
AwsIndie | |
AwsBusiness | |
Trial | |
Site | |
TextSite | |
RedisSite | |
OrmLiteSite |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ref | form | string | No | |
Name | form | string | No | |
Type | form | LicenseType | No | |
Meta | form | long | No | |
Hash | form | string | No | |
Halg | form | string | No | |
Expiry | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AdminUncancelSubscription HTTP/1.1
Host: account.servicestack.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
licenseRef: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { id: 0, customerId: 0, email: String, skuId: 0, skuName: String, skuType: Product, code: String, quantity: 0, supportQuantity: 0, total: 0, isPlan: False, isRenewal: False, subscriptionDurationDays: 0, renewalDate: 0001-01-01, licenseRef: String, licenseName: String, licenseAddress: String, licenseType: Free, expiryDate: 0001-01-01, licenseKey: { ref: String, name: String, type: Free, meta: 0, hash: String, halg: String, expiry: 0001-01-01 }, licenseKeyText: String, createdDate: 0001-01-01, modifiedDate: 0001-01-01, cancelledDate: 0001-01-01, stripeSubscriptionId: String, emailId: 0, emailRenewalId: 0, emailExpiredId: 0, renewalSubscriptionId: 0, externalRef: String, notes: String, error: String }