GET api/Customers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerHistoryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Customer | CustomerDTO |
None. |
|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Customer": null,
"isSuccess": true,
"message": "sample string 2"
}
text/html
Sample:
{"Customer":null,"isSuccess":true,"message":"sample string 2"}
application/xml, text/xml
Sample:
<CustomerHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <isSuccess>true</isSuccess> <message>sample string 2</message> <Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gregsys.DTO" i:nil="true" /> </CustomerHistoryResponse>