GET api/Account
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "7c169fca-5054-4f39-b400-9e7eb03cfe6d",
"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
},
{
"ID": 1,
"TenantID": "7c169fca-5054-4f39-b400-9e7eb03cfe6d",
"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:
<ArrayOfAccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
<AccountDTO>
<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>7c169fca-5054-4f39-b400-9e7eb03cfe6d</TenantID>
<UseSeats>true</UseSeats>
<UseUnits>true</UseUnits>
</AccountDTO>
<AccountDTO>
<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>7c169fca-5054-4f39-b400-9e7eb03cfe6d</TenantID>
<UseSeats>true</UseSeats>
<UseUnits>true</UseUnits>
</AccountDTO>
</ArrayOfAccountDTO>