POST api/OrderOracleService/OrderCreate

Request Information

URI Parameters

None.

Body Parameters

Collection of SalesOrder
NameDescriptionTypeAdditional information
salesorderID

string

None.

shipto_customerid

string

None.

ordertype

string

None.

orderfrom

string

None.

expecttime

string

None.

deliveryaddress

string

None.

contact

string

None.

osaccountid

string

None.

dispatchtype

string

None.

customerpo

string

None.

remark

string

None.

Freight

string

None.

TotalAmount

string

None.

paymentmethod

integer

None.

orderchannel

integer

None.

orderstatus1

integer

None.

OrderDetail

Collection of SalesOrderDetail

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "salesorderID": "sample string 1",
    "shipto_customerid": "sample string 2",
    "ordertype": "sample string 3",
    "orderfrom": "sample string 4",
    "expecttime": "sample string 5",
    "deliveryaddress": "sample string 6",
    "contact": "sample string 7",
    "osaccountid": "sample string 8",
    "dispatchtype": "sample string 9",
    "customerpo": "sample string 10",
    "remark": "sample string 11",
    "Freight": "sample string 12",
    "TotalAmount": "sample string 13",
    "paymentmethod": 14,
    "orderchannel": 15,
    "orderstatus1": 16,
    "OrderDetail": [
      {
        "salesorderdetailID": "sample string 1",
        "productid": "sample string 2",
        "qty": "sample string 3",
        "price": "sample string 4",
        "amount": "sample string 5",
        "equipmentinfoid": "sample string 6",
        "Freight": "sample string 7",
        "RealTankLevel": "sample string 8",
        "RealCylinderAmount": "sample string 9",
        "returnamount": 10
      },
      {
        "salesorderdetailID": "sample string 1",
        "productid": "sample string 2",
        "qty": "sample string 3",
        "price": "sample string 4",
        "amount": "sample string 5",
        "equipmentinfoid": "sample string 6",
        "Freight": "sample string 7",
        "RealTankLevel": "sample string 8",
        "RealCylinderAmount": "sample string 9",
        "returnamount": 10
      }
    ]
  },
  {
    "salesorderID": "sample string 1",
    "shipto_customerid": "sample string 2",
    "ordertype": "sample string 3",
    "orderfrom": "sample string 4",
    "expecttime": "sample string 5",
    "deliveryaddress": "sample string 6",
    "contact": "sample string 7",
    "osaccountid": "sample string 8",
    "dispatchtype": "sample string 9",
    "customerpo": "sample string 10",
    "remark": "sample string 11",
    "Freight": "sample string 12",
    "TotalAmount": "sample string 13",
    "paymentmethod": 14,
    "orderchannel": 15,
    "orderstatus1": 16,
    "OrderDetail": [
      {
        "salesorderdetailID": "sample string 1",
        "productid": "sample string 2",
        "qty": "sample string 3",
        "price": "sample string 4",
        "amount": "sample string 5",
        "equipmentinfoid": "sample string 6",
        "Freight": "sample string 7",
        "RealTankLevel": "sample string 8",
        "RealCylinderAmount": "sample string 9",
        "returnamount": 10
      },
      {
        "salesorderdetailID": "sample string 1",
        "productid": "sample string 2",
        "qty": "sample string 3",
        "price": "sample string 4",
        "amount": "sample string 5",
        "equipmentinfoid": "sample string 6",
        "Freight": "sample string 7",
        "RealTankLevel": "sample string 8",
        "RealCylinderAmount": "sample string 9",
        "returnamount": 10
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Net.MSCrm.Model">
  <SalesOrder>
    <Freight>sample string 12</Freight>
    <OrderDetail>
      <SalesOrderDetail>
        <Freight>sample string 7</Freight>
        <RealCylinderAmount>sample string 9</RealCylinderAmount>
        <RealTankLevel>sample string 8</RealTankLevel>
        <amount>sample string 5</amount>
        <equipmentinfoid>sample string 6</equipmentinfoid>
        <price>sample string 4</price>
        <productid>sample string 2</productid>
        <qty>sample string 3</qty>
        <returnamount>10</returnamount>
        <salesorderdetailID>sample string 1</salesorderdetailID>
      </SalesOrderDetail>
      <SalesOrderDetail>
        <Freight>sample string 7</Freight>
        <RealCylinderAmount>sample string 9</RealCylinderAmount>
        <RealTankLevel>sample string 8</RealTankLevel>
        <amount>sample string 5</amount>
        <equipmentinfoid>sample string 6</equipmentinfoid>
        <price>sample string 4</price>
        <productid>sample string 2</productid>
        <qty>sample string 3</qty>
        <returnamount>10</returnamount>
        <salesorderdetailID>sample string 1</salesorderdetailID>
      </SalesOrderDetail>
    </OrderDetail>
    <TotalAmount>sample string 13</TotalAmount>
    <contact>sample string 7</contact>
    <customerpo>sample string 10</customerpo>
    <deliveryaddress>sample string 6</deliveryaddress>
    <dispatchtype>sample string 9</dispatchtype>
    <expecttime>sample string 5</expecttime>
    <orderchannel>15</orderchannel>
    <orderfrom>sample string 4</orderfrom>
    <orderstatus1>16</orderstatus1>
    <ordertype>sample string 3</ordertype>
    <osaccountid>sample string 8</osaccountid>
    <paymentmethod>14</paymentmethod>
    <remark>sample string 11</remark>
    <salesorderID>sample string 1</salesorderID>
    <shipto_customerid>sample string 2</shipto_customerid>
  </SalesOrder>
  <SalesOrder>
    <Freight>sample string 12</Freight>
    <OrderDetail>
      <SalesOrderDetail>
        <Freight>sample string 7</Freight>
        <RealCylinderAmount>sample string 9</RealCylinderAmount>
        <RealTankLevel>sample string 8</RealTankLevel>
        <amount>sample string 5</amount>
        <equipmentinfoid>sample string 6</equipmentinfoid>
        <price>sample string 4</price>
        <productid>sample string 2</productid>
        <qty>sample string 3</qty>
        <returnamount>10</returnamount>
        <salesorderdetailID>sample string 1</salesorderdetailID>
      </SalesOrderDetail>
      <SalesOrderDetail>
        <Freight>sample string 7</Freight>
        <RealCylinderAmount>sample string 9</RealCylinderAmount>
        <RealTankLevel>sample string 8</RealTankLevel>
        <amount>sample string 5</amount>
        <equipmentinfoid>sample string 6</equipmentinfoid>
        <price>sample string 4</price>
        <productid>sample string 2</productid>
        <qty>sample string 3</qty>
        <returnamount>10</returnamount>
        <salesorderdetailID>sample string 1</salesorderdetailID>
      </SalesOrderDetail>
    </OrderDetail>
    <TotalAmount>sample string 13</TotalAmount>
    <contact>sample string 7</contact>
    <customerpo>sample string 10</customerpo>
    <deliveryaddress>sample string 6</deliveryaddress>
    <dispatchtype>sample string 9</dispatchtype>
    <expecttime>sample string 5</expecttime>
    <orderchannel>15</orderchannel>
    <orderfrom>sample string 4</orderfrom>
    <orderstatus1>16</orderstatus1>
    <ordertype>sample string 3</ordertype>
    <osaccountid>sample string 8</osaccountid>
    <paymentmethod>14</paymentmethod>
    <remark>sample string 11</remark>
    <salesorderID>sample string 1</salesorderID>
    <shipto_customerid>sample string 2</shipto_customerid>
  </SalesOrder>
</ArrayOfSalesOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response 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>