Hi,
I want to pull out the list of jobs (job id) for a particular campaign for a given time persiod .All info I have about the campaign is the portal username and password . Which API can i use?
You can use the JobListRequest to do exactly that. The below URL will take you to the API Manual, you can also click the "API Manual" in the top right of the forum. Scroll down to JobList. There is a C# and VB sample for the JobListRequest. Search either C# Sample or VB Sample.
https://apiforums.easylink.com/emapidocs/25/index.html
Hi, I tried the sample code i found on forum.
the code runs, but it doesnot give me the list of all jobs. I returns me no id.
<?xml version="1.0" encoding="utf-8" ?>
Any Updates?
It would be very helpful if you could provide the ProcessingId from the response you receive from the system - that would allow us to easily trace your requests.
Do you have that information?
Your request includes the following filters:
So this is asking for jobs that started within the last 60 minutes (that's what <JobStartWindow> means), which have a billing code of "pqrd" and a customer reference of "abcd". My guess is that when you submitted this request, you didn't have any jobs that met these criteria. You should adjust the filter options to match your traffic.
I just submitted a job (id: 947126) and then executed the JobList API (processing id: 0ACD321E-1914-120706150932273), but I am still not getting any job id in my result file.
This job (947126) has no Billing code, and a customer reference of "binary".
That will not match your JobList request, which is still asking for a billing code of "pqrd" and a customer reference of "abcd".
Please update your filter criteria.
Yes, It works now.
Thanks
Can you also please tell me the meaning of the following tags
ServiceType, JobFlags
Is the service type for differentiating between the types of jobs (Email, Voive, sms)?
Yes, ServiceType is intended to distinguish between the types of jobs - the values are shown in the API manual pages here: https://apiforums.easylink.com/emapidocs/25/JobList/JobListResult.html.
Note that these values are not 100% accurate - if you include an email destination with a fax job, for instance, you would probably get a ServiceType of FR.
JobFlags is an internal bitmap of various job attributes. It probably won't be of any use to you.