Skip to content

Provider user list export

GET v1/ad/provider/user/:provider_id/list/export

Request

namenecessarytypedefaultdescribe
usernamefalsestring-账号(account)
user_idfalsestring-用户id(user id)
statusfalseint-状态:0未加入,1正常(status: 0 not joined, 1normal)

Response data struct

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

Example

  • Url params: v1/ad/provider/user/20221129213412veTbeU2i/list/export

  • Header:

keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "url": "https://api-somnoon.com/v1/static/userList-20221205094752WzCH4pBK.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzA4MDk2NzIsInNpZ24iOiJ1c2VyTGlzdC0yMDIyMTIwNTA5NDc1Mld6Q0g0cEJLLnhsc3gifQ.xXX7NnIZeDcCSZnHQ6QEAmmZTNYP-yX4AvOooQa1EMY"
    }
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "url": "https://api-somnoon.com/v1/static/userList-20221205094752WzCH4pBK.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzA4MDk2NzIsInNpZ24iOiJ1c2VyTGlzdC0yMDIyMTIwNTA5NDc1Mld6Q0g0cEJLLnhsc3gifQ.xXX7NnIZeDcCSZnHQ6QEAmmZTNYP-yX4AvOooQa1EMY"
    }
}