POST api/Shop/GetGoods

Request Information

URI Parameters

None.

Body Parameters

GoodsParam
NameDescriptionTypeAdditional information
tcode

string

None.

bcode

string

None.

ccode

string

None.

qcode

string

None.

fcode

string

None.

siteid

string

None.

type

string

None.

orderby

string

None.

callback

string

None.

page

integer

None.

pagesize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tcode": "sample string 1",
  "bcode": "sample string 2",
  "ccode": "sample string 3",
  "qcode": "sample string 4",
  "fcode": "sample string 5",
  "siteid": "sample string 6",
  "type": "sample string 7",
  "orderby": "sample string 8",
  "callback": "sample string 9",
  "page": 10,
  "pagesize": 11
}

application/xml, text/xml

Sample:
<GoodsParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ti.WebApi.Models.Params">
  <bcode>sample string 2</bcode>
  <callback>sample string 9</callback>
  <ccode>sample string 3</ccode>
  <fcode>sample string 5</fcode>
  <orderby>sample string 8</orderby>
  <page>10</page>
  <pagesize>11</pagesize>
  <qcode>sample string 4</qcode>
  <siteid>sample string 6</siteid>
  <tcode>sample string 1</tcode>
  <type>sample string 7</type>
</GoodsParam>

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

Response Information

Resource Description

JsonResult
NameDescriptionTypeAdditional information
ContentEncoding

Encoding

None.

ContentType

string

None.

Data

Object

None.

JsonRequestBehavior

JsonRequestBehavior

None.

MaxJsonLength

integer

None.

RecursionLimit

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ContentEncoding": null,
  "ContentType": "sample string 1",
  "Data": {},
  "JsonRequestBehavior": 0,
  "MaxJsonLength": 1,
  "RecursionLimit": 1
}

application/xml, text/xml

Sample:
<JsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
  <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" />
  <ContentType>sample string 1</ContentType>
  <Data />
  <JsonRequestBehavior>AllowGet</JsonRequestBehavior>
  <MaxJsonLength>1</MaxJsonLength>
  <RecursionLimit>1</RecursionLimit>
</JsonResult>