GET api/Customers
Returns all the customers.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "CustomerId": 1, "Name": "sample string 2", "ApiKey": "sample string 3", "Role": "sample string 4" }, { "CustomerId": 1, "Name": "sample string 2", "ApiKey": "sample string 3", "Role": "sample string 4" }, { "CustomerId": 1, "Name": "sample string 2", "ApiKey": "sample string 3", "Role": "sample string 4" } ]
text/javascript
Sample:
[{"CustomerId":1,"Name":"sample string 2","ApiKey":"sample string 3","Role":"sample string 4"},{"CustomerId":1,"Name":"sample string 2","ApiKey":"sample string 3","Role":"sample string 4"},{"CustomerId":1,"Name":"sample string 2","ApiKey":"sample string 3","Role":"sample string 4"}]
text/xml
Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaseTeam.AddressApi.Domain.Entities"> <Customer> <ApiKey>sample string 3</ApiKey> <CustomerId>1</CustomerId> <Name>sample string 2</Name> <Role>sample string 4</Role> </Customer> <Customer> <ApiKey>sample string 3</ApiKey> <CustomerId>1</CustomerId> <Name>sample string 2</Name> <Role>sample string 4</Role> </Customer> <Customer> <ApiKey>sample string 3</ApiKey> <CustomerId>1</CustomerId> <Name>sample string 2</Name> <Role>sample string 4</Role> </Customer> </ArrayOfCustomer>