/mcp<ApiErrors> <ApiError> <ErrorType>Authorization Failure</ErrorType> <ErrorMessage>UNAUTHORIZED</ErrorMessage> <ErrorData>1234</ErrorData> </ApiError> </ApiErrors> Example Failure Response: User—Get Wrap-Up Reason This API allows a user to get a WrapUpReason object. For more information about the WrapUpReason object, see WrapUpReason, on page 244. https://<FQDN>/finesse/api/User/<id>/WrapUpReason/<wrapUpReasonId> URI: https://finesse1.xyz.com/finesse/api/User/1234/WrapUpReason/1001 Example URI: Administrators, agents, and supervisors can use this API. To get a wrap-up reason, a user must be signed in, or provide valid authorization credentials when challenged. Only an administrator can get another user's wrap-up reasons. Security Constraints: GET HTTP Method: — Content Type: XML Input/Output Format: — HTTP Request: 200: Success 400: Bad Request (the request body is invalid) 400: Finesse API Error (for example, the object does not exist, the object is stale, or violation of DB constraint) 401: Authorization Failure 401: Invalid Authorization User Specified 404: Not Found (for example, the wrap-up reason does not exist or has been deleted) 500: Internal Server Error HTTP Response: <WrapUpReason> <uri>finesse/api/User/1234/WrapUpReason/205</uri> <label>Product Question</label> <forAll>true</forAll> </WrapUpReason> Example Response: <ApiErrors> <ApiError> <ErrorType>Authorization Failure</ErrorType> <ErrorMessage>UNAUTHORIZED</ErrorMessage> <ErrorData>1234</ErrorData> </ApiError> </ApiErrors> Example Failure Response: Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 54 Cisco Finesse Desktop APIs User—Get Wrap-Up Reason