POST api/order/SaveGiftAllocationWithOrderTourPlan
Request Information
URI Parameters
None.
Body Parameters
GiftAlocationWithOrderTourDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| giftAllocationList | Collection of SaveGiftAllocationWithOrderTour |
None. |
|
| EmployeeId | integer |
None. |
|
| SessionID | string |
None. |
|
| DeviceID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"giftAllocationList": [
{
"GiftId": 1,
"BusinessPartnerId": "sample string 2",
"ByEmployeeId": "sample string 3",
"Qty": 4,
"OrderId": 5,
"TourPlanDetailId": 6
},
{
"GiftId": 1,
"BusinessPartnerId": "sample string 2",
"ByEmployeeId": "sample string 3",
"Qty": 4,
"OrderId": 5,
"TourPlanDetailId": 6
}
],
"EmployeeId": 1,
"SessionID": "sample string 2",
"DeviceID": "sample string 3"
}
application/xml, text/xml
Sample:
<GiftAlocationWithOrderTourDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
<DeviceID>sample string 3</DeviceID>
<EmployeeId>1</EmployeeId>
<SessionID>sample string 2</SessionID>
<giftAllocationList>
<SaveGiftAllocationWithOrderTour>
<BusinessPartnerId>sample string 2</BusinessPartnerId>
<ByEmployeeId>sample string 3</ByEmployeeId>
<GiftId>1</GiftId>
<OrderId>5</OrderId>
<Qty>4</Qty>
<TourPlanDetailId>6</TourPlanDetailId>
</SaveGiftAllocationWithOrderTour>
<SaveGiftAllocationWithOrderTour>
<BusinessPartnerId>sample string 2</BusinessPartnerId>
<ByEmployeeId>sample string 3</ByEmployeeId>
<GiftId>1</GiftId>
<OrderId>5</OrderId>
<Qty>4</Qty>
<TourPlanDetailId>6</TourPlanDetailId>
</SaveGiftAllocationWithOrderTour>
</giftAllocationList>
</GiftAlocationWithOrderTourDTO>
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.