We have some follow-up questions on the API --
Follow ups in orange below
· Is there a rate limit on any of the APIs?
· JobDeliveryStatus mentions that it can be used to query multiple jobs at once, but that it should be limited to a few at a time (https://apiforums.easylink.com/emapidocs/26/JobDeliveryStatus/JobDeliveryStatus.html). Why and what is meant by “a few”? Is there another API that can be used to query, say, 100 jobs at once?
` Generally, 10 jobs may be a safe limit that would not be subject to timeouts. Scheduled Reports can run every 15 minutes if the customer has the need.
[SM] Given the situation where we have 1000 jobs outstanding what is the most efficient way to query their statuses, so we can report SUCCESS\FAILURE\IN-PROGRESS to our users?
· JobState in JobDeliveryStatus lists many possible states
· Which are the terminal states?
The terminal states are:
4 Error
5 Cancelled
8 Expired
[SM] What are the “success” terminal states?
· For the Error state, where can we find the error reason\description?
The Error Code and Message will be returned.
[SM] Where in the response is the Error Code and Message? Is there a link you can point me to in the documentation?
· Is there any way to query all completed jobs (API and mail2fax) by specifying completed time?
JobList can be used to get a list of jobs (all kinds) that completed within a given period (using JobCompleteWindow).
This will return the job status, not their delivery status. If delivery status is needed, individual status would need to be requested. Also, the job completion time will not match final delivery time.
[SM] Can you explain this further? What is the difference between job status and delivery status? Is job status enough if we just care about reporting SUCCESS\FAILURE\IN-PROGRESS?
Thanks