Job
Return, update, create and delete a job.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/GeneralLedger/Job |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique job identifier in the form of a guid. ONLY required for updating an existing job. NOT required when creating a new job. |
Number | String (30) | Number assigned to the job. |
IsHeader | Boolean | Please note: Defaults to true if left blank on POST. True indicates the job is a header. False indicates the job is not a header. |
Name | String (30) | Name assigned to the job. |
Description | String (255) | Description text for the job. |
ParentJob | object | The following set of information pulls through parent job details. |
ParentJob.UID | Guid (36) | Foreign Key : Unique guid identifier belonging to the assigned parent job. |
ParentJob.Number | String (30) | Number of the parent job. |
ParentJob.Name | String (30) | Name of the parent job. |
ParentJob.URI | String | Uniform resource identifier associated with the parent job object. |
LinkedCustomer | object | The following set of information pulls through linked customer details. |
LinkedCustomer.UID | Guid (36) | Foreign Key : Unique guid identifier belonging to the assigned customer contact. |
LinkedCustomer.Name | String (25) | Name of the customer contact. |
LinkedCustomer.DisplayID | String (15) | Customer contact Card ID, can also be used as a unique customer contact identifier. |
LinkedCustomer.URI | String | Uniform resource identifier associated with the customer contact object. |
PercentComplete | Double (99.99%) | % of the job completed. |
StartDate | DateTime | Date the job started, format YYYY-MM-DD HH:MM:SS. |
FinishDate | DateTime | Date the job was completed, format YYYY-MM-DD HH:MM:SS. |
Contact | String (25) | Contact for the job. |
Manager | String (25) | Manager of the job. |
IsActive | Boolean | Please note: Defaults to true if left blank on POST. True indicates the job is active. False indicates the job is inactive. |
TrackReimbursables | Boolean | True indicates a job is used to track reimbursable expenses. False indicates a job is not used to track reimbursable expenses. |
LastModified | DateTime | DateTime of the last time this resource was modified through a direct action to the object. eg a field was updated. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing job. NOT required when creating a new job. |
Example json GET response
Example
{
"UID": "797755431-e8d1-411f-9859-5ff2a54f97d9",
"Number": "120",
"IsHeader": "false",
"Name": "Supply of Coolers FH",
"Description": "Supply & installation of coolers in shopping centre food hall",
"DisplayID": "CUS000008",
"PercentComplete": null,
"StartDate": null,
"FinishDate": null,
"Contact": null,
"Manager": null,
"IsActive": null,
"TrackReimbursables": null,
"LastModified": null,
"URI": "{cf_uri}/GeneralLedger/Job/97755431-e8d1-411f-9859-5ff2a54f97d9",
"RowVersion": "2708070750933221376"
}The {cf_uri} is provided by the businessId parameter as described here.