Custom Fields

Please note:
We are in the process of updating our help guides. In the past few months, there have been many upgrades to the app, so we apologise if the instructions do not match your use. If you are having trouble location or using a feature, please use the in-app chat feature to get in touch with the Trade Trak development team.

The Custom Fields API endpoint is https://app.tradetrak.com.au/api/custom-field and the following functions are currently available.

Get Available Custom Fields

  • Endpoint: https://app.tradetrak.com.au/api/custom-field/get
  • Optional Parameters:
    • type - either job or client
  • Request Type: GET
  • Returned Data:
[
    {
         "id": "Field Identifier", 
         "name": "Field Name", 
         "type": "Either `job` or `client`", 
         "field_type": "Either `text`, `number`, `checkbox` or `dropdown`", 
         "show_on_pdf": true/false, 
         "show_in_filter": true/false, 
         "show_on_job_cal": true/false, 
         "available_to_subbie": true/false, 
         "is_required": true/false, 
         "data": {
             "max_text_length": "The max length of a string entered for text fields", 
             "min_number_value": "Minimum numeric value for number fields", 
             "max_number_value": "Maximum numeric value for number fields", 
             "select_options": "An array of possible options for dropdown fields"
        } 
    }
]

Using Custom Fields in other requests

  • Append the following data to create request JSON body
{
    <existing request data>,
    "custom_fields": [
        {
            "id": "The custom field identifier",
            "value": "Value for field"
        },
        ...
    ]
}

If there are any issues with the values entered for the custom fields an error will be returned and the object creation will be cancelled.

Contact Us

Not finding what you're looking for? Contact Us Directly