Get Job Report Detail

Get Job Report in XML formatted string.


Function

  • getJobReportDetail()

Parameters

  • username: String
    • Account login name.
  • password: String
    • Account password.
  • jobId: int
    • Job ID
  • type: int
    • Report type. Value:
      • 2: Clickthru
      • 3: Total opens
      • 4: Opt out
      • 8: Permanent bounce
      • 9: Temporary bounce
      • 10: Blocked bounce
      • 36: Feedback loop complaints
      • 38: Queued
      • 40: Delivered

Return

  • String:
    • Returns standard job report detail represented as a XML formatted string.

Exception

  • Exception

Documentation

  • Returns standard job report represented as a XML formatted string.

Examples

public void getJobReportDetail() throws java.lang.Exception {

        Puresend p = new Puresend();
        PuresendPortType port = p.getPuresendHttpsSoap12Endpoint();

        String username = "XXX";
        String password = "XXX";

        int jobId = 123;      

        String result = port.getJobReportDetail(username, password, jobId, 2);

}    

<?php
include 'puresend.php';

$p = new Puresend();

$getJobReportDetailData = new getJobReportDetail();
$getJobReportDetailData->username = 'XXX';
$getJobReportDetailData->password = 'XXX';
$getJobReportDetailData->jobId = 123;
$getJobReportDetailData->type = 2;

$response = $p->getJobReportDetail($getJobReportDetailData);
var_dump($response);

?>