OurTradie Tradie API

Getting Started

Welcome

OurTradie provides solutions for online tradesmen and property managers. It doesn't really matter what type of work or service you are selling or buying on the Internet: from building to electrical work and even dog grooming services. This program will help both tradies and their customers feel empowered and choose the best options to suit their business purposes. We help tradies, property managers, tenants and landlords work through maintenance tasks more efficiently together.

Overview

OurTradie job states

  • Offer: When the job has been offered by the customer.
  • Quote: When the job is waiting for the tradie to quote.
  • Accept: When the job is accepted by the tradie.
  • Investigate: When the job is accepted but not dates are set.
  • Quoted: When the tradie has quoted the job.
  • Approved: When the job has been approved by the customer.
  • Active: When the job is in the Active job list for the tradie..
  • Future:: Like Active but at a date in the future.
  • Completed:: When the job has been invoiced by the tradie.
  • Finalised: When the submitted invoice is approved by the Property Manager (Customer).
  • Payment: When the job has been paid by the customer.
  • Reconciled: When the payment has been detected by the tradie and the tradie has marked it as Reconciled..
  • Rejected: When the job has been rejected by the customer. Same as Disputed.
  • Cancelled: When the job is cancelled.
  • Serviced: When the service job has been completed.

Webhook Reference

Getting Access

  • To gain access to webhooks, simply sign in to the Tradie portal and input your webhook URLs on Settings > Webhooks
  • Webhook Access
  • You must provide valid url in Notify URL field, webhook notifications will be sent to Notify url as post json data.
  • Currently, we support two types of webhook listening:
    • Job Status Change Alert
    • Favourite Tradie Change Alert

Job Status Change

  • Whenever a job associated with your tradie account undergoes a status update, the webhook will be triggered, providing the following information payload:
  • {
    	"JobID": {job_id},
    	"NewJob": 0, // IF new job it will be 1 otherwise 0
    	"Status": "{job_status}",
    	"UserID": {user_id}
    }
    		

Favourite Tradie Change

  • Whenever your status as a favorite tradie is altered by an agency, the webhook will be triggered, offering the following information payload:
  • {
    	"ID": {user_id}, // Who added/removed from Favourite.
    	"Email": {user_email},
    	"Group": "{user_type}"
    }
    		

API Reference

Getting Access

Request an authorization code

  • We are using OAuth 2.0 for api authorization process.
  • GET
    /api/authorize
  • Request Params

    ParameterDescriptionRequired
    response_typeThe value of this field should always be:  codeYes
    client_idThe "Client Id" value generated in ourtradie.Yes
    authorizeAn integer value should be pass.Yes
    redirect_uri

    The URI your responses will be sent back to after authorization.  This value must match with redirect url you specified on api access.

    Yes
    state

    A unique string value of your choice that is hard to guess. Used to prevent CSRF
    e.g. state=DCEeFWf45A53sdfKef424

    Yes
  • Sample Request Url:
  • https://{API_URL}/api/authorize?response_type=code&authorize=1&state=xxxxx&client_id=yyyyyyyy&redirect_uri=zzzz
  • While calling above url, you asked to login with your office manager account on api. Then you will see api authorization page.
  • API Authorization
  • Press Authorize button, you will get following authorization code response on your redirect url.
  • Response data

    ParameterDescription
    codeAuthorization code from OAuth 2.0 endpoint.
    stateThe unique string value you passed on request.

Getting access token

  • Pass authorization code to Token method to get api access token.
  • GET
    /api/token
  • Request Params

    ParameterDescriptionRequired
    codeUse the code got from authorize method.Yes
    client_idThe "Client Id" value generated in ourtradie.Yes
    client_secretThe "Client Secret" value generated in ourtradie.Yes
    grant_typeWhile using authorization code to get token, value should always be:  authorization_codeYes
  • Response data

    ParameterDescription
    access_tokenAccesstoken generated from OAuth 2.0 endpoint.
    expires_inToken expiration time in seconds.
    token_typeType of OAuth generated token.
    refresh_tokenAccesstoken generated from OAuth 2.0 endpoint. Once access token expired, Use this to get new access token.

Using refresh token to get access token

  • Pass refresh token instead of authorization code to Token method to obtain api access token.
  • GET
    /api/token
  • Request Params

    ParameterDescriptionRequired
    refresh_tokenUse the refresh_token previously got.Yes
    client_idThe "Client Id" value generated in ourtradie.Yes
    client_secretThe "Client Secret" value generated in ourtradie.Yes
    grant_typeWhile using refresh token to get token, value should always be:  refresh_tokenYes
  • Response data

    ParameterDescription
    access_tokenAccesstoken generated from OAuth 2.0 endpoint.
    expires_inToken expiration time in minutes.
    token_typeType of OAuth generated token.
    refresh_tokenAccesstoken generated from OAuth 2.0 endpoint. Once access token expired, Use this to get new access token.

Get Agencies

  • GET
    /api/GetAgencies
  • Purpose:

    Retrieving Agencies using api.

  • Request Params

    ParameterDescriptionRequired
    SkipNo. of Records to be skippedNo
    CountNo.of Records to be retrievedNo
  • Response data

    ParameterDescription
    AgencyIDAgency Id
    AgencyNameAgent's Company Name
    Failed Response
    ParameterDescription
    errorIf api call failed, will get error message.
    error_descriptionFailed response description will obtain this field.

Get All Residential Properties

  • GET
    /api/GetAllResidentialProperties
  • Purpose:

    Retrieving properties using api.

  • Request Params

    ParameterDescriptionRequired
    Address1Search by Street nameNo
    SuburbSearch by Suburb.No
    StateSearch by State.No
    PostcodeSearch by Postcode.No
    AgencyIDSearch by AgencyID. No
    SkipNo. of Records to be skippedNo
    CountNo.of Records to be retrievedNo
  • Response data

    ParameterDescription
    IDProperty Id
    Address1Street Name
    Address2Address2
    SuburbProperty Suburb
    StateState
    PostcodePostcode
    KeyNumberProperty KeyNumber
    LeaseStartLease Start Date
    LeaseEndLease End Date
    Agency_ContactsAgency Contact Details
    Owner_ContactsOwner Contact Details
    Tenant_ContactsTenant Contact Details
    SmokeTradieSmoke Tradi Contact Details
    Failed Response
    ParameterDescription
    errorIf api call failed, will get error message.
    error_descriptionFailed response description will obtain this field.

Tradie Job Retrieve

  • POST
    /api/TradieJobRetrieve
  • Purpose:

    Retrieving a job using api.

  • Request Params

    ParameterDescriptionRequired
    IDJob IdYes
    StatusStatus of the jobs.No
    SinceRetrieve the jobs which is start > SinceNo
    SkipNo. of Records to be skippedNo
    CountNo.of Records to be retrievedNo
  • Response data

    ParameterDescription
    IDJob Id
    TitleJob Title
    TypeGeneral Type
    JobTypeJob Type
    DescriptionJob Description
    StartDateStart date of a job
    EndDateEnd date of a job
    StatusJob status
    NotesJob notes
    DocumentsDocuments of a Job
    MediaMedia
    TradeTrade
    PropertyProperty Details
    ApprovedStartApprovedStart
    CreditorCreditor Details
    InvoiceDescriptionInvoice Description
    InvoiceNumberInvoice Number
    JobNumberJob Number
    RelatedRelated
    ContractJob Agreement
    Failed Response
    ParameterDescription
    errorIf api call failed, will get error message.
    error_descriptionFailed response description will obtain this field.

Tradie Create New Job

  • POST
    /api/TradieCreateNewJob
  • Purpose:

    Creating a new job using api. Here you need to send Property Owner contact details & property informations to create a new job.

  • Request Params

    ParameterDescriptionRequired
    FirstNameOwner firstname.Yes
    LastNameOwner lastname.Yes
    SalutationOwner salutation.Yes
    EmailAddressOwner mail id.Yes
    PhoneNoOwner phone no.
    MobileOwner mobile no.Yes
    StreetProperty street address.Yes
    CityProperty suburbYes
    StateProperty State in short code.
    (ACT / NSW / NT / QLD / SA / TAS / VIC / WA)
    Yes
    PostcodeProperty postcodeYes
    ServiceRequired Job trade type. Send type from this list. Yes
    JobName Job name Yes
    Comments Job description/comments Yes
  • Response data

    ParameterDescription
    SuccessOk
    dataNew job created successfully.
    Failed Response
    ParameterDescription
    errorIf api call failed, will get error message.
    error_descriptionFailed response description will obtain this field.

Tradie Job Accept

  • POST
    /api/TradieJobAccept
  • Purpose:

    Accept offer state job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Accept State Successfully.
    Failed Response
    ParameterDescription
    errorIf api call failed, will get error message.
    error_descriptionFailed response description will obtain this field.
  • Note:

    Once the job is moved to the OurTradie Accept state, the related job will move either Active or Future State depending upon the job start date.

    • Future state - Scheduled with future dates.
    • Active state - Scheduled with current dates.

    The Tradie can Schedule or complete the Inspection or Reject the job.

Tradie Job Reject

  • POST
    /api/TradieJobReject
  • Purpose:

    Reject the job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    RejectReasonReason for Rejection.Yes
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Reject State Successfully.
  • Note:

    Once the job is moved to the Reject state the tradie cannot access that job.

Tradie Job Schedule

  • POST
    /api/TradieJobSchedule
  • Purpose:

    Schedule the Offer/Accept state jobs. The status of the job will be changed based on dates (Active/Future).

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    StartDatedd-mm-yyyy hh:mm:ssYes
    EndDatedd-mm-yyyy hh:mm:ssYes
    EntryNoticeIf it is 1, then send email to tenantOptional
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Active/Future State Successfully.
  • Note:

    Depending on the date selected, the job will be either moved to the Active or Future state.

Tradie Job Startnow

  • POST
    /api/TradieJobStartnow
  • Purpose:

    Start a job in the Future state with the current date.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Active State Successfully.
  • Note:

    Can start the job and job moved to active state, In Future page, can start the job as current date.

Tradie Job Reschedule

  • POST
    /api/TradieJobReschedule
  • Purpose:

    Reschedule the Active or Future state job dates based on tradie circumstances. The status of the job will be changed based on dates.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    ApprovedStartApproved Start date for the jobYes
    ApprovedEndApproved End date for the jobYes
    RescheduleReasonReason for RescheduleYes
    EntryNoticeIf it is 1, then send email to tenantOptional
  • Response data

    ParameterDescription
    SuccessOk
    dataJobs are rescheduled successfully.
  • Note:

    Reschedule the dates, depending on that the job will be moved either Active or future state.

Tradie Job Submit Invoice

  • POST
    /api/TradieJobSubmitInvoice
  • Purpose:

    Submit the invoice for Accepted Offer, Investigate state, Active and Future state jobs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    ApprovedStartApproved Start date for the jobOptional(only for contract job)
    ApprovedEndApproved End date for the jobOptional(only for contract job)
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zip
    ItemsWorkitems for the job
    JobNumberJob number
    InvoiceNumberInvoice number
    RelatedSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    ContractSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Complete State Successfully.
  • Note:

    Once furnish all details, Submit the job invoice to customer. Propertymanager receives the Invoice details via email.

Tradie Job Cancel

  • POST
    /api/TradieJobCancel
  • Purpose:

    Cancel the Job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    CancelReasonCancel Reason.
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Cancelled Successfully.
  • Note:

    Tradie can cancel the job on Active and Future states.

Tradie Job Retract Cancel

  • POST
    /api/TradieJobRetractCancel
  • Purpose:

    Retract the cancelled Job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataRetract the Cancelled Job Successfully.
  • Note:

    Tradie can retract their cancelled jobs and come back to old status.

Tradie Job Reject Cancel

  • POST
    /api/TradieJobRejectCancel
  • Purpose:

    Propertymanager rejects the Tradie cancelled Job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    CancelReasonJob Id
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Active/Future State Successfully.
  • Note:

    Propertymanager cancelled the Tradie jobs or the tradie allows to reject cancel request for the particular jobs and comeback to old status.

Tradie Job Complete Existing Contract

  • POST
    /api/TradieJobCompleteExistingContract
  • Purpose:

    Complete the already existing contract Job in Active / Future State.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    ApprovedStartApproved Start date for the job(dd-mm-yyyy hh:mm:ss)Yes
  • Response data

    ParameterDescription
    SuccessOk
    dataContract job Moved to Reconciled state Successfully.
  • Note:

    Depending upon the contract date,

    • Job start & end - start > current – Prepaid status.
    • Job start & end - end > current - Current status.
    • Job start & end - end < current – Super seeded status.

Tradie Job Mark As Paid

  • POST
    /api/TradieJobMarkAsPaid
  • Purpose:

    Complete the already existing Job in the Active / Future State. Mark the approved invoice which is in Finalised state as Paid.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Reconciled state Successfully.
  • Note:

    Paid status will be done by Finalised state jobs.

Tradie Job Resubmit Invoice

  • POST
    /api/TradieJobResubmitInvoice
  • Purpose:

    Resubmit the invoice in Complete state with new inputs. Again Property Manager will approve the invoice which is submitted by the tradie. The approved invoice will be moved to the Finalised state.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    ApprovedStartApproved Start date for the jobOptional(only for contract job)
    ApprovedEndApproved End date for the jobOptional(only for contract job)
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zip
    ItemsWorkitems for the job
    JobNumberJob number
    RelatedSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    ContractSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Invoice Resubmitted Successfully.
  • Note:

    Resubmit the Invoice, The status of the job will not be changed on resubmit. That means the job stays in the Complete state.

Tradie Job Confirm Payment

  • POST
    /api/TradieJobConfirmPayment
  • Purpose:

    Tradie confirm the payment after Propertymanager approves Invoice.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataInvoice Moved to Reconciled state Successfully.
  • Note:

    Mark the approved invoice in Finalised state as Paid.

Tradie Job Complete Inspection

  • POST
    /api/TradieJobCompleteInspection
  • Purpose:

    Complete the inspection job in the Accept/Active/Future status.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataInvoice Moved to Reconciled state Successfully.
  • Note:

    Only the state of Accepted/Active/Future, can complete the Inspection job and moved to Reconciled status.

Tradie Job Add Appointments

  • POST
    /api/TradieJobAddAppointments
  • Purpose:

    Appointment added on Accept offer/Investigate/Quote/Active/Future States.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    AppointmentCommentAppointment comment
    AppointmentTimeAppointment time for the job(dd-mm-yyyy hh:mm:ss)Yes
    InvitePM1- PM attending,0- not attendingOptional
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Moved to Active/Future State Successfully.
  • Note:

    Appointment added only before Invoice submission of the job, After Invoice submit, you can't added appointment for the job.

Tradie Job Complete Smoke Payment

  • POST
    /api/TradieJobCompleteSmokepayment
  • Purpose:

    Tradie completes the Smoke payment jobs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    ContractStartDateContract Start date for the jobb(dd-mm-yyyy hh:mm:ss)Yes
  • Response data

    ParameterDescription
    SuccessOk
    dataContract job Moved to Reconciled state Successfully.
  • Note:

    Complete the smoke alarm contract Job in Active / Future States.

Tradie Job Save

  • POST
    /api/TradieJobSave
  • Purpose:

    Save the job with new inputs for our reference.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    NotesNotes added for the job
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zipYes
    ItemsWorkitems for the job
    JobNumberJob number
    RelatedSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    ContractSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataJob Saved Successfully.
  • Note:

    Job save done on Accepted /Quote/Active/Future states. The status of the job will not be changed.

Tradie Job Future Save

  • POST
    /api/TradieJobFutureSave
  • Purpose:

    Save the job in Future state with new inputs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    NotesNotes added for the job
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zipYes
    ItemsWorkitems for the job
    JobNumberJob number
    RelatedSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    ContractSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataFuture Job Saved Successfully.
  • Note:

    Once Save, The status of the job will not be changed.

Tradie Job Active Save

  • POST
    /api/TradieJobActiveSave
  • Purpose:

    Save the job in Active state with new inputs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InspectionDateInspection date for the jobYes
    NotesNotes added for the job
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zipYes
    ItemsWorkitems for the job
    JobNumberJob number
    RelatedSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    ContractSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
  • Response data

    ParameterDescription
    SuccessOk
    dataActive Job Saved Successfully.
  • Note:

    Once Save, The status of the job will not be changed.

Tradie Offer to Quote

  • POST
    /api/TradieOffertoQuote
  • Purpose:

    Tradie converts the offer jobs to Quote jobs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    InvoiceDescriptionInvoice DescriptionOptional
    DocumentsSupported file formats pdf,xls,odt,doc,docx,jpeg,png,gif,jpg,ppt,bmp,txt,xlsx,zip
    MediaSupported file formats gif,jpeg,png,jpg,zip
    ItemsWorkitems for the job
    JobNumberJob number
    RelatedZip folder with name Related.zip
    ContractZip folder with name Related.zip
    InvoiceNumberInvoice number
  • Response data

    ParameterDescription
    SuccessOk
    dataOffer changed to Quote successfully.
  • Note:

    The Jobs in Accept , Investigate, Future, Active states only can be convert to quote. After Convert to quote the job will be moved to QuoteSent. Cannot able to convert contract job to quote.

Tradie Quote Submit

  • POST
    /api/TradieQuoteSubmit
  • Purpose:

    Tradie submits the Quote job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    EstimatedStartdd-mm-yyyy hh:mm:ssOptional
    EstimateEnddd-mm-yyyy hh:mm:ssOptional
    QuoteDescriptionQuoteDescriptionOptional
    QuoteDocumentsZip folder with name Documents.zip
    QuoteMediaZip folder with name Media.zip
    QuoteItemsWorkitems for the quote
    NotesNotes for quotes
    QuoteRelatedZip folder with name Related.zip
    QuoteContractZip folder with name Contract.zip
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Submitted Successfully.
  • Note:

    Only submits the quote in Quote state ie) PM Requested job. If the job is moved to Reject state the tradie cannot access that job.

Tradie Quote ReSubmit

  • POST
    /api/TradieQuoteReSubmit
  • Purpose:

    Tradie resubmits the Quote job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    EstimatedStartdd-mm-yyyy hh:mm:ssOptional
    EstimateEnddd-mm-yyyy hh:mm:ssOptional
    QuoteDescriptionQuoteDescriptionOptional
    QuoteDocumentsZip folder with name Documents.zip
    QuoteMediaZip folder with name Media.zip
    QuoteItemsWorkitems for the quote
    NotesNotes for quotes
    QuoteRelatedZip folder with name Related.zip
    QuoteContractZip folder with name Contract.zip
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote ReSubmitted Successfully.
  • Note:

    Tradie can only resubmit the job before propertymanager approve the quote.

Tradie Quote Assign

  • POST
    /api/TradieQuoteAssign
  • Purpose:

    The Tradie manager can only assign the job to his employees.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    QuoteAssignEmailId of the assigned userYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Assigned Successfully.
  • Note:

    After assigned the job will be moved to Quote Assigned State. After assigned the employee can quote the amount and send it to Tradiemanager. Tradimanager submit the quote to propertymanager for approval.

Tradie Quote ReAssign

  • POST
    /api/TradieQuoteReassign
  • Purpose:

    The Tradie manager can reassign the quote to another employee.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    QuoteAssignEmailId of the assigned userYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote ReAssigned Successfully.
  • Note:

    ReAssign done only on Assigned jobs. The jobs available on Reassigned Tab.

Tradie Quote Reject

  • POST
    /api/TradieQuoteReject
  • Purpose:

    Tradie rejects the quote in Quote Status.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    QuoteRejectReasonReason of the Quote RejectYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Rejected Successfully.
  • Note:

    Tradie employee reject the quote, tradiemanager receive the email. If reject the quote, can't access anymore.

Tradie Quote Confirm

  • POST
    /api/tradieQuoteConfirm
  • Purpose:

    Tradie confirms the job either active or future state depending on the dates confirm.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    ApprovedStart(dd-mm-yyyy hh:mm:ss)Yes
    ApprovedStart(dd-mm-yyyy hh:mm:ss)Yes
    EntrynoticeIf it is 1, then send email to tenantOptional
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Moved to Active / Future state Successfully.
  • Note:

    Once Property manager approve the quote as current date, it comes to Tradie confirm state, The tradie can change the job dates and then continue, based on the dates the job will be moved to Active / Future State.

Tradie Quote Cancel

  • POST
    /api/TradieQuoteCancel
  • Purpose:

    Tradie can cancel the quote.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    QuoteCancelReasonQuoteCancelReasonYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Cancelled Reason Successfully.
  • Note:

    Tradie cancel the quote changed as Cancelled status.

Tradie Quote Retract Cancel

  • POST
    /api/TradieQuoteRetractCancel
  • Purpose:

    Tradie retracts their cancelled quote.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Moved to TradieConfirm State Successfully.
  • Note:

    Retract the cancelled quote by Tradie cancel jobs.

Tradie Quote Reject Cancel

  • POST
    /api/TradieQuoteRejectCancel
  • Purpose:

    Tradie rejects the propertymanager cancelled job.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    RejectCancelReasonReason of the quote cancel rejectionYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Moved to TradieConfirm State Successfully.
  • Note:

    If propertymanager cancels the Tradie jobs, the Tradie rejects the job and submit the job to Propertymanager.

Tradie Quote Accept Cancel

  • POST
    /api/TradieQuoteAcceptCancel
  • Purpose:

    Tradie accepts the Quote cancel jobs.

  • Request Params

    ParameterDescriptionRequired
    IdJob IdYes
    AcceptCancelReasonReason of the accept cancel rejectionYes
  • Response data

    ParameterDescription
    SuccessOk
    dataQuote Cancelled Successfully.
    Note:

    Accepts the job on Cancelled Quote status.

Tradie Property Compliance Submit

  • POST
    /api/TradiePropertyComplianceSubmit
  • Purpose:

    This method is used to submit property compliance date & certificate. Can submit multiple type of compliances at one request.

  • Request Params

    ParameterDescriptionRequired
    PropertyIdProperty IdYes
    ComplianceArray format of data contains all kind of compliance JobID & Date Yes
    DocumentsArray format of files list Yes
  • Request Sample:

    POST data
    {
    	'PropertyID' => AAAAAA,
    	'Compliance[Smoke][JobID]' => XXXXXX,
    	'Compliance[Smoke][Date]' => '2025-03-28 08:30:00',
    	'Compliance[Gas][JobID]' => YYYYYY,
    	'Compliance[Gas][Date]' => '2025-04-25 08:30:00',
    	'Compliance[Electric][JobID]' => ZZZZZZZ,
    	'Compliance[Electric][Date]' => '2025-04-25 08:30:00',
    }
    
    Files 
    {
    	'Documents' => {
    		'Smoke' => [
    		            fileObject (pdf),
    		            fileObject (pdf),
    		          ],
    		'Gas' => fileObject (pdf),
    		'Electric' => fileObject (pdf)
    	}
    }
    			
  • Response data

    ParameterDescription
    SuccessOk
    dataComplicance submitted Successfully.
    Note:

    Have to bring & valid respective compliance JobIDs. Job will be processed & certificate pushed to OP document manager. This method support single / multiple file upload for each types.

Client side API access library file

  • As we created client side api access library in PHP with CURL. You can refer & user this to make api requests. Client api file was hosted in git repository. You can access it from this link.
  • API URL: http://tradie.ourtradie.com.au/api/

Job Trade List

  • List of available trades

    TypeDescription
    air_conditioningAirconditioning
    asbestos_removalAsbestos removal
    brake_clutch_servicesAuto Brake & Clutch mechanic
    auto_electrical_servicesAuto Electrician
    bathroom_renovationsBathroom renovations
    blinds_and_shadesBlinds & Shades
    bookkeepingBookkeeping
    bricklayersBuilding Bricklayer
    carpentersBuilding Carpenters
    carportsBuilding Carports patios & pergolas
    decking_constructionBuilding Decking & construction
    building_generalBuilding General
    home_renovation_servicesBuilding renovations
    wardrobes_installationBuilding Wardrobes
    car_truck_cleaningCar wash
    furniture_cleaningCleaning Carpet & Furniture
    cleaning_servicesCleaning Domestic
    concreteConcreting
    couriersCouriers
    excavating_contractorsEarth moving
    electrical_appliances_servicesElectrical Appliances
    burglar_alarm_systemsElectrical Burglar Alarms
    solar_energy_equipmentElectrical Solar
    service_parts_repairsElectrical Washers & dryers
    electricianElectricians
    fencing_contractorsFencing
    general_coveringsFloor Coverings
    floor_polishing_recoating_servicesFloor Polishing
    furniture_storageFurniture Storage & Removals
    gardening_servicesGardener
    glaziersGlass
    graphic_designGraphic design
    home_repairsHandyman
    insulation_supplyInsulation
    interior_designerInterior Decorator
    kitchens_renovationsKitchens renovations
    locksmith_servicesLocksmith
    shutters_installationLouvres & Shutters
    garden_maintenanceMowing
    decorating_servicesPainters
    pest_controlPest controller
    pets_groomingPet care
    plasterersPlasterer
    drainage_servicesPlumbing Drainage
    plumbersPlumbing General
    roof_maintenancePlumbing Roof Repairs
    swimmingpool_maintenancePool Maintenance
    refrigerationRefrigeration
    roller_doors_shuttersGarage Doors Shutters & Grilles
    tilersTiler
    guttersGutter cleaning
    tree_lopperTree lopper
    fire_protectionFire Protection
    safety_inspectorSafety inspector
    fridge_seal_repairersFridge seal repairers
    antenna_installerAntenna installer
    plumbing_gasPlumbing Gas
    plumbing_hw_systemsPlumbing H/W Systems
    engineersEngineers
    smoke_alarm_testerSmoke alarms
    photographerPhotographer
    pool_compliancePool Compliance
    cleaning_mouldCleaning Mould
    water_filtersWater Filters
    valuerValuer
    reticulationReticulation
    security_screensSecurity Screens
    inspections_buildingInspections Building
    inspections_pestInspections Pest
    fencing_temporaryFencing Temporary
    surveyorSurveyor
    building_pest_inspectionsBuilding & pest Inspections
    house_washingHouse washing/pressure cleaning
    prime_contractorPrivate Contractor

This API documentation is provided by OurTradie.