Total Scheduled Messages
This request returns the total count of messages which are scheduled to be sent in a future time with respect to the time of the request.
HTTP Request
URL | Method | Description |
---|---|---|
https://app.tellody.com/CampaignCloud/Report/ScheduledMessageTile | GET | Get total scheduled messages |
Sample Request
#Retrieving the XSRF Token needed for Session
pingResponse = my_session.get("https://app.tellody.com/CampaignCloud/RememberMeController/ping")
#Import the X-XSRF-Token returned from RememberMeController/ping into the request headers
xsrfToken = pingResponse.headers.get("X-XSRF-TOKEN")
#HTTP request header
header = {"Content-Type" : "application/json", "X-XSRF-TOKEN" : xsrfToken}
url="https://app.tellody.com/CampaignCloud/Report/ScheduledMessageTile"
response = my_session.get(url,headers=header).json()
print(json.dumps(response,ensure_ascii=False))
Response
The response is an integer representing the number of messages that are in scheduled status with respect to the time of the request.
Errors
In case of an error, information may be derived by the HTTP Status in the result of each request (e.g. HTTP 400 – Bad Request).