You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP code to implement then is(I don't have access to create a pull request):
/** Returns a list of all contacts who responsed a certain way during the specified time frame..
*
* @param string $type 'opened'|'not_opened'|'received'|'clicked'|'not_clicked' (a link in the email)
* |'bounced'|'hard_bounced'|'soft_bounced'|'block_bounced'
* @param string $start_date
* @param string $end_date
* @return Response
*/
public function getResponses($type, $start_date, $end_date)
{
return $this->send(HttpClient::POST, 'email/responses', array('type'=>$type, 'start_date'=>$start_date, 'end_date'=>$end_date));
}
/**
* returns report, requested by getResponses()
*
* @param $query_id
*
* @return Response
* @throws ServerException
*/
public function getResponsesReport($query_id){
return $this->send(HttpClient::GET, sprintf('email/responses/%s', $query_id));
}
The text was updated successfully, but these errors were encountered:
The next 2 endpoints are not implemented:
PHP code to implement then is(I don't have access to create a pull request):
The text was updated successfully, but these errors were encountered: