API
Documentation
  • Welcome!
  • REST API
    • Overview
    • Authentication
    • Swagger docs
    • Query an endpoint
    • Filter query results
    • Handling timestamps
    • Backward compatibility
    • Exporting Data using ODATA
    • Power BI Incremental refresh
    • Data Lake Transfer Gateway
    • EXAMPLES
      • Upload production schedule
      • Find all Running Orders
      • Interact with the Order Lifecycle
      • Consume and Submit an Activity
      • Raise an Event in TilliT
  • MQTT API
    • Overview
    • Connect to the TilliT Broker
    • Subscribe to a TilliT Topic
    • Setting a MQTT Integration
    • Publish Timeseries
    • Publish Order Progress
  • Activity API
    • Overview
    • JavaScript Basics
    • Using $scope and OnLoad Scripts
    • JavaScript Object Schema
  • Release Notes
    • 2024
      • April
Powered by GitBook
On this page
  1. REST API
  2. EXAMPLES

Raise an Event in TilliT

Overview

A TilliT event can be used to not only record when something happen, but also to start a process flow of triggering activities for people to complete. You can raise events from the UI manually or via an edge datasource. If none of these suit, then an API call can be made to raise the event.

Raise an Event

The endpoint for creating an event is POST:/core/event-instance. It takes the following request payload

{
  asset: number,        //ID of the asset
  eventType: number,    //ID of the event to raise
  name: string,         //Give the event a name
  order: number         //ID of the order the event occurs on
  priority: number      //The priority of the event type
  subtitle: string      //And optional description of the event
}

Close an Event - coming soon!

Raise an Event with a Reason -coming soon!

PreviousConsume and Submit an ActivityNextMQTT API

Last updated 2 years ago