extractRateLimitHeaders(response, DIRECT_MESSAGES_SENT, updateInfo);
final int statusCode = response.getStatusLine().getStatusCode();
if (statusCode == 200) {
countSuccessfulApiCall(updateInfo.apiKey,
updateInfo.objectTypes, then, requestUrl);
ResponseHandler<String> responseHandler = new BasicResponseHandler();
String json = responseHandler.handleResponse(response);
JSONArray directMessages = JSONArray.fromObject(json);
if (directMessages!=null) {
updateInfo.setContext("sent", "1");
apiDataService.cacheApiDataJSON(updateInfo, json, -1, -1);
}