DispatchOne Solution
...
Facility API
Integrate with Facilities
How to: Change the State of a Facility
1min
for information about prerequisites, see integrate with facilities docid\ sq6js9zj8u8vo3jowwc b to change the state of a facility, call the update state of facility by id or external ref docid\ uaf34 6tq 8p5utrl9vmn 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 { "tostate" "active\ available", "reasoncode" "r 104", "data" {} }