stats.status
Get status of statistics of a given account and date range
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
|
} |
|
|
struct |
params { |
|
datetime |
dateFrom |
Start date (YYYY-MM-DD)
|
datetime |
dateTo |
End date (YYYY-MM-DD)
|
|
} |
|
|
Response
struct |
{ |
|
string |
statusMessage |
Status code description
|
string |
session |
Refreshed session
|
array |
days ( |
|
struct |
{ |
|
string |
status |
Textual status description:
-
preparing :
We are finalizing data. Data not complete and valid
-
complete :
Data are complete and valid
-
error :
We are uncertain about the validity of the data and need to review it. It can takes few hours or a day.
|
|
} |
|
|
|
) |
|
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics: