ServiceStack Home (Live)

<back to all web services

PricingCores

The following routes are available for this service:
All Verbs/pricing-cores
GET/PricingCores
PricingCoresResponse Parameters:
NameParameterData TypeRequiredDescription
Cores04SubscriptionformSkuNo
Cores08SubscriptionformSkuNo
Cores16SubscriptionformSkuNo
ResponseStatusformResponseStatusNo
Sku Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProductIdformintNo
TypeformSkuTypeNo
FeatureformLicenseFeatureNo
CodeformstringNo
NameformstringNo
NotesformstringNo
MinQtyformint?No
MaxQtyformint?No
PriceformintNo
PlanformstringNo
DiscountOffformintNo
DiscountLabelOffformstringNo
ActualPriceformintNo
IsPlanformboolNo
IsRenewalformboolNo
SubscriptionDurationDaysformint?No
ExpiryDurationDaysformint?No
TrialPeriodDaysformint?No
SupportQtyformintNo
CoresQtyformint?No
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
LicenseTypeformLicenseTypeNo
ActiveformboolNo
SkuType Enum:
Product
PerDev
PerCore
Site
Support
Training
Register
Payment
LicenseFeature Enum:
NameValue
None0
Free0
Premium1
Text2
Client4
Common8
Redis16
RedisSku18
OrmLite32
OrmLiteSku34
ServiceStack64
Server128
Razor256
Admin512
Aws1024
AwsSku1026
All2047
LicenseType Enum:
Free
FreeIndividual
FreeOpenSource
Indie
Business
Enterprise
TextIndie
TextBusiness
OrmLiteIndie
OrmLiteBusiness
RedisIndie
RedisBusiness
AwsIndie
AwsBusiness
Trial
Site
TextSite
RedisSite
OrmLiteSite

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /pricing-cores HTTP/1.1 
Host: account.servicestack.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	cores04Subscription: 
	{
		id: 0,
		productId: 0,
		type: Product,
		feature: 0,
		code: String,
		name: String,
		notes: String,
		maxQty: 0,
		price: 0,
		plan: String,
		discountOff: 0,
		discountLabelOff: String,
		actualPrice: 0,
		isPlan: False,
		isRenewal: False,
		subscriptionDurationDays: 0,
		expiryDurationDays: 0,
		trialPeriodDays: 0,
		supportQty: 0,
		coresQty: 0,
		createdDate: 0001-01-01,
		modifiedDate: 0001-01-01,
		licenseType: Free,
		active: False
	},
	cores08Subscription: 
	{
		id: 0,
		productId: 0,
		type: Product,
		feature: 0,
		code: String,
		name: String,
		notes: String,
		maxQty: 0,
		price: 0,
		plan: String,
		discountOff: 0,
		discountLabelOff: String,
		actualPrice: 0,
		isPlan: False,
		isRenewal: False,
		subscriptionDurationDays: 0,
		expiryDurationDays: 0,
		trialPeriodDays: 0,
		supportQty: 0,
		coresQty: 0,
		createdDate: 0001-01-01,
		modifiedDate: 0001-01-01,
		licenseType: Free,
		active: False
	},
	cores16Subscription: 
	{
		id: 0,
		productId: 0,
		type: Product,
		feature: 0,
		code: String,
		name: String,
		notes: String,
		maxQty: 0,
		price: 0,
		plan: String,
		discountOff: 0,
		discountLabelOff: String,
		actualPrice: 0,
		isPlan: False,
		isRenewal: False,
		subscriptionDurationDays: 0,
		expiryDurationDays: 0,
		trialPeriodDays: 0,
		supportQty: 0,
		coresQty: 0,
		createdDate: 0001-01-01,
		modifiedDate: 0001-01-01,
		licenseType: Free,
		active: False
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}