GET api/accounts?regCode={regCode}

Get a list of all Accounts for an Operator

Request Information

URI Parameters

NameDescriptionTypeAdditional information
regCode

The registration code assigned to the tablet. Contained in RegistrationToken returned by "RequestRegistrationToken"

string

None.

Body Parameters

None.

Response Information

Resource Description

Get a list of all Accounts for an Operator

Collection of AccountInfo
NameDescriptionTypeAdditional information
AccountID

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountID": "sample string 1",
    "Name": "sample string 2"
  },
  {
    "AccountID": "sample string 1",
    "Name": "sample string 2"
  }
]

text/html

Sample:
[{"AccountID":"sample string 1","Name":"sample string 2"},{"AccountID":"sample string 1","Name":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfAccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GI.Tablet.Interface">
  <AccountInfo>
    <AccountID>sample string 1</AccountID>
    <Name>sample string 2</Name>
  </AccountInfo>
  <AccountInfo>
    <AccountID>sample string 1</AccountID>
    <Name>sample string 2</Name>
  </AccountInfo>
</ArrayOfAccountInfo>