Skip to content

Data user second export

GET v1/ad/provider/data/:provider_id/:user_id/second/export

Request

namenecessarytypedefaultdescribe
start_datefalsestring-数据范围-开始时间(data range - start date)
end_datefalsestring-数据范围-结束时间(data range - end date)

Response data struct

namenecessarytypedefaultdescribe
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)
-urltruestring-下载链接(download url)

Example

  • Url params: v1/ad/data/38/second/export

  • Query Params: | key | value | | --- | --- | | start_date | 2022-11-01 | | end_date | 2022-11-02 |

  • Header:

keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "url": "https://api-somnoon.com/v1/static/RawData-second-38-20221104111300tazcpUdb.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgxMzYzODAsInNpZ24iOiJSYXdEYXRhLXNlY29uZC0zOC0yMDIyMTEwNDExMTMwMHRhemNwVWRiLnhsc3gifQ.oY08dhCPBh8ppxJ_qeFND4EkDBgOtJ2wl-wNF8qGapU"
    }
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "url": "https://api-somnoon.com/v1/static/RawData-second-38-20221104111300tazcpUdb.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjgxMzYzODAsInNpZ24iOiJSYXdEYXRhLXNlY29uZC0zOC0yMDIyMTEwNDExMTMwMHRhemNwVWRiLnhsc3gifQ.oY08dhCPBh8ppxJ_qeFND4EkDBgOtJ2wl-wNF8qGapU"
    }
}