GET api/Account?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TenantID | globally unique identifier |
None. |
|
| CompanyLogo | Collection of byte |
None. |
|
| CompanyName | string |
None. |
|
| CountryCode | string |
None. |
|
| City | string |
None. |
|
| StreetAddress | string |
None. |
|
| PhoneNumber | string |
None. |
|
| EmailAddress | string |
None. |
|
| UseUnits | boolean |
None. |
|
| NumberOfUnits | integer |
None. |
|
| UseSeats | boolean |
None. |
|
| AccountBaseCost | decimal number |
None. |
|
| AccountSeatCost | decimal number |
None. |
|
| MasterAccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"TenantID": "6b6b0774-8221-413f-9801-c99610dba240",
"CompanyLogo": "QEA=",
"CompanyName": "sample string 3",
"CountryCode": "sample string 4",
"City": "sample string 5",
"StreetAddress": "sample string 6",
"PhoneNumber": "sample string 7",
"EmailAddress": "sample string 8",
"UseUnits": true,
"NumberOfUnits": 10,
"UseSeats": true,
"AccountBaseCost": 12.1,
"AccountSeatCost": 13.1,
"MasterAccess": true
}
application/xml, text/xml
Sample:
<AccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <AccountBaseCost>12.1</AccountBaseCost> <AccountSeatCost>13.1</AccountSeatCost> <City>sample string 5</City> <CompanyLogo>QEA=</CompanyLogo> <CompanyName>sample string 3</CompanyName> <CountryCode>sample string 4</CountryCode> <EmailAddress>sample string 8</EmailAddress> <ID>1</ID> <MasterAccess>true</MasterAccess> <NumberOfUnits>10</NumberOfUnits> <PhoneNumber>sample string 7</PhoneNumber> <StreetAddress>sample string 6</StreetAddress> <TenantID>6b6b0774-8221-413f-9801-c99610dba240</TenantID> <UseSeats>true</UseSeats> <UseUnits>true</UseUnits> </AccountDTO>