Skip to main content
POST
Create, update, or delete a job

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Body

application/json
job_title
string
required
Example:

"Boiler Service - Unit 001"

job_description
string
required
Example:

"Annual boiler service required."

priority_id
integer
required
Example:

2

status_id
integer
required
Example:

1

job_type_id
integer
required
Example:

3

address_id
integer
required
Example:

5

csrf_token
string
required
Example:

"abc123def456"

agent_id
integer | null
Example:

10

contractor_id
integer | null
Example:

20

tenants_ids
integer[]
Example:
job_total_budget
number<float> | null
Example:

250

contractor_budget
number<float> | null
Example:

180

vat_percentage
number<float> | null
Example:

20

total_amount
number<float> | null
Example:

216

date_works_start_date
string<date> | null
Example:

"2024-06-01"

date_works_end_date
string<date> | null
Example:

"2024-06-02"

time_range_id
integer | null
Example:

2

access_details
string | null
Example:

"Key safe code 1234."

works_order_ref
string | null
Example:

"WO-001"

invoice_no
string | null
Example:

"INV-001"

quote_no
string | null
Example:

"QT-001"

private_contact_name
string | null
Example:

"Contact_001"

private_contact_email
string<email> | null
Example:

"contact001@example.com"

Response

Job updated/deleted successfully

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"