Returns the information on the account

Request Information

Headers

NameDescriptionTypeAdditional information
Authentication

Authentication token

string

Required

URI Parameters

NameDescriptionTypeAdditional information
accountid

Account id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Account

None.

Success

boolean

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json

Samples:
Premium account:
{
  "Data": {
    "Id": "fa516117-9d6a-4eb0-b5c1-0ca80db618c4",
    "ExternalId": "externalid",
    "Type": "Premium",
    "AccountPlanId": 2,
    "Status": "Active",
    "FirstName": "First name",
    "LastName": "Last name",
    "Email": "someemail@gmail.com",
    "IframeStatsToken": "YWY1ZjUzNWMtNmI2Mi00ZWNmLWIxNmUtMGFkYmFiNjVjOTZh0",
    "IsLoyaltyProgramAccoun": false,
    "SubAccounts": [
      {
        "Id": "123f4072-9870-438d-818b-c7e56eff2601",
        "Type": "Basic",
        "AccountPlanId": 1,
        "Status": "Active",
        "ParentAccountId": "fa516117-9d6a-4eb0-b5c1-0ca80db618c4",
        "FirstName": "",
        "LastName": "",
        "IframeStatsToken": "YWY1ZjUzNWMtNmI2Mi00ZWNmLWIxNmUtMGFkYmFiNjVjOTZh0",
        "IsLoyaltyProgramAccoun": false,
        "Sites": [
          {
            "Id": 31385,
            "AccountId": "123f4072-9870-438d-818b-c7e56eff2601",
            "SiteDomainName": "somedomain",
            "SiteFullDomainName": "somedomain.inapp.mobi",
            "ExternalDomainNames": [],
            "Created": "2014-04-01T12:13:19.903"
          },
          {
            "Id": 31387,
            "AccountId": "123f4072-9870-438d-818b-c7e56eff2601",
            "SiteDomainName": "somedomain2",
            "SiteFullDomainName": "somedomain2.inapp.mobi",
            "ExternalDomainNames": [],
            "Created": "2014-04-01T12:13:19.903"
          }
        ]
      },
      {
        "Id": "124f4072-9870-438d-818b-c7e56eff2601",
        "Type": "Basic",
        "AccountPlanId": 1,
        "Status": "Active",
        "ParentAccountId": "fa516117-9d6a-4eb0-b5c1-0ca80db618c4",
        "FirstName": "",
        "LastName": "",
        "IframeStatsToken": "YWY1ZjUzNWMtNmI2Mi00ZWNmLWIxNmUtMGFkYmFiNjVjOTZh0",
        "IsLoyaltyProgramAccoun": false,
        "Sites": []
      }
    ]
  },
  "Success": true,
  "Messages": []
}
Basic account:
{
  "Data": {
    "Id": "073f4072-9870-438d-818b-c7e56eff2601",
    "ExternalId": "externalid",
    "Type": "Basic",
    "AccountPlanId": 1,
    "Status": "Active",
    "ParentAccountId": "0f0f72c9-c216-41aa-841e-e096fc741f6f",
    "FirstName": "First name",
    "LastName": "Last name",
    "Email": "someemail@gmail.com",
    "IframeStatsToken": "YWY1ZjUzNWMtNmI2Mi00ZWNmLWIxNmUtMGFkYmFiNjVjOTZh0",
    "IsLoyaltyProgramAccoun": false,
    "Sites": [
      {
        "Id": 31388,
        "AccountId": "073f4072-9870-438d-818b-c7e56eff2601",
        "SiteDomainName": "somedomain",
        "SiteFullDomainName": "somedomain.inapp.mobi",
        "ExternalDomainNames": [],
        "Created": "2014-04-01T12:13:19.903"
      }
    ]
  },
  "Success": true,
  "Messages": []
}