RetrieveAccountLicense

 

AccountService / RetrieveAccountLicense

 

Description: Retrieve account license

URL: http://{your-server-url}/api/v1/core/accounts/{accountid}/license

Method: GET

Token Required: True


Request Headers:
content-type: application/json or content-type: application/xml
token: {token}
Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Account.AccountResponse

Parameter Type
Response.License Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Accounts.License

Enums:
Field Name Values
Edition Nexus.AppSpace.Service.Contract.Model.Enums.Account.Edition Undefined = 0, Professional = 1, Team = 2
Feature Nexus.AppSpace.Service.Contract.Model.Enums.Account.Feature Undefined = 0, Stable = 2, Beta = 4, Developer = 8
Continent Nexus.AppSpace.Service.Contract.Model.Enums.Account.Continent Undefined = 0, Africa = 1, Antartica = 2, Asia = 3, Europe = 4, North_America = 5, Oceania = 6, South_America = 7

The following is an example response Xml body:
<AccountResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Account" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage>
  <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">
    <Error>
      <Code>String</Code>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
    </Error>
  </Errors>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status>
  <License xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Accounts">
    <a:ApplicationUsed>123</a:ApplicationUsed>
    <a:ContentSizeUsed>0</a:ContentSizeUsed>
    <a:Continent>South_America</a:Continent>
    <a:DMPPlayerUsed>123</a:DMPPlayerUsed>
    <a:Duration>123</a:Duration>
    <a:Edition>Team</a:Edition>
    <a:Feature>Developer</a:Feature>
    <a:Language>String</a:Language>
    <a:MaxApplications>123</a:MaxApplications>
    <a:MaxBandwidth>123</a:MaxBandwidth>
    <a:MaxDMPPlayers>123</a:MaxDMPPlayers>
    <a:MaxNetworks>123</a:MaxNetworks>
    <a:MaxPlayers>123</a:MaxPlayers>
    <a:MaxSmartHubs>123</a:MaxSmartHubs>
    <a:MaxTotalContentSize>123</a:MaxTotalContentSize>
    <a:MaxUsers>123</a:MaxUsers>
    <a:MaxVideowall_NEXMPV10Players>123</a:MaxVideowall_NEXMPV10Players>
    <a:MaxVideowall_NEXMPV12Players>123</a:MaxVideowall_NEXMPV12Players>
    <a:MaxVideowall_NEXMPV24Players>123</a:MaxVideowall_NEXMPV24Players>
    <a:MaxVideowall_NEXMPV5Players>123</a:MaxVideowall_NEXMPV5Players>
    <a:MaxVideowall_NEXMPV6Players>123</a:MaxVideowall_NEXMPV6Players>
    <a:NetworkUsed>123</a:NetworkUsed>
    <a:PlayerUsed>123</a:PlayerUsed>
    <a:SmartHubUsed>123</a:SmartHubUsed>
    <a:TimeZone>String</a:TimeZone>
    <a:UserUsed>123</a:UserUsed>
    <a:Videowall_NEXMPV10PlayerUsed>123</a:Videowall_NEXMPV10PlayerUsed>
    <a:Videowall_NEXMPV12PlayerUsed>123</a:Videowall_NEXMPV12PlayerUsed>
    <a:Videowall_NEXMPV24PlayerUsed>123</a:Videowall_NEXMPV24PlayerUsed>
    <a:Videowall_NEXMPV5PlayerUsed>123</a:Videowall_NEXMPV5PlayerUsed>
    <a:Videowall_NEXMPV6PlayerUsed>123</a:Videowall_NEXMPV6PlayerUsed>
  </License>
</AccountResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"License":{
		"ApplicationUsed":123,
		"ContentSizeUsed":0,
		"Continent":7,
		"DMPPlayerUsed":123,
		"Duration":123,
		"Edition":2,
		"Feature":8,
		"Language":"String",
		"MaxApplications":123,
		"MaxBandwidth":123,
		"MaxDMPPlayers":123,
		"MaxNetworks":123,
		"MaxPlayers":123,
		"MaxSmartHubs":123,
		"MaxTotalContentSize":123,
		"MaxUsers":123,
		"MaxVideowall_NEXMPV10Players":123,
		"MaxVideowall_NEXMPV12Players":123,
		"MaxVideowall_NEXMPV24Players":123,
		"MaxVideowall_NEXMPV5Players":123,
		"MaxVideowall_NEXMPV6Players":123,
		"NetworkUsed":123,
		"PlayerUsed":123,
		"SmartHubUsed":123,
		"TimeZone":"String",
		"UserUsed":123,
		"Videowall_NEXMPV10PlayerUsed":123,
		"Videowall_NEXMPV12PlayerUsed":123,
		"Videowall_NEXMPV24PlayerUsed":123,
		"Videowall_NEXMPV5PlayerUsed":123,
		"Videowall_NEXMPV6PlayerUsed":123
	}
}