Jobs

Table of Contents

Object

Name

Type

Description

id

int

unique identifier

job_id

int

job_code

int

job_status

string

job_type

string

job_description

string

sheduled_start_datetime

datetime

sheduled_end_datetime

datetime

start_datetime

datetime

end_datetime

datetime

address_country

string

address_postcode

string

address_state

string

address_statecode

string

address_street_1

string

address_suburb

string

client_id

int

client_name

string

pickup_location

string

dropoff_location

string

onsite_contact_pickup

string

onsite_contact_dropoff

string

field_worker

list

[expandable]

signature

int

Optional [expandable] Signature

{
  "id": 268,
  "job_id": 42860190,
  "job_code": 5969,
  "job_status": "Finished",
  "job_type": "Landoll",
  "job_description": "HYDREMA  DUMP TRUCK  ISMEAL",
  "sheduled_start_datetime": "2020-02-19T14:00:00Z",
  "sheduled_end_datetime": "2020-02-19T15:30:00Z",
  "start_datetime": "2020-02-19T14:00:00Z",
  "end_datetime": "2020-02-19T15:30:00Z",
  "address_country": "United States",
  "address_postcode": "33166",
  "address_state": "Florida",
  "address_statecode": "FL",
  "address_street_1": "8255 NW 58 STREET",
  "address_suburb": "MIAMI",
  "client_id": 14690916,
  "client_name": "KELLYMIAMI",
  "pickup_location": "KTC MIAMI",
  "dropoff_location": "MIAMI",
  "field_worker": [

  ],
  "signature": 1
}

List

List Jobs

GET /jobs

Parameters

Name

Description

status

filter by job status, eg: cancelled,finished

GET /jobs/<pk>/pdf

Parameters

Name

Type

Description

open_in_browswer

bool

Optional

if true open pdf in browser else download pdf