POST api/CaiGou/DaoHuoSubmit

请求参数信息

URI 参数

None.

Body 参数

DaoHuoSaveModel
NameDescriptionTypeAdditional information
daohuolist

Collection of DaoHuoDingPostModel

None.

Request Formats

application/json, text/json

Sample:
{
  "daohuolist": [
    {
      "fid": "sample string 1",
      "eid": "sample string 2",
      "billdate": "sample string 3",
      "billno": "sample string 4",
      "mtrlcode": "sample string 5",
      "mtrlname": "sample string 6",
      "mtrlmodel": "sample string 7",
      "billqty": 8.0,
      "receiveqty": 9.0,
      "lackqty": 10.0,
      "orgname": "sample string 11",
      "beizhu": "sample string 12",
      "th": "sample string 13",
      "jldw": "sample string 14",
      "dengjiqty": 15.0
    },
    {
      "fid": "sample string 1",
      "eid": "sample string 2",
      "billdate": "sample string 3",
      "billno": "sample string 4",
      "mtrlcode": "sample string 5",
      "mtrlname": "sample string 6",
      "mtrlmodel": "sample string 7",
      "billqty": 8.0,
      "receiveqty": 9.0,
      "lackqty": 10.0,
      "orgname": "sample string 11",
      "beizhu": "sample string 12",
      "th": "sample string 13",
      "jldw": "sample string 14",
      "dengjiqty": 15.0
    }
  ]
}

application/xml, text/xml

Sample:
<DaoHuoSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JYSupply.Domain.ViewModel">
  <daohuolist>
    <DaoHuoDingPostModel>
      <beizhu>sample string 12</beizhu>
      <billdate>sample string 3</billdate>
      <billno>sample string 4</billno>
      <billqty>8</billqty>
      <dengjiqty>15</dengjiqty>
      <eid>sample string 2</eid>
      <fid>sample string 1</fid>
      <jldw>sample string 14</jldw>
      <lackqty>10</lackqty>
      <mtrlcode>sample string 5</mtrlcode>
      <mtrlmodel>sample string 7</mtrlmodel>
      <mtrlname>sample string 6</mtrlname>
      <orgname>sample string 11</orgname>
      <receiveqty>9</receiveqty>
      <th>sample string 13</th>
    </DaoHuoDingPostModel>
    <DaoHuoDingPostModel>
      <beizhu>sample string 12</beizhu>
      <billdate>sample string 3</billdate>
      <billno>sample string 4</billno>
      <billqty>8</billqty>
      <dengjiqty>15</dengjiqty>
      <eid>sample string 2</eid>
      <fid>sample string 1</fid>
      <jldw>sample string 14</jldw>
      <lackqty>10</lackqty>
      <mtrlcode>sample string 5</mtrlcode>
      <mtrlmodel>sample string 7</mtrlmodel>
      <mtrlname>sample string 6</mtrlname>
      <orgname>sample string 11</orgname>
      <receiveqty>9</receiveqty>
      <th>sample string 13</th>
    </DaoHuoDingPostModel>
  </daohuolist>
</DaoHuoSaveModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DaoHuoSaveModel'.

接口返回信息

返回信息说明

JMResponseOfString
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

data

string

None.

返回数据格式

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "data": "sample string 3"
}

application/xml, text/xml

Sample:
<JMResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JYSupply.APIApplication.Models">
  <code>sample string 1</code>
  <data>sample string 3</data>
  <msg>sample string 2</msg>
</JMResponseOfstring>