Every Job associated with a Store can be accessed via the Scheduled Job Collection. This resource provides access to job metadata and the ability to remove a job from the collection. URI Patternhttp://api.talis.com/stores/{storename}/jobs/{id} Resource Operations
View A JobA GET request on the URI for a Job will return the metadata associated with the Job. This operation requires the full update capability. The response is an RDF/XML document, e.g: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:bf="http://schemas.talis.com/2006/bigfoot/configuration#" > <bf:JobRequest> <rdfs:label>Reset the data in my store</rdfs:label> <bf:jobType rdf:resource="http://schemas.talis.com/2006/bigfoot/configuration#ResetDataJob"/> <bf:startTime>2008-05-02T14:30:00Z</bf:startTime> </bf:JobRequest> </rdf:RDF> A job request will have three basic properties:
Note that the time assigned to a Job indicates the earliest time at which it will be executed. The actual time of execution may be any time after the requested time. Delete A JobA DELETE request sent to the URI for a Job will delete the job, removing it from the Scheduled Job Collection. This operation requires the full update capability. Add A JobAdding a Job requires modifying the Scheduled Job Collection by POSTing a new job description. Read the collection documentation for further information. The following list defines the currently supported job types. Updating A JobUpdating is not currently supported. You must first remove the old job and then submit a new one. Types of Job
|

© Talis Systems Ltd. 2011 Content is available under