POST api/Agnet/GetOrderProductList?orderId={orderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderProductListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderInfo | OrderInfoModel |
None. |
|
| Content | Collection of OrderProductInfoModel |
None. |
|
| Total | integer |
None. |
|
| Code | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderInfo": {
"Id": 1,
"OrderCode": "sample string 2",
"MA001": "sample string 3",
"MA002": "sample string 4",
"MA015": "sample string 5",
"MA017": "sample string 6",
"Brand": "sample string 7",
"RepairId": 8,
"ShopName": "sample string 9",
"BossName": "sample string 10",
"Phone": "sample string 11",
"Address": "sample string 12",
"Qty": 13,
"Amount": 14.0,
"Note": "sample string 15",
"Status": 16,
"StatusName": "sample string 17",
"OrderTime": "sample string 18",
"OrderProductList": [
{
"Id": 1,
"OrderId": 2,
"MB001": "sample string 3",
"MB002": "sample string 4",
"MB003": "sample string 5",
"MA001": "sample string 6",
"MA002": "sample string 7",
"Unit": "sample string 8",
"Qty": 9,
"Price": 10.0
},
{
"Id": 1,
"OrderId": 2,
"MB001": "sample string 3",
"MB002": "sample string 4",
"MB003": "sample string 5",
"MA001": "sample string 6",
"MA002": "sample string 7",
"Unit": "sample string 8",
"Qty": 9,
"Price": 10.0
}
]
},
"Content": [
{
"Id": 1,
"OrderId": 2,
"MB001": "sample string 3",
"MB002": "sample string 4",
"MB003": "sample string 5",
"MA001": "sample string 6",
"MA002": "sample string 7",
"Unit": "sample string 8",
"Qty": 9,
"Price": 10.0
},
{
"Id": 1,
"OrderId": 2,
"MB001": "sample string 3",
"MB002": "sample string 4",
"MB003": "sample string 5",
"MA001": "sample string 6",
"MA002": "sample string 7",
"Unit": "sample string 8",
"Qty": 9,
"Price": 10.0
}
],
"Total": 2,
"Code": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<OrderProductListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Agent">
<Code>1</Code>
<Message>sample string 2</Message>
<Content>
<OrderProductInfoModel>
<Id>1</Id>
<MA001>sample string 6</MA001>
<MA002>sample string 7</MA002>
<MB001>sample string 3</MB001>
<MB002>sample string 4</MB002>
<MB003>sample string 5</MB003>
<OrderId>2</OrderId>
<Price>10</Price>
<Qty>9</Qty>
<Unit>sample string 8</Unit>
</OrderProductInfoModel>
<OrderProductInfoModel>
<Id>1</Id>
<MA001>sample string 6</MA001>
<MA002>sample string 7</MA002>
<MB001>sample string 3</MB001>
<MB002>sample string 4</MB002>
<MB003>sample string 5</MB003>
<OrderId>2</OrderId>
<Price>10</Price>
<Qty>9</Qty>
<Unit>sample string 8</Unit>
</OrderProductInfoModel>
</Content>
<OrderInfo>
<Address>sample string 12</Address>
<Amount>14</Amount>
<BossName>sample string 10</BossName>
<Brand>sample string 7</Brand>
<Id>1</Id>
<MA001>sample string 3</MA001>
<MA002>sample string 4</MA002>
<MA015>sample string 5</MA015>
<MA017>sample string 6</MA017>
<Note>sample string 15</Note>
<OrderCode>sample string 2</OrderCode>
<OrderProductList>
<OrderProductInfoModel>
<Id>1</Id>
<MA001>sample string 6</MA001>
<MA002>sample string 7</MA002>
<MB001>sample string 3</MB001>
<MB002>sample string 4</MB002>
<MB003>sample string 5</MB003>
<OrderId>2</OrderId>
<Price>10</Price>
<Qty>9</Qty>
<Unit>sample string 8</Unit>
</OrderProductInfoModel>
<OrderProductInfoModel>
<Id>1</Id>
<MA001>sample string 6</MA001>
<MA002>sample string 7</MA002>
<MB001>sample string 3</MB001>
<MB002>sample string 4</MB002>
<MB003>sample string 5</MB003>
<OrderId>2</OrderId>
<Price>10</Price>
<Qty>9</Qty>
<Unit>sample string 8</Unit>
</OrderProductInfoModel>
</OrderProductList>
<OrderTime>sample string 18</OrderTime>
<Phone>sample string 11</Phone>
<Qty>13</Qty>
<RepairId>8</RepairId>
<ShopName>sample string 9</ShopName>
<Status>16</Status>
<StatusName>sample string 17</StatusName>
</OrderInfo>
</OrderProductListModel>