POST api/YS_SPXQ/SubBJ

提交报价数据

Request Information

URI Parameters

None.

Body Parameters

报价商品资料

subgoodsInfo
NameDescriptionTypeAdditional information
supcode

供应商编码

string

None.

gysbjzl

报价商品资料

Collection of BJMiddle

None.

Request Formats

application/json, text/json

Sample:
{
  "supcode": "sample string 1",
  "gysbjzl": [
    {
      "id": "sample string 1",
      "spbh": "sample string 2",
      "spmc": "sample string 3",
      "spcd": "sample string 4",
      "sccj": "sample string 5",
      "jx": "sample string 6",
      "tm": "sample string 7",
      "pzwh": "sample string 8",
      "spgg": "sample string 9",
      "dw": "sample string 10",
      "bjsl": 1.0,
      "spbj": 1.0,
      "bjgys": "sample string 11",
      "bjdID": "sample string 12",
      "endtime": "2021-07-25T23:25:36.7512436+08:00",
      "subtime": "2021-07-25T23:25:36.7512436+08:00",
      "fbzt": 1,
      "xqsl": 1.0
    },
    {
      "id": "sample string 1",
      "spbh": "sample string 2",
      "spmc": "sample string 3",
      "spcd": "sample string 4",
      "sccj": "sample string 5",
      "jx": "sample string 6",
      "tm": "sample string 7",
      "pzwh": "sample string 8",
      "spgg": "sample string 9",
      "dw": "sample string 10",
      "bjsl": 1.0,
      "spbj": 1.0,
      "bjgys": "sample string 11",
      "bjdID": "sample string 12",
      "endtime": "2021-07-25T23:25:36.7512436+08:00",
      "subtime": "2021-07-25T23:25:36.7512436+08:00",
      "fbzt": 1,
      "xqsl": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<YS_SPXQController.subgoodsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BN.SCM.WebAPI.Controllers">
  <gysbjzl xmlns:d2p1="http://schemas.datacontract.org/2004/07/BN.SCM.Model.Models">
    <d2p1:BJMiddle>
      <d2p1:bjdID>sample string 12</d2p1:bjdID>
      <d2p1:bjgys>sample string 11</d2p1:bjgys>
      <d2p1:bjsl>1</d2p1:bjsl>
      <d2p1:dw>sample string 10</d2p1:dw>
      <d2p1:endtime>2021-07-25T23:25:36.7512436+08:00</d2p1:endtime>
      <d2p1:fbzt>1</d2p1:fbzt>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:jx>sample string 6</d2p1:jx>
      <d2p1:pzwh>sample string 8</d2p1:pzwh>
      <d2p1:sccj>sample string 5</d2p1:sccj>
      <d2p1:spbh>sample string 2</d2p1:spbh>
      <d2p1:spbj>1</d2p1:spbj>
      <d2p1:spcd>sample string 4</d2p1:spcd>
      <d2p1:spgg>sample string 9</d2p1:spgg>
      <d2p1:spmc>sample string 3</d2p1:spmc>
      <d2p1:subtime>2021-07-25T23:25:36.7512436+08:00</d2p1:subtime>
      <d2p1:tm>sample string 7</d2p1:tm>
      <d2p1:xqsl>1</d2p1:xqsl>
    </d2p1:BJMiddle>
    <d2p1:BJMiddle>
      <d2p1:bjdID>sample string 12</d2p1:bjdID>
      <d2p1:bjgys>sample string 11</d2p1:bjgys>
      <d2p1:bjsl>1</d2p1:bjsl>
      <d2p1:dw>sample string 10</d2p1:dw>
      <d2p1:endtime>2021-07-25T23:25:36.7512436+08:00</d2p1:endtime>
      <d2p1:fbzt>1</d2p1:fbzt>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:jx>sample string 6</d2p1:jx>
      <d2p1:pzwh>sample string 8</d2p1:pzwh>
      <d2p1:sccj>sample string 5</d2p1:sccj>
      <d2p1:spbh>sample string 2</d2p1:spbh>
      <d2p1:spbj>1</d2p1:spbj>
      <d2p1:spcd>sample string 4</d2p1:spcd>
      <d2p1:spgg>sample string 9</d2p1:spgg>
      <d2p1:spmc>sample string 3</d2p1:spmc>
      <d2p1:subtime>2021-07-25T23:25:36.7512436+08:00</d2p1:subtime>
      <d2p1:tm>sample string 7</d2p1:tm>
      <d2p1:xqsl>1</d2p1:xqsl>
    </d2p1:BJMiddle>
  </gysbjzl>
  <supcode>sample string 1</supcode>
</YS_SPXQController.subgoodsInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.