GetUnsynchronisedJobs
Contents |
Method
GetUnsynchronisedJobsResult getUnsynchronisedJobs(UserIDBean userID, String synchronisationID, Calendar createdOnOrAfter)
Description
Gets the list of jobs that have not been synchronised by the external system identified by synchronisationID. If an interface is uninterested in old jobs, the createdOnOrAfter parameter should be set, otherwise it should be left null. After the external system has performed its task of importing, storing, or processing the job data, and the data is considered synchronised, ackJobSynchronisation should be called.
There is a limit on the number of jobs that will be returned in one call, so the process of calling getUnsynchronisedJobs, perform external synchronize tasks, ackJobSynchronisation should be repeated until no more jobs are returned.
Parameters
Type | Name | Description |
---|---|---|
UserIDBean | userID | The admin username and password. |
String | synchronisationID | The string indicating the name of the "flag" to use to mark this record as synchronized. |
Calendar | createdOnOrAfter | The earliest date and time in which the interface is interested in receiving jobs that have not been synchronised. |