GET api/Products/Demand/GetCustomer?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProductDemand_CustomerModel
NameDescriptionTypeAdditional information
Code

string

None.

TotalPrice

decimal number

None.

Area

decimal number

None.

Address

string

None.

CustomerFullName

string

None.

CustomerPhone

string

None.

EmployeeId

integer

None.

EmployeeName

string

None.

IsSale

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "totalPrice": 2.0,
  "area": 3.0,
  "address": "sample string 4",
  "customerFullName": "sample string 5",
  "customerPhone": "sample string 6",
  "employeeId": 7,
  "employeeName": "sample string 8",
  "isSale": true
}

application/xml, text/xml

Sample:
<ProductDemand_CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <Address>sample string 4</Address>
  <Area>3</Area>
  <Code>sample string 1</Code>
  <CustomerFullName>sample string 5</CustomerFullName>
  <CustomerPhone>sample string 6</CustomerPhone>
  <EmployeeId>7</EmployeeId>
  <EmployeeName>sample string 8</EmployeeName>
  <IsSale>true</IsSale>
  <TotalPrice>2</TotalPrice>
</ProductDemand_CustomerModel>