McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 263

↗ View in doc context
page
263
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::247

POST HTTP Method: Application/XML Content Type: XML Input/Output Format: <WrapUpReason> <label>Recommendation</label> <forAll>true</forAll> </WrapUpReason> HTTP Request: label (required): The UI label for the wrap-up reason forAll (required): Whether the wrap-up reason is global (true) or non-global (false) Request Parameters: 200: Success Finesse successfully created the new WrapUpReason. The response contains an empty response body, and a "location:" header denoting the absolute URL of the newly created WrapUpReason object Note 400: Maximum Exceeded 401: Authorization Failure 401: Invalid Authorization User Specified 403: Forbidden 500: Internal Server Error HTTP Response: <ApiErrors> <ApiError> <ErrorType>Authorization Failure</ErrorType> <ErrorMessage>UNAUTHORIZED</ErrorMessage> <ErrorData>jsmith</ErrorData> </ApiError> </ApiErrors> Example Failure Response: WrapUpReason—Update This API allows an administrator to modify an existing wrap-up reason. The administrator references the wrap-up reason by its ID and specifies the values of the fields to update. At least one of the following parameters must be present in the HTTP request to update a wrap-up reason: label or forAll. If neither of these parameters is present, Finesse returns an Invalid Input error. You do not need to include the attributes (label or forAll) that you do not need to change. For example, if you want to change only the label for an existing reason code from "Wrong Number" to "Wrong Department", you can send the following request: <WrapUpReason> <label>Wrong Department</label> </WrapUpReason> If you provide two or more duplicate tags in the XML body for a PUT operation, the value of the last duplicate tag is processed and all other duplicate tags are ignored. Note Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 247 Cisco Finesse Configuration APIs WrapUpReason—Update

Image 1 from page 263