GET api/accounts/{accountID}?regCode={regCode}
Retrieve an Account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountID |
The accountID of the account for which information is requested. |
string |
Required |
| regCode |
The registration code assigned to the tablet. Contained in RegistrationToken returned by "RequestRegistrationToken" |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Retrieve an Account
AccountInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | string |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountID": "sample string 1",
"Name": "sample string 2"
}
text/html
Sample:
{"AccountID":"sample string 1","Name":"sample string 2"}
application/xml, text/xml
Sample:
<AccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GI.Tablet.Interface"> <AccountID>sample string 1</AccountID> <Name>sample string 2</Name> </AccountInfo>