POST api/Product

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
productcode

string

None.

nyname

string

None.

jixing

string

None.

nyleibie

string

None.

gp

string

None.

duxing

string

None.

netwt

string

None.

nydjzhao

string

None.

djzchiyouren

string

None.

componentcontent

string

None.

pps

string

None.

shiyongfanwei

string

None.

shiyongfangfa

string

None.

zdjijiucuoshi

string

None.

storeupandmot

string

None.

warning

string

None.

dengJiLeiBie

string

None.

shengChanLeiXing

string

None.

productSPEC

string

None.

dangqianshenmaxuhao

string

None.

companyid

string

None.

ShengChanRen

string

None.

SBName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "productcode": "sample string 1",
  "nyname": "sample string 2",
  "jixing": "sample string 3",
  "nyleibie": "sample string 4",
  "gp": "sample string 5",
  "duxing": "sample string 6",
  "netwt": "sample string 7",
  "nydjzhao": "sample string 8",
  "djzchiyouren": "sample string 9",
  "componentcontent": "sample string 10",
  "pps": "sample string 11",
  "shiyongfanwei": "sample string 12",
  "shiyongfangfa": "sample string 13",
  "zdjijiucuoshi": "sample string 14",
  "storeupandmot": "sample string 15",
  "warning": "sample string 16",
  "dengJiLeiBie": "sample string 17",
  "shengChanLeiXing": "sample string 18",
  "productSPEC": "sample string 19",
  "dangqianshenmaxuhao": "sample string 20",
  "companyid": "sample string 21",
  "ShengChanRen": "sample string 22",
  "SBName": "sample string 23"
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NongYaoManageServices.Controllers">
  <SBName>sample string 23</SBName>
  <ShengChanRen>sample string 22</ShengChanRen>
  <companyid>sample string 21</companyid>
  <componentcontent>sample string 10</componentcontent>
  <dangqianshenmaxuhao>sample string 20</dangqianshenmaxuhao>
  <dengJiLeiBie>sample string 17</dengJiLeiBie>
  <djzchiyouren>sample string 9</djzchiyouren>
  <duxing>sample string 6</duxing>
  <gp>sample string 5</gp>
  <jixing>sample string 3</jixing>
  <netwt>sample string 7</netwt>
  <nydjzhao>sample string 8</nydjzhao>
  <nyleibie>sample string 4</nyleibie>
  <nyname>sample string 2</nyname>
  <pps>sample string 11</pps>
  <productSPEC>sample string 19</productSPEC>
  <productcode>sample string 1</productcode>
  <shengChanLeiXing>sample string 18</shengChanLeiXing>
  <shiyongfangfa>sample string 13</shiyongfangfa>
  <shiyongfanwei>sample string 12</shiyongfanwei>
  <storeupandmot>sample string 15</storeupandmot>
  <warning>sample string 16</warning>
  <zdjijiucuoshi>sample string 14</zdjijiucuoshi>
</Product>

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 'Product'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.