Add or update root causes for a work order
For users who don't have access to asset categories, associates a root cause with the specified work order. If a root cause is already added to a work order, you can change it by sending the request. <br />Before adding a root cause, use the GET /resolutionCodes/rootCauses method to find out if root causes are configured for the work order trade. To get a root cause ID, look for the Key value of the desired root cause in the response. <br /> Note: Users with access to asset categories should send the following request to add or update root causes for a work order: POST /resolutionCodes/rootCauses.
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.
Path parameters
Unique numeric identifier of the work order to add, update, or delete a root cause for.
Query parameters
ID of the root cause to associate with the work order. Ignore this parameter to remove the current root causes from the work order.
Comment explaining your understanding of the root cause of the work order.<br />Enabled for root causes with the HasFreeText attribute. The maximum length is 100 characters.
Response
The root cause is added to the specified work order.
Changes
No recorded changes to this operation across all 1 revision of this API.