Skip to content

third data upload api

NewYoung edited this page Aug 13, 2020 · 2 revisions

数据采集接口

URL

https://server:port/collector/async-batch/{operateType}/{dataKey}/{channelNo}

Format

JSON

Request Method

POST

Auth Required

false

PathVariable

name description required
operateType 操作类型(INSERT,UPDATE) true
dataKey 经加密的objectInfoCode的值 true
channelNo 第三方渠道号 true

RequestBody

[{uuid:“客户加密后的值”,anykey:"任意键值对"}]

Sample

request

POST https://server:port/collector/async-batch/INSERT/XXXXX/XXXXX
Accept: application/json
Content-Type: application/json
RequestBody: [{uuid:"xxx",requestPage:"/xxx/xxx",inPageTime:13213123123123,outPageTime:123123123123132}]

response

{status:"SUCCESS",data:1}