POST v1/PrivateSales/getDataList

列表数据

Request Information

URI Parameters

None.

Body Parameters

PrivateSalesModel
NameDescriptionTypeAdditional information
user_id

用户编号

string

None.

shop_id

店铺ID,八公叔叔: 2; 卫仕: 17

string

None.

from_date

开始日期YYYY-MM-DD

string

None.

to_date

截止日期YYYY-MM-DD

string

None.

stat_type

数据类型

string

None.

data_type

数据类型:销售数据,引流数据

string

None.

data_class

统计类型:汇总, 电话, 抖音

string

None.

chart_type

销售数据(销售额,订单数,毛利润,复购额); 引流数据(拨打数,接通数,同意数(私信数),加粉数,加群数,领劵数,成交数,成交额)

string

None.

date_type

date_type(MONTH, DAY, WEEK)

string

None.

dated

日期

string

None.

order_amount

总销售额

string

None.

order_qty

总单数

string

None.

gross_profit

毛利润粗算

string

None.

multi_buy_amount

复购金额

string

None.

called_cnt

拨打

string

None.

connected_cnt

接通

string

None.

accept_cnt

同意(私信)

string

None.

add_fans_cnt

加粉

string

None.

add_group_cnt

加群数

string

None.

coupon_cnt

领券数

string

None.

dealed_cnt

成交数

string

None.

dealed_amount

成交金额

string

None.

stat_value

图表数据

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": "sample string 1",
  "shop_id": "sample string 2",
  "from_date": "sample string 3",
  "to_date": "sample string 4",
  "stat_type": "sample string 5",
  "data_type": "sample string 6",
  "data_class": "sample string 7",
  "chart_type": "sample string 8",
  "date_type": "sample string 9",
  "dated": "sample string 10",
  "order_amount": "sample string 11",
  "order_qty": "sample string 12",
  "gross_profit": "sample string 13",
  "multi_buy_amount": "sample string 14",
  "called_cnt": "sample string 15",
  "connected_cnt": "sample string 16",
  "accept_cnt": "sample string 17",
  "add_fans_cnt": "sample string 18",
  "add_group_cnt": "sample string 19",
  "coupon_cnt": "sample string 20",
  "dealed_cnt": "sample string 21",
  "dealed_amount": "sample string 22",
  "stat_value": 23.0
}

application/xml, text/xml

Sample:
<PrivateSalesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BgOA.Models.ViewModels">
  <accept_cnt>sample string 17</accept_cnt>
  <add_fans_cnt>sample string 18</add_fans_cnt>
  <add_group_cnt>sample string 19</add_group_cnt>
  <called_cnt>sample string 15</called_cnt>
  <chart_type>sample string 8</chart_type>
  <connected_cnt>sample string 16</connected_cnt>
  <coupon_cnt>sample string 20</coupon_cnt>
  <data_class>sample string 7</data_class>
  <data_type>sample string 6</data_type>
  <date_type>sample string 9</date_type>
  <dated>sample string 10</dated>
  <dealed_amount>sample string 22</dealed_amount>
  <dealed_cnt>sample string 21</dealed_cnt>
  <from_date>sample string 3</from_date>
  <gross_profit>sample string 13</gross_profit>
  <multi_buy_amount>sample string 14</multi_buy_amount>
  <order_amount>sample string 11</order_amount>
  <order_qty>sample string 12</order_qty>
  <shop_id>sample string 2</shop_id>
  <stat_type>sample string 5</stat_type>
  <stat_value>23</stat_value>
  <to_date>sample string 4</to_date>
  <user_id>sample string 1</user_id>
</PrivateSalesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfJObject
NameDescriptionTypeAdditional information
Result

Collection of Object

None.

ResultCode

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": null,
  "resultCode": "sample string 1",
  "errorMessage": "sample string 2"
}