Get work order statuses
Returns available work order statuses for the specified subscriber. <br />Use the returned ID value as an alternative to the primary status name when updating a status via the PUT/workorders/{workorderId}/status method.
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Unique numeric identifier of the subscriber. This parameter is required only for providers.
Numeric identifier of the trade. Works only if the LimitStatusesByTrade FF is on. It returns extended statuses that are available for the specified trade. Entering the tradeId will show which statuses are available based on the Excluded Trades setting in Admin. <br />To get a trade ID, run the GET/trades/GetExistsTrades method.
Response
The request succeeded, and the requested information is in response.
Changes
No recorded changes to this operation across all 1 revision of this API.