GET api/CustomerDemand/Demand/GetCustomer?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerDemand_CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| CustomerFullName | string |
None. |
|
| CustomerPhone | string |
None. |
|
| EmployeeId | integer |
None. |
|
| EmployeeName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"code": "sample string 2",
"customerFullName": "sample string 3",
"customerPhone": "sample string 4",
"employeeId": 5,
"employeeName": "sample string 6"
}
application/xml, text/xml
Sample:
<CustomerDemand_CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Customer"> <Code>sample string 2</Code> <CustomerFullName>sample string 3</CustomerFullName> <CustomerPhone>sample string 4</CustomerPhone> <EmployeeId>5</EmployeeId> <EmployeeName>sample string 6</EmployeeName> <Id>1</Id> </CustomerDemand_CustomerModel>