Job
Manage shipping and logistics jobs. Jobs represent the movement of goods from origin to destination and include quotes, bookings, tracking, and completion.
Quick Reference
Method |
Endpoint |
Description |
|---|---|---|
POST |
/api/job/{jobDisplayId}/book |
Book a job |
GET |
/api/job/{jobDisplayId} |
Get job by display ID |
GET |
/api/job/search |
Search jobs |
POST |
/api/job/searchByDetails |
|
GET |
/api/job/{jobDisplayId}/calendaritems |
|
PUT |
/api/job/save |
|
POST |
/api/job |
|
GET |
/api/job/feedback/{jobDisplayId} |
|
POST |
/api/job/feedback/{jobDisplayId} |
|
POST |
/api/job/transfer/{jobDisplayId} |
|
POST |
/api/job/{jobDisplayId}/freightitems |
|
GET |
/api/job/{jobDisplayId}/submanagementstatus |
|
POST |
/api/job/{jobDisplayId}/item/notes |
|
POST |
/api/job/{jobDisplayId}/changeAgent |
|
GET |
/api/job/{jobDisplayId}/updatePageConfig |
|
GET |
/api/job/{jobDisplayId}/price |
|
GET |
/api/job/jobAccessLevel |
|
GET |
/api/job/documentConfig |
POST /api/job/{jobDisplayId}/book
Book a job
Books a job and transitions it to active status.
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Response Type:
Job
See the model documentation for detailed field descriptions.
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/{jobDisplayId}/book"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw post /api/job/{jobDisplayId}/book \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://api.abconnect.co/api/job/2000000/book'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
GET /api/job/{jobDisplayId}
Get job by display ID
Retrieves detailed information about a specific job using its display ID.
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Response Type:
Job
See the model documentation for detailed field descriptions.
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/{jobDisplayId}"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw get /api/job/{jobDisplayId} \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/2000000'
Sample Response:
1{
2 "jobDisplayId": "2000000",
3 "bookedDate": "2024-08-13T14:04:04",
4 "ownerCompanyId": "ed282b80-54fe-4f42-bf1b-69103ce1f76c",
5 "customerContact": {
6 "id": 3473290,
7 "contact": {
8 "id": 266841,
9 "contactDisplayId": "1",
10 "fullName": "Training",
11 "contactTypeId": 2,
12 "isBusiness": true,
13 "companyId": "ed282b80-54fe-4f42-bf1b-69103ce1f76c",
14 "company": {
15 "companyName": "Training",
16 "companyCode": "TRAINING",
17 "companyPhone": "8009814202",
18 "companyEmail": "training@abconnect.co"
19 }
20 }
21 },
22 "jobStatusId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
23 "jobStatusName": "Booked",
24 "jobTypeId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
25 "items": [
26 {
27 "id": 12345,
28 "description": "Widget",
29 "quantity": 1,
30 "weight": 10.5,
31 "dimensions": {
32 "length": 12,
33 "width": 8,
34 "height": 6
35 }
36 }
37 ],
38 "origin": {
39 "address1": "123 Main St",
40 "city": "Denver",
41 "state": "CO",
42 "zipCode": "80202"
43 },
44 "destination": {
45 "address1": "456 Oak Ave",
46 "city": "Los Angeles",
47 "state": "CA",
48 "zipCode": "90001"
49 }
50}
GET /api/job/search
Search jobs
Search for jobs using various criteria such as status, date range, customer, or location.
Parameters:
Query Parameters:
jobDisplayId (integer, query): No description available
Response Type:
Array of Job objects
See the model documentation for detailed field descriptions.
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/search"
)
# Process the response
print(response)
ab api raw get /api/job/search
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/search'
Sample Response:
1[]
POST /api/job/searchByDetails
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/searchByDetails"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/searchByDetails
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/searchByDetails'
Sample Response:
1[]
GET /api/job/{jobDisplayId}/calendaritems
Parameters:
Path Parameters:
jobDisplayId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/{jobDisplayId}/calendaritems"
,
jobDisplayId=2000000
)
# Process the response
print(response)
ab api raw get /api/job/{jobDisplayId}/calendaritems \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/2000000/calendaritems'
Sample Response:
1[]
PUT /api/job/save
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.put(
"/api/job/save"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw put /api/job/save
curl -X PUT \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/save'
Sample Response:
1{
2 "id": "123e4567-e89b-12d3-a456-426614174000",
3 "status": "updated",
4 "message": "Resource updated successfully"
5}
POST /api/job
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
GET /api/job/feedback/{jobDisplayId}
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/feedback/{jobDisplayId}"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw get /api/job/feedback/{jobDisplayId} \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/feedback/2000000'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
POST /api/job/feedback/{jobDisplayId}
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/feedback/{jobDisplayId}"
,
jobDisplayId="2000000"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/feedback/{jobDisplayId} \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/feedback/2000000'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/job/transfer/{jobDisplayId}
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/transfer/{jobDisplayId}"
,
jobDisplayId="2000000"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/transfer/{jobDisplayId} \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/transfer/2000000'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/job/{jobDisplayId}/freightitems
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/{jobDisplayId}/freightitems"
,
jobDisplayId="2000000"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/{jobDisplayId}/freightitems \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/2000000/freightitems'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
GET /api/job/{jobDisplayId}/submanagementstatus
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/{jobDisplayId}/submanagementstatus"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw get /api/job/{jobDisplayId}/submanagementstatus \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/2000000/submanagementstatus'
Sample Response:
1[]
POST /api/job/{jobDisplayId}/item/notes
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/{jobDisplayId}/item/notes"
,
jobDisplayId="2000000"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/{jobDisplayId}/item/notes \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/2000000/item/notes'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/job/{jobDisplayId}/changeAgent
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/job/{jobDisplayId}/changeAgent"
,
jobDisplayId="2000000"
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/job/{jobDisplayId}/changeAgent \
jobDisplayId=2000000
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/job/2000000/changeAgent'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
GET /api/job/{jobDisplayId}/updatePageConfig
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/{jobDisplayId}/updatePageConfig"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw get /api/job/{jobDisplayId}/updatePageConfig \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/2000000/updatePageConfig'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
GET /api/job/{jobDisplayId}/price
Parameters:
Path Parameters:
jobDisplayId (string, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/{jobDisplayId}/price"
,
jobDisplayId="2000000"
)
# Process the response
print(response)
ab api raw get /api/job/{jobDisplayId}/price \
jobDisplayId=2000000
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/2000000/price'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
GET /api/job/jobAccessLevel
Parameters:
Query Parameters:
jobDisplayId (string, query): No description available
jobItemId (string, query): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/jobAccessLevel"
)
# Process the response
print(response)
ab api raw get /api/job/jobAccessLevel
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/jobAccessLevel'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
GET /api/job/documentConfig
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/job/documentConfig"
)
# Process the response
print(response)
ab api raw get /api/job/documentConfig
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/job/documentConfig'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}