Contents
Report Download
Request | |
---|---|
Method | GET |
Target |
https://console.connatix.com/api/reports/download/<id> <id>: report identifier (required) |
Headers | content-type: application/json |
cookie: ConnatixAuth=<connatix_auth_cookie_value> | |
Body | Empty |
In case of success, server's response has status code 200 OK and include in the body a JSON object with last refresh timestamp (formatted as yyyy-MM-ddTHH:mm:ssZ) and an URL for downloading the report as a CSV file.
Response | |
---|---|
Status | HTTP Status Code |
Headers | set-cookie: ConnatixAuth=<connatix_auth_cookie_value> |
Body | { Timestamp: date string, Url: string} |
EXAMPLE & OUTPUT
curl -X GET 'https://console.connatix.com/api/reports/download/12356' -H 'content-type: application/json' -H 'Cookie: ConnatixAuth=s_Gnr-L7Cv8uUP0nWreE83nVx2ZPmUGiuhhSN3B7VfCFQyBKmIaj-2c9DiLyesLMWTdpoP2sLJOBRgsafdF6TAAOSHAzdddjyhuTLPWqpdAGLIWgvEMN2E5E5HbyN1-DM_MbM4z104x99bJ8T1ttLPqQKqSL5iQoY9nOxaY7wVH94MU6_WjffL8800naQR0_o5aWGAUhYRr41q5LyvJNxRa1L3E71dxykD-TloxMhDtYbkmeXlZMFBSOGhb_UWURe5pYKu3enYsbcE9cc0B4Jruxoy4nvO3i99-oEQ5uqfuqRgUjVihF_cPzHJiiChX430T_pP6Rk4akJ_H0lykBcTMiKgLY14Gw1oT1LhIGufJA_Dfam5JH1I12wnOPxGrX0uMqW7ZWABB3PD9BARIL9ZFbSOz_GT2wUhy6IbY-fflkugdFaSJK42VIwqc0UYc5aPNMGgdudIzHtc5sX3AsO8914-TbNRC79zw00nrz68LNM2bzUervlibFmf5r4ZxO3PfE1A'
HTTP/1.1 200 OK
{"Url":"https://connatix-reports.s3.amazonaws.com/81F3AB97-745E-48B5-B7A1-556933115B8E.csv?AWSAccessKeyId=ZKIAJ1PM2UCPBTR5Y8RQ\u0026Expires=1495032166\u0026Signature=QGgkWLRLXMXIxIp54LSORGjih60%3D"}
Comments
Please sign in to leave a comment.