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