Appearance
Provider data user day export
GET
/v1/ad/provider/data/:provider_id/:user_id/day/export
Request
name | necessary | type | default | describe |
---|---|---|---|---|
start_date | false | string | - | 数据范围-开始时间(data range - start date) |
end_date | false | string | - | 数据范围-结束时间(data range - end date) |
Response data struct
name | necessary | type | default | describe |
---|---|---|---|---|
code | true | int | - | 错误码(error code) |
message | true | string | - | 错误信息(error message) |
cause | true | string | - | 错误原因(error cause) |
details | true | object | - | 详情(details) |
-url | true | string | - | 下载链接(download url) |
Example
- Query Params:
key | value |
---|---|
start_date | 2022-10-01 |
end_date | 2022-10-31 |
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"url": "http://api-somnoon.com/v1/static/RawData-day-1-20221103193716NIbHj9SX.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgwODAyMzYsInNpZ24iOiJSYXdEYXRhLWRheS0xLTIwMjIxMTAzMTkzNzE2TkliSGo5U1gueGxzeCJ9.d8kgAASaO4SQP0Dw_njDAhc-1ofBZ2DFUs0duEj_0Vg"
}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"url": "http://api-somnoon.com/v1/static/RawData-day-1-20221103193716NIbHj9SX.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgwODAyMzYsInNpZ24iOiJSYXdEYXRhLWRheS0xLTIwMjIxMTAzMTkzNzE2TkliSGo5U1gueGxzeCJ9.d8kgAASaO4SQP0Dw_njDAhc-1ofBZ2DFUs0duEj_0Vg"
}
}