POST api/ExternalLineApi/OrderShirt
Request Information
URI Parameters
None.
Body Parameters
OrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| lineUserId | string |
None. |
|
| displayName | string |
None. |
|
| totalQty | integer |
None. |
|
| totalAmount | decimal number |
None. |
|
| remark | string |
None. |
|
| items | Collection of OrderItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"lineUserId": "sample string 1",
"displayName": "sample string 2",
"totalQty": 3,
"totalAmount": 4.0,
"remark": "sample string 5",
"items": [
{
"size": "sample string 1",
"qty": 2,
"unitPrice": 3.0,
"amount": 4.0
},
{
"size": "sample string 1",
"qty": 2,
"unitPrice": 3.0,
"amount": 4.0
}
]
}
application/xml, text/xml
Sample:
<OrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apideeliveproperty.Models">
<displayName>sample string 2</displayName>
<items>
<OrderItem>
<amount>4</amount>
<qty>2</qty>
<size>sample string 1</size>
<unitPrice>3</unitPrice>
</OrderItem>
<OrderItem>
<amount>4</amount>
<qty>2</qty>
<size>sample string 1</size>
<unitPrice>3</unitPrice>
</OrderItem>
</items>
<lineUserId>sample string 1</lineUserId>
<remark>sample string 5</remark>
<totalAmount>4</totalAmount>
<totalQty>3</totalQty>
</OrderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.