POST staff/sale_accessary/list_wholesale

Request Information

URI Parameters

None.

Body Parameters

Request_Param_List
NameDescriptionTypeAdditional information
info

string

Required

page_num

integer

Required

from_date

string

Required

to_date

string

Required

token

string

Required

secret_key

string

Required

id_staff_action

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "info": "sample string 1",
  "page_num": 2,
  "from_date": "sample string 3",
  "to_date": "sample string 4",
  "token": "sample string 5",
  "secret_key": "sample string 6",
  "id_staff_action": 7
}

application/xml, text/xml

Sample:
<Request_Param_List xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code.Directory.Models.Request">
  <id_staff_action xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">7</id_staff_action>
  <secret_key xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 6</secret_key>
  <token xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 5</token>
  <from_date>sample string 3</from_date>
  <info>sample string 1</info>
  <page_num>2</page_num>
  <to_date>sample string 4</to_date>
</Request_Param_List>

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
status

integer

None.

error_code

string

None.

content

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "error_code": "sample string 2",
  "content": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">
  <content />
  <error_code>sample string 2</error_code>
  <status>1</status>
</Result>