Snippets
Useful snippets of code given as examples to help with various scripting needs.
Scripted SOAP Service
Use this script to add a SOAP endpoint to a Unifi Process. You will need to update the api_name to be the same as the one you set in the Process record.
Scripted REST API
Use this script to add a REST endpoint to a Unifi Process. You will need to update the api_name to be the same as the one you set in the Process record.
By wrapping the code in console, we give context to Activity Log and prevent multiple database updates.
Poll Requests
Bond location and data
This script shows how to find a bond based on an external reference and store some data.
Last updated
Was this helpful?