Skip to content

GetJobDocs

Lists the documents of a job: those for the whole job and those of each of its work orders, as on the work order’s Documents tab. Each comes with a link to download it. You can ask only for the documents linked to some items of the job’s document checklist, for example the bills of lading. To add a document, use UploadJobDoc.

How to sign in and read the response: Authentication, Responses.

GET /api/v1/GetJobDocs?JobID=30512&ChecklistType=Bill%20of%20Lading~Packing%20List
Token: your-token
Parameter Required Meaning
JobID Yes The job’s ID, a whole number.
ChecklistType No Only the documents linked to a checklist item whose name contains one of these texts, separated by ~. Not case-sensitive. Documents that are not linked to the checklist are then left out. Without it, all the job’s documents are listed.

Put JobID in the query string: without it, the request does not reach the endpoint and TrakIT answers with HTTP 404.

Rule Info when it fails
JobID is a whole number greater than 0. Invalid JobID
The job exists. Job not found

On success, Code is 1, RetInfo is the list of documents, oldest first, and RowsAffected is how many there are. Identity and Scalar are not used. If the job has no documents, or none linked to the checklist items asked for, Code is 0 and Info is No documents found.

{
"Code": 1,
"Info": "",
"RetInfo": [
{
"DocID": 304931,
"Title": "Bill of Lading",
"FileName": "EXSHIP-BL-2026-1187.pdf",
"FileSize": 248113,
"WorkOrderID": null,
"UploadedBy": "Jane Smith",
"UploadedOn": "2026-10-19T07:52:31.27",
"Cancelled": false,
"IsPublic": true,
"Latitude": null,
"Longitude": null,
"ChecklistItems": [ "Bill of Lading" ],
"Url": "https://trakit.example.com/getfile?preview=true&id=...&exp=..."
},
{
"DocID": 304977,
"Title": "Packing List",
"FileName": "packing-list-48211.pdf",
"FileSize": 96402,
"WorkOrderID": 48211,
"UploadedBy": "Jane Smith",
"UploadedOn": "2026-10-20T10:05:12.4",
"Cancelled": false,
"IsPublic": false,
"Latitude": null,
"Longitude": null,
"ChecklistItems": [ "Packing List" ],
"Url": "https://trakit.example.com/getfile?preview=true&id=...&exp=..."
}
],
"RowsAffected": 2,
"Scalar": null,
"Identity": 0
}
Field Meaning
DocID The document’s ID.
Title, FileName The document’s title and file name.
FileSize The file’s size in bytes, as uploaded.
WorkOrderID The work order the document is for, or null for a document of the whole job.
UploadedBy The full name of the user who uploaded it, or null.
UploadedOn When it was uploaded, in UTC. See Dates.
Cancelled true if the document was cancelled. Cancelled documents are listed too.
IsPublic true if external users, such as the customer, can see it (Ext on the Documents tab).
Latitude, Longitude Where the document was captured, if it was taken with a location, or null.
ChecklistItems The names of the checklist items it is linked to, or null.
Url A link that opens the document without signing in to TrakIT, for 7 days.
  • Anyone who has a Url can open the document until the link expires, without signing in. Keep the links as confidential as the documents. Each call returns new links, valid for 7 days from the call.
  • All the job’s documents are listed, including those limited to some roles in TrakIT.