POST api/Helper/ORDER_BATCH_EDIT_INFO

Request Information

URI Parameters

None.

Body Parameters

ZOrderBatchEditInfoRequest
NameDescriptionTypeAdditional information
BatchCode

string

None.

ShopID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BatchCode": "sample string 1",
  "ShopID": 2
}

application/xml, text/xml

Sample:
<ZOrderBatchEditInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <BatchCode>sample string 1</BatchCode>
  <ShopID>2</ShopID>
</ZOrderBatchEditInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ZOrderBatchEditInfoResponse
NameDescriptionTypeAdditional information
BatchCode

string

None.

BuyerInfo

ZOrderBatchEditInfoBuyerInfoResponse

None.

SenderInfo

ZOrderBatchEditInfoSenderInfoResponse

None.

ReceiverInfo

ZOrderBatchEditInfoReceiverInfoResponse

None.

WareHouseID

integer

None.

CollectionType

integer

None.

TransportPayer

integer

None.

MainTransportServiceID

integer

None.

ExtraTransportServiceID

string

None.

TotalCOD

integer

None.

Note

string

None.

Channel

string

None.

ListOrderInfo

Collection of ZOrderBatchEditInfoOrderInfoResponse

None.

OrderStatus

string

None.

ShopID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BatchCode": "sample string 1",
  "BuyerInfo": {
    "FullName": "sample string 1",
    "MobileNumber": "sample string 2",
    "ProvinceID": 3,
    "DistrictID": 4,
    "WardID": 5,
    "Street": "sample string 6",
    "FullAddress": "sample string 7"
  },
  "SenderInfo": {
    "FullName": "sample string 1",
    "MobileNumber": "sample string 2",
    "ProvinceID": 3,
    "DistrictID": 4,
    "WardID": 5,
    "Street": "sample string 6",
    "FullAddress": "sample string 7",
    "PickUpAddressID": 8
  },
  "ReceiverInfo": {
    "FullName": "sample string 1",
    "MobileNumber": "sample string 2",
    "ProvinceID": 3,
    "DistrictID": 4,
    "WardID": 5,
    "Street": "sample string 6",
    "FullAddress": "sample string 7",
    "IsUpdatedCustomer": "sample string 8"
  },
  "WareHouseID": 2,
  "CollectionType": 3,
  "TransportPayer": 4,
  "MainTransportServiceID": 5,
  "ExtraTransportServiceID": "sample string 6",
  "TotalCOD": 7,
  "Note": "sample string 8",
  "Channel": "sample string 9",
  "ListOrderInfo": [
    {
      "OrderID": 1,
      "OrderCode": "sample string 2",
      "OrderName": "sample string 3",
      "OrderStatus": "sample string 4",
      "OrderQuantity": 5,
      "OrderValue": 6,
      "TransportFee": 7,
      "TotalAmount": 8,
      "Length": 9.1,
      "Width": 10.1,
      "Height": 11.1,
      "Weight": 12.1,
      "TotalPHU": 13,
      "Message": "sample string 14",
      "ListProductInfo": [
        {
          "ProductID": 1,
          "ProductName": "sample string 2",
          "VariantID": 3,
          "VariantName": "sample string 4",
          "NumberOfProduct": 5,
          "Price": 6,
          "Weight": 7.1,
          "Discount": 8
        },
        {
          "ProductID": 1,
          "ProductName": "sample string 2",
          "VariantID": 3,
          "VariantName": "sample string 4",
          "NumberOfProduct": 5,
          "Price": 6,
          "Weight": 7.1,
          "Discount": 8
        }
      ]
    },
    {
      "OrderID": 1,
      "OrderCode": "sample string 2",
      "OrderName": "sample string 3",
      "OrderStatus": "sample string 4",
      "OrderQuantity": 5,
      "OrderValue": 6,
      "TransportFee": 7,
      "TotalAmount": 8,
      "Length": 9.1,
      "Width": 10.1,
      "Height": 11.1,
      "Weight": 12.1,
      "TotalPHU": 13,
      "Message": "sample string 14",
      "ListProductInfo": [
        {
          "ProductID": 1,
          "ProductName": "sample string 2",
          "VariantID": 3,
          "VariantName": "sample string 4",
          "NumberOfProduct": 5,
          "Price": 6,
          "Weight": 7.1,
          "Discount": 8
        },
        {
          "ProductID": 1,
          "ProductName": "sample string 2",
          "VariantID": 3,
          "VariantName": "sample string 4",
          "NumberOfProduct": 5,
          "Price": 6,
          "Weight": 7.1,
          "Discount": 8
        }
      ]
    }
  ],
  "OrderStatus": "sample string 10",
  "ShopID": 11
}

application/xml, text/xml

Sample:
<ZOrderBatchEditInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <BatchCode>sample string 1</BatchCode>
  <BuyerInfo>
    <DistrictID>4</DistrictID>
    <FullAddress>sample string 7</FullAddress>
    <FullName>sample string 1</FullName>
    <MobileNumber>sample string 2</MobileNumber>
    <ProvinceID>3</ProvinceID>
    <Street>sample string 6</Street>
    <WardID>5</WardID>
  </BuyerInfo>
  <Channel>sample string 9</Channel>
  <CollectionType>3</CollectionType>
  <ExtraTransportServiceID>sample string 6</ExtraTransportServiceID>
  <ListOrderInfo>
    <ZOrderBatchEditInfoOrderInfoResponse>
      <Height>11.1</Height>
      <Length>9.1</Length>
      <ListProductInfo>
        <ZOrderBatchEditInfoOrderInfoProductInfoResponse>
          <Discount>8</Discount>
          <NumberOfProduct>5</NumberOfProduct>
          <Price>6</Price>
          <ProductID>1</ProductID>
          <ProductName>sample string 2</ProductName>
          <VariantID>3</VariantID>
          <VariantName>sample string 4</VariantName>
          <Weight>7.1</Weight>
        </ZOrderBatchEditInfoOrderInfoProductInfoResponse>
        <ZOrderBatchEditInfoOrderInfoProductInfoResponse>
          <Discount>8</Discount>
          <NumberOfProduct>5</NumberOfProduct>
          <Price>6</Price>
          <ProductID>1</ProductID>
          <ProductName>sample string 2</ProductName>
          <VariantID>3</VariantID>
          <VariantName>sample string 4</VariantName>
          <Weight>7.1</Weight>
        </ZOrderBatchEditInfoOrderInfoProductInfoResponse>
      </ListProductInfo>
      <Message>sample string 14</Message>
      <OrderCode>sample string 2</OrderCode>
      <OrderID>1</OrderID>
      <OrderName>sample string 3</OrderName>
      <OrderQuantity>5</OrderQuantity>
      <OrderStatus>sample string 4</OrderStatus>
      <OrderValue>6</OrderValue>
      <TotalAmount>8</TotalAmount>
      <TotalPHU>13</TotalPHU>
      <TransportFee>7</TransportFee>
      <Weight>12.1</Weight>
      <Width>10.1</Width>
    </ZOrderBatchEditInfoOrderInfoResponse>
    <ZOrderBatchEditInfoOrderInfoResponse>
      <Height>11.1</Height>
      <Length>9.1</Length>
      <ListProductInfo>
        <ZOrderBatchEditInfoOrderInfoProductInfoResponse>
          <Discount>8</Discount>
          <NumberOfProduct>5</NumberOfProduct>
          <Price>6</Price>
          <ProductID>1</ProductID>
          <ProductName>sample string 2</ProductName>
          <VariantID>3</VariantID>
          <VariantName>sample string 4</VariantName>
          <Weight>7.1</Weight>
        </ZOrderBatchEditInfoOrderInfoProductInfoResponse>
        <ZOrderBatchEditInfoOrderInfoProductInfoResponse>
          <Discount>8</Discount>
          <NumberOfProduct>5</NumberOfProduct>
          <Price>6</Price>
          <ProductID>1</ProductID>
          <ProductName>sample string 2</ProductName>
          <VariantID>3</VariantID>
          <VariantName>sample string 4</VariantName>
          <Weight>7.1</Weight>
        </ZOrderBatchEditInfoOrderInfoProductInfoResponse>
      </ListProductInfo>
      <Message>sample string 14</Message>
      <OrderCode>sample string 2</OrderCode>
      <OrderID>1</OrderID>
      <OrderName>sample string 3</OrderName>
      <OrderQuantity>5</OrderQuantity>
      <OrderStatus>sample string 4</OrderStatus>
      <OrderValue>6</OrderValue>
      <TotalAmount>8</TotalAmount>
      <TotalPHU>13</TotalPHU>
      <TransportFee>7</TransportFee>
      <Weight>12.1</Weight>
      <Width>10.1</Width>
    </ZOrderBatchEditInfoOrderInfoResponse>
  </ListOrderInfo>
  <MainTransportServiceID>5</MainTransportServiceID>
  <Note>sample string 8</Note>
  <OrderStatus>sample string 10</OrderStatus>
  <ReceiverInfo>
    <DistrictID>4</DistrictID>
    <FullAddress>sample string 7</FullAddress>
    <FullName>sample string 1</FullName>
    <IsUpdatedCustomer>sample string 8</IsUpdatedCustomer>
    <MobileNumber>sample string 2</MobileNumber>
    <ProvinceID>3</ProvinceID>
    <Street>sample string 6</Street>
    <WardID>5</WardID>
  </ReceiverInfo>
  <SenderInfo>
    <DistrictID>4</DistrictID>
    <FullAddress>sample string 7</FullAddress>
    <FullName>sample string 1</FullName>
    <MobileNumber>sample string 2</MobileNumber>
    <PickUpAddressID>8</PickUpAddressID>
    <ProvinceID>3</ProvinceID>
    <Street>sample string 6</Street>
    <WardID>5</WardID>
  </SenderInfo>
  <ShopID>11</ShopID>
  <TotalCOD>7</TotalCOD>
  <TransportPayer>4</TransportPayer>
  <WareHouseID>2</WareHouseID>
</ZOrderBatchEditInfoResponse>