POST api/Helper/ORDER_BATCH_EDIT
Request Information
URI Parameters
None.
Body Parameters
ZOrderBatchEditRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchCode | string |
None. |
|
| CustomerID | integer |
None. |
|
| SenderInfo | ZOrderBatchEditSenderInfoRequest |
None. |
|
| ReceiverInfo | ZOrderBatchEditReceiverInfoRequest |
None. |
|
| WareHouseID | integer |
None. |
|
| CollectionType | integer |
None. |
|
| TransportPayer | integer |
None. |
|
| TransportMainServiceID | integer |
None. |
|
| TransportExtraServiceID | string |
None. |
|
| TotalCOD | integer |
None. |
|
| Note | string |
None. |
|
| Channel | string |
None. |
|
| ListOrderInfo | Collection of ZOrderBatchEditOrderInfoRequest |
None. |
|
| ActionType | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| DeviceName | string |
None. |
|
| ShopID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BatchCode": "sample string 1",
"CustomerID": 2,
"SenderInfo": {
"FullName": "sample string 1",
"MobileNumber": "sample string 2",
"ProvinceID": 3,
"DistrictID": 4,
"WardID": 5,
"Street": "sample string 6",
"PickUpAddressID": 7
},
"ReceiverInfo": {
"FullName": "sample string 1",
"MobileNumber": "sample string 2",
"ProvinceID": 3,
"DistrictID": 4,
"WardID": 5,
"Street": "sample string 6",
"IsUpdatedCustomer": "sample string 7"
},
"WareHouseID": 3,
"CollectionType": 4,
"TransportPayer": 5,
"TransportMainServiceID": 6,
"TransportExtraServiceID": "sample string 7",
"TotalCOD": 8,
"Note": "sample string 9",
"Channel": "sample string 10",
"ListOrderInfo": [
{
"OrderID": 1,
"OrderCode": "sample string 2",
"OrderName": "sample string 3",
"OrderQuantity": 4,
"OrderValue": 5,
"TransportFee": 6,
"TotalAmount": 7,
"TotalDiscount": 8,
"Length": 9.1,
"Width": 10.1,
"Height": 11.1,
"Weight": 12.1,
"ExchangeWeight": 13.1,
"TotalPHU": 14,
"Message": "sample string 15",
"ListProductInfo": [
{
"ProductID": 1,
"VariantID": 2,
"Price": 3,
"NumberOfProduct": 4,
"Discount": 5
},
{
"ProductID": 1,
"VariantID": 2,
"Price": 3,
"NumberOfProduct": 4,
"Discount": 5
}
]
},
{
"OrderID": 1,
"OrderCode": "sample string 2",
"OrderName": "sample string 3",
"OrderQuantity": 4,
"OrderValue": 5,
"TransportFee": 6,
"TotalAmount": 7,
"TotalDiscount": 8,
"Length": 9.1,
"Width": 10.1,
"Height": 11.1,
"Weight": 12.1,
"ExchangeWeight": 13.1,
"TotalPHU": 14,
"Message": "sample string 15",
"ListProductInfo": [
{
"ProductID": 1,
"VariantID": 2,
"Price": 3,
"NumberOfProduct": 4,
"Discount": 5
},
{
"ProductID": 1,
"VariantID": 2,
"Price": 3,
"NumberOfProduct": 4,
"Discount": 5
}
]
}
],
"ActionType": "sample string 11",
"UpdatedBy": 12,
"DeviceName": "sample string 13",
"ShopID": 14
}
application/xml, text/xml
Sample:
<ZOrderBatchEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
<ActionType>sample string 11</ActionType>
<BatchCode>sample string 1</BatchCode>
<Channel>sample string 10</Channel>
<CollectionType>4</CollectionType>
<CustomerID>2</CustomerID>
<DeviceName>sample string 13</DeviceName>
<ListOrderInfo>
<ZOrderBatchEditOrderInfoRequest>
<ExchangeWeight>13.1</ExchangeWeight>
<Height>11.1</Height>
<Length>9.1</Length>
<ListProductInfo>
<ZOrderBatchEditProductInfoRequest>
<Discount>5</Discount>
<NumberOfProduct>4</NumberOfProduct>
<Price>3</Price>
<ProductID>1</ProductID>
<VariantID>2</VariantID>
</ZOrderBatchEditProductInfoRequest>
<ZOrderBatchEditProductInfoRequest>
<Discount>5</Discount>
<NumberOfProduct>4</NumberOfProduct>
<Price>3</Price>
<ProductID>1</ProductID>
<VariantID>2</VariantID>
</ZOrderBatchEditProductInfoRequest>
</ListProductInfo>
<Message>sample string 15</Message>
<OrderCode>sample string 2</OrderCode>
<OrderID>1</OrderID>
<OrderName>sample string 3</OrderName>
<OrderQuantity>4</OrderQuantity>
<OrderValue>5</OrderValue>
<TotalAmount>7</TotalAmount>
<TotalDiscount>8</TotalDiscount>
<TotalPHU>14</TotalPHU>
<TransportFee>6</TransportFee>
<Weight>12.1</Weight>
<Width>10.1</Width>
</ZOrderBatchEditOrderInfoRequest>
<ZOrderBatchEditOrderInfoRequest>
<ExchangeWeight>13.1</ExchangeWeight>
<Height>11.1</Height>
<Length>9.1</Length>
<ListProductInfo>
<ZOrderBatchEditProductInfoRequest>
<Discount>5</Discount>
<NumberOfProduct>4</NumberOfProduct>
<Price>3</Price>
<ProductID>1</ProductID>
<VariantID>2</VariantID>
</ZOrderBatchEditProductInfoRequest>
<ZOrderBatchEditProductInfoRequest>
<Discount>5</Discount>
<NumberOfProduct>4</NumberOfProduct>
<Price>3</Price>
<ProductID>1</ProductID>
<VariantID>2</VariantID>
</ZOrderBatchEditProductInfoRequest>
</ListProductInfo>
<Message>sample string 15</Message>
<OrderCode>sample string 2</OrderCode>
<OrderID>1</OrderID>
<OrderName>sample string 3</OrderName>
<OrderQuantity>4</OrderQuantity>
<OrderValue>5</OrderValue>
<TotalAmount>7</TotalAmount>
<TotalDiscount>8</TotalDiscount>
<TotalPHU>14</TotalPHU>
<TransportFee>6</TransportFee>
<Weight>12.1</Weight>
<Width>10.1</Width>
</ZOrderBatchEditOrderInfoRequest>
</ListOrderInfo>
<Note>sample string 9</Note>
<ReceiverInfo>
<DistrictID>4</DistrictID>
<FullName>sample string 1</FullName>
<IsUpdatedCustomer>sample string 7</IsUpdatedCustomer>
<MobileNumber>sample string 2</MobileNumber>
<ProvinceID>3</ProvinceID>
<Street>sample string 6</Street>
<WardID>5</WardID>
</ReceiverInfo>
<SenderInfo>
<DistrictID>4</DistrictID>
<FullName>sample string 1</FullName>
<MobileNumber>sample string 2</MobileNumber>
<PickUpAddressID>7</PickUpAddressID>
<ProvinceID>3</ProvinceID>
<Street>sample string 6</Street>
<WardID>5</WardID>
</SenderInfo>
<ShopID>14</ShopID>
<TotalCOD>8</TotalCOD>
<TransportExtraServiceID>sample string 7</TransportExtraServiceID>
<TransportMainServiceID>6</TransportMainServiceID>
<TransportPayer>5</TransportPayer>
<UpdatedBy>12</UpdatedBy>
<WareHouseID>3</WareHouseID>
</ZOrderBatchEditRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>