GET api/customers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Shared.CustomerDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| CountryId | integer |
None. |
|
| RowVersion | Collection of byte |
None. |
|
| TariffId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"CountryId": 3,
"RowVersion": "QEA=",
"TariffId": 4
},
{
"Id": 1,
"Name": "sample string 2",
"CountryId": 3,
"RowVersion": "QEA=",
"TariffId": 4
}
]
text/html
Sample:
[{"Id":1,"Name":"sample string 2","CountryId":3,"RowVersion":"QEA=","TariffId":4},{"Id":1,"Name":"sample string 2","CountryId":3,"RowVersion":"QEA=","TariffId":4}]
application/xml, text/xml
Sample:
<ArrayOfCustomerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Shared">
<CustomerDTO>
<CountryId>3</CountryId>
<Id>1</Id>
<Name>sample string 2</Name>
<RowVersion>QEA=</RowVersion>
<TariffId>4</TariffId>
</CustomerDTO>
<CustomerDTO>
<CountryId>3</CountryId>
<Id>1</Id>
<Name>sample string 2</Name>
<RowVersion>QEA=</RowVersion>
<TariffId>4</TariffId>
</CustomerDTO>
</ArrayOfCustomerDTO>