GET api/customer/GetCustomerByID/{customerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerProfileDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| CustomerTypeID | integer |
None. |
|
| CustomerStatusID | integer |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| MobilePhone | string |
None. |
|
| WebAlias | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"CustomerTypeID": 1,
"CustomerStatusID": 1,
"Email": "sample string 4",
"Phone": "sample string 5",
"MobilePhone": "sample string 6",
"WebAlias": "sample string 7"
}
application/xml, text/xml
Sample:
<CustomerProfileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO"> <CustomerID>1</CustomerID> <CustomerStatusID>1</CustomerStatusID> <CustomerTypeID>1</CustomerTypeID> <Email>sample string 4</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <MobilePhone>sample string 6</MobilePhone> <Phone>sample string 5</Phone> <WebAlias>sample string 7</WebAlias> </CustomerProfileDto>