Get Job Report

Get Job Report in XML formatted string.


Function

  • getJobReport()

Url

  • POST: /PuresendService/v1/getJobReport

Parameters

  • jobId: int
    • Job ID

Return

  • report: String
    • Job report in JSON format

Exception

  • Exception

Documentation

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

Examples

{
    "jobId": 45882
}
{
    "report": {
        "report-metrics": {
            "bounced-other": 0,
            "rule-sent": 0,
            "queued": 4,
            "unqueued": 4,
            "delivered": 1,
            "referrals-sent": 0,
            "url-encoded-name": "",
            "bounced-temporary": 0,
            "bounced-permanent": 0,
            "opened-non-unique": 6,
            "forwarded-size": 0,
            "total-undelivered": 0,
            "bounced-all": 0,
            "clicks-all": 0,
            "real-completed": 4,
            "id": 45882,
            "real-seconds": 0,
            "retry": 0,
            "retry-history": 0,
            "referrals-subscribed": 0,
            "feedback-complaints": 0,
            "opened": 3,
            "failed": 0,
            "resubscribed": 0,
            "sent": 4,
            "forwarded": 0,
            "bounced-blocked": 0,
            "broadcast-time": 0,
            "clicks-special": 0,
            "unsubscribed": 0,
            "clicks-distinct": 0,
            "attempted": 4,
            "clicks-individual": 0,
            "broadcast-size": 1358,
            "email-format-changed": 0,
            "broadcast-size-average": 0,
            "rule-size": 0
        },
        "id": 45882,
        "type": "standard",
        "job": {
            "job-data": {
                "job-id": 45882,
                "billing-code": "",
                "segmentation-type": {
                    "id": 0,
                    "content": "No segmentation"
                },
                "paused": false,
                "sender-headers": false,
                "scheduled-date": "5/14/22 11:33 AM",
                "from-reply-format": {
                    "id": 3,
                    "content": "Use system bounce and unsubscribe addresses"
                },
                "dynamic-from-mode": {
                    "id": 1,
                    "content": "Use recipient-based \"From\" address, but use the default if necessary"
                },
                "sg-type": {
                    "id": 2,
                    "content": "Use Shadow Gateway Clustering"
                },
                "completion-date": "5/14/22 11:37 AM",
                "sending-limits": {
                    "job-message-limit": 40,
                    "gateway-time-limit": 5,
                    "gateway-message-limit": 20,
                    "job-time-limit": 5
                },
                "segment": {
                    "from-address": "Test <test@email.com>",
                    "subject": "SUBJECT",
                    "num": 1,
                    "reply-to-address": "",
                    "id": "",
                    "message": {
                        "id": 17913,
                        "content": "messageName"
                    }
                },
                "name": "jobName",
                "recipient-list": {
                    "id": 9375,
                    "content": "listName"
                },
                "id": 45882,
                "state": {
                    "id": 2,
                    "content": "Finished"
                },
                "supp-recipient-job": "",
                "sg-info": [
                    "psmailingcom"
                ],
                "account": {
                    "id": 576,
                    "content": "accountName"
                }
            }
        }
    }
}