POST api/SupplierOrder/DoOrderSave

提交订单

Request Information

URI Parameters

None.

Body Parameters

orderInfo
NameDescriptionTypeAdditional information
LoginCode

登录账号

string

None.

orderlist

订单列表

Collection of BN_XSDD_KH

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginCode": "sample string 1",
  "orderlist": [
    {
      "id": "sample string 1",
      "ddbh": "sample string 2",
      "khbh": "sample string 3",
      "ldrq": "2021-07-26T00:45:23.1926528+08:00",
      "zdr": "sample string 4",
      "sh": true,
      "shr": "sample string 5",
      "shrq": "2021-07-26T00:45:23.1926528+08:00",
      "hh": 1,
      "spbh": "sample string 6",
      "spmc": "sample string 7",
      "jbdw": 1,
      "dw": "sample string 8",
      "ddsl": 1.0,
      "hsdj": 1.0,
      "sl": 1.0,
      "sksl": 1.0,
      "mxbz": "sample string 9",
      "spgg": "sample string 10",
      "ddcode": 11,
      "IsSend": true,
      "Com_Code": "sample string 12",
      "sccj": "sample string 13",
      "pzwh": "sample string 14",
      "jzl": 1.0
    },
    {
      "id": "sample string 1",
      "ddbh": "sample string 2",
      "khbh": "sample string 3",
      "ldrq": "2021-07-26T00:45:23.1926528+08:00",
      "zdr": "sample string 4",
      "sh": true,
      "shr": "sample string 5",
      "shrq": "2021-07-26T00:45:23.1926528+08:00",
      "hh": 1,
      "spbh": "sample string 6",
      "spmc": "sample string 7",
      "jbdw": 1,
      "dw": "sample string 8",
      "ddsl": 1.0,
      "hsdj": 1.0,
      "sl": 1.0,
      "sksl": 1.0,
      "mxbz": "sample string 9",
      "spgg": "sample string 10",
      "ddcode": 11,
      "IsSend": true,
      "Com_Code": "sample string 12",
      "sccj": "sample string 13",
      "pzwh": "sample string 14",
      "jzl": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<SupplierOrderController.orderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BN.SCM.WebAPI.Controllers">
  <LoginCode>sample string 1</LoginCode>
  <orderlist xmlns:d2p1="http://schemas.datacontract.org/2004/07/BN.SCM.Model">
    <d2p1:BN_XSDD_KH>
      <d2p1:Com_Code>sample string 12</d2p1:Com_Code>
      <d2p1:IsSend>true</d2p1:IsSend>
      <d2p1:ddbh>sample string 2</d2p1:ddbh>
      <d2p1:ddcode>11</d2p1:ddcode>
      <d2p1:ddsl>1</d2p1:ddsl>
      <d2p1:dw>sample string 8</d2p1:dw>
      <d2p1:hh>1</d2p1:hh>
      <d2p1:hsdj>1</d2p1:hsdj>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:jbdw>1</d2p1:jbdw>
      <d2p1:jzl>1</d2p1:jzl>
      <d2p1:khbh>sample string 3</d2p1:khbh>
      <d2p1:ldrq>2021-07-26T00:45:23.1926528+08:00</d2p1:ldrq>
      <d2p1:mxbz>sample string 9</d2p1:mxbz>
      <d2p1:pzwh>sample string 14</d2p1:pzwh>
      <d2p1:sccj>sample string 13</d2p1:sccj>
      <d2p1:sh>true</d2p1:sh>
      <d2p1:shr>sample string 5</d2p1:shr>
      <d2p1:shrq>2021-07-26T00:45:23.1926528+08:00</d2p1:shrq>
      <d2p1:sksl>1</d2p1:sksl>
      <d2p1:sl>1</d2p1:sl>
      <d2p1:spbh>sample string 6</d2p1:spbh>
      <d2p1:spgg>sample string 10</d2p1:spgg>
      <d2p1:spmc>sample string 7</d2p1:spmc>
      <d2p1:zdr>sample string 4</d2p1:zdr>
    </d2p1:BN_XSDD_KH>
    <d2p1:BN_XSDD_KH>
      <d2p1:Com_Code>sample string 12</d2p1:Com_Code>
      <d2p1:IsSend>true</d2p1:IsSend>
      <d2p1:ddbh>sample string 2</d2p1:ddbh>
      <d2p1:ddcode>11</d2p1:ddcode>
      <d2p1:ddsl>1</d2p1:ddsl>
      <d2p1:dw>sample string 8</d2p1:dw>
      <d2p1:hh>1</d2p1:hh>
      <d2p1:hsdj>1</d2p1:hsdj>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:jbdw>1</d2p1:jbdw>
      <d2p1:jzl>1</d2p1:jzl>
      <d2p1:khbh>sample string 3</d2p1:khbh>
      <d2p1:ldrq>2021-07-26T00:45:23.1926528+08:00</d2p1:ldrq>
      <d2p1:mxbz>sample string 9</d2p1:mxbz>
      <d2p1:pzwh>sample string 14</d2p1:pzwh>
      <d2p1:sccj>sample string 13</d2p1:sccj>
      <d2p1:sh>true</d2p1:sh>
      <d2p1:shr>sample string 5</d2p1:shr>
      <d2p1:shrq>2021-07-26T00:45:23.1926528+08:00</d2p1:shrq>
      <d2p1:sksl>1</d2p1:sksl>
      <d2p1:sl>1</d2p1:sl>
      <d2p1:spbh>sample string 6</d2p1:spbh>
      <d2p1:spgg>sample string 10</d2p1:spgg>
      <d2p1:spmc>sample string 7</d2p1:spmc>
      <d2p1:zdr>sample string 4</d2p1:zdr>
    </d2p1:BN_XSDD_KH>
  </orderlist>
</SupplierOrderController.orderInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

status:1:成功,0:失败; Rows:返回数据

ReturnData
NameDescriptionTypeAdditional information
status

返回状态:1:成功,0:失败

integer

None.

message

返回信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<ReturnData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BN.SCM.WebAPI.Models">
  <message>sample string 2</message>
  <status>1</status>
</ReturnData>