GET | /freelicense/{Ref} | ||
---|---|---|---|
GET | /GetFreeLicense |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ref | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LicenseName | form | string | No | |
LicenseRef | form | string | No | |
LicenseKey | form | string | No | |
LicenseType | form | LicenseType? | No | |
CreatedDate | form | DateTime? | No | |
ExpiryDate | form | DateTime? | No | |
ExternalRef | form | string | No | |
ResponseStatus | form | ResponseStatus | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /freelicense/{Ref} HTTP/1.1 Host: account.servicestack.net Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { licenseName: String, licenseRef: String, licenseKey: String, licenseType: Free, createdDate: 0001-01-01, expiryDate: 0001-01-01, externalRef: String, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }