DispatchOne Solution
...
Facility API
Integrate with Facilities
How to: Change the State of a Facility
1min
For information about prerequisites, see Integrate with Facilities.
To change the state of a Facility, call the Transition Facility State endpoint and pass the following parameters in the request body:
Member | Description |
---|---|
toState | One of the valid state codes: onboarding, active, deboarding, or inactive. |
reasonCode (optional) | A valid reason code associated with the event. |
data (optional) | Any additional information about the transition. |
Request bodies are specified in JSON format. The following example request body shows how to change the state of the Facility:


Updated 03 Aug 2023
Did this page help you?