Get started with Workflow tools (status sharing) API

Updated: 1 Mar 2024

Trimble Connect Workflow tools

Trimble Connect Workflow tools API

Trimble Connect Workflow tools enable cloud-based BIM supply chain management. You can control and keep track of assembly and object-level status information for project management, scheduling, and design review purposes.

Download Workflow tools for the Trimble Connect desktop

Usage of Trimble Connect Status Sharing API

Status Sharing API allows real-time sharing of the construction statuses of external objects.

External systems can integrate with Trimble Connect using the server-side APIs and Status Sharing API. For example, fabrication ERP systems can publish the status data in real-time using the Status Sharing API.

If you are a fabricator or equivalent, you probably have an ERP or other system with a status concept. With the Status Sharing API, you can visualize your production status on BIM with a “live feed” and update your system status from the Trimble Connect user interfaces.

Note, that the API is deprecated - will merge with the Property Set API.

RESTful API

The API is a standard RESTful API. It uses GET to retrieve information, PUT to store or update a resource, POST to create a new entity and DELETE to remove it.

The API Reference can be found here: https://europe.tcstatus.tekla.com/swagger/ui/index#/StatusEvents.

Access tokens are region-specific

With the Status Sharing API, all requests including the access_token exchange are done against the region-specific servers in the same regions as core Trimble Connect. So the access_tokens are region-specific.

Accessing the API

You can get the region-specific server URLs by adding the Trimble Connect region name to the beginning of the base URL:

API Base URL
Europe    https://europe.tcstatus.tekla.com
US
https://northamerica.tcstatus.tekla.com
Asia
https://asia.tcstatus.tekla.com

Status values

Status actions are set up per project to match your process.

Possible status values are: 

  • None
  • Enable
  • Commit
  • Started
  • Paused
  • Completed

Allowed status values can be configured per status action.

Code examples

Authenticate with Trimble Identity using Oauth 2.0

See the Authentication Guide for details. As a result, the Trimble Identity access_token is returned.

Exchange the access_token for a Workflow tools API access token (from a European server)

The status_token is returned in the response

POST https://europe.tcstatus.tekla.com/statusapi/1.0/auth/token
Authorization: Bearer <access_token>

 

The Workflow tools API can then be invoked using the status_token

  1. Query Status Actions in a project: 
    GET https://europe.tcstatus.tekla.com/statusapi/1.0/projects/<project_id>/statusactions
    Authorization: Bearer <status_token>

     

  2. Get current statuses for an action: 
    GET https://europe.tcstatus.tekla.com/statusapi/1.0/projects/<project_id>/status
    ?statusActionId=<action_id>
    Authorization: Bearer <status_token>

     

  3. Add a Status Action: 
     POST https://europe.tcstatus.tekla.com/statusapi/1.0/projects/<project_id>/statusactions
    Authorization: Bearer <status_token>
    Content-Type: application/json
    {
           "isPublic": true,
           "name": "Test action",
           "allowedValues": "None,Started,Paused,Completed"
    
    }

     

  4. Add Status Events for two objects.
    POST https://europe.tcstatus.tekla.com/statusapi/1.0/projects/<project_id>/statusevents
    Authorization: Bearer <status_token>
    Content-Type: application/json
    [{
           "objectId": "ifc-guid1",
           "statusActionId": "<action_id>",
           "value": "Completed",
           "valueDate": "2017-06-01T19:54:30.00Z"
    },
    {
           "objectId": "ifc-guid2",
           "statusActionId": "<action_id>",
           "value": "Paused",
           "valueDate": "2017-06-02T16:30:00.00Z"
    }]

    Note: Object guids must be in the IFC GUID format.

 

 

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.