Modules

Calendar

Certificates

CollectiveAgreements

Company Forms

Company Forms Management

Contacts

Contracts

Customer Assets

Equipment

Expenses

Job Invoices

Jobs

Labour Actions

Library

Locates

Materials

Messages

Purchase Orders

Safety

Schedule

Service Quotes/Invoices

Service Requests

Services

Settings

TimeLogs

Users

Other

JobReport Resource
In Jobs Module


Endpoints

Endpoints URI Access Control Description
get-range GET /api/JobReport/get-range Endpoint level permissions Required parameters:
  • report_type: (string) Options:
    • revenue-expenses-monthly
    • revenue-expenses-yearly
    • total-monthly-billing
  • from_year: (int)
  • to_year: (int)
If report_type equals revenue-expenses-monthly, also required:
  • job_id: (int)
  • from_month: (int) 1-12
  • to_month: (int) 1-12
If report_type equals revenue-expenses-yearly, also required:
  • job_id: (int)
If report_type equals total-monthly-billing, also required:
  • from_month: (int) 1-12
  • to_month: (int) 1-12
save POST /api/JobReport/save Admin or Module WRITE Required parameters:
  • report_type: (string) Options:
    • revenue-expenses-monthly
    • revenue-expenses-yearly
  • year (int)
  • job_id (int)
If report_type = 'revenue-expenses-monthly', also required:
  • month (int) 1-12
delete POST /api/JobReport/delete Admin or Module WRITE
get GET /api/JobReport/get Admin or Module READ
find GET /api/JobReport/find Admin or Module READ
get-estimated-drive-time GET /api/JobReport/get-estimated-drive-time Endpoint level permissions
notify-customer-eta GET /api/JobReport/notify-customer-eta Endpoint level permissions
compileCachedRelations GET /api/JobReport/compileCachedRelations Endpoint level permissions

Properties

Property Type Description
id number
job_id number
service_id number
customer_id number
year number
month number
date date
report_type string
report_json string
created_at datetime
updated_at datetime
updated_by number

Settings

Setting
Pagination Limit (when page parameter is set) None
Default Sort Order By insertion order

Relationships

Related Resource Key Relationship to JobReport Property
Job job_id Belongs To Job
Service service_id Belongs To Service
Customer customer_id Belongs To Customer