McDewey

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

Page 39

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

In the area under Content Options, enter the following: <User> <state>LOGIN</state> <extension>1001</extension> </User> 5. (Optional) To add the requestId: a. Click Headers. b. In the Name field, enter requestId, and in the Value field, enter xyz. c. Click Add/Change 6. Click PUT. Postman returns the following response: PUT on https://finesse1.xyz.com/finesse/api/User/1234 Status 202: Accepted Finesse returns a user notification, which you can view in Pidgin: <Update> <data> <user> <dialogs>/finesse/api/User/1234/Dialogs</dialogs> <extension>1001</extension> <firstName>John</firstName> <lastName>Smith</lastName> <loginId>1234</loginId> <loginName>jsmith</loginName> <roles> <role>Agent</role> </roles> <pendingState></pendingState> <reasonCodeId>-1</reasonCodeId> <settings> <wrapUpOnIncoming></wrapUpOnIncoming> <wrapUpOnOutgoing></wrapUpOnOutgoing> <settings> <state>NOT_READY</state> <stateChangeTime>2014-05-27T00:33:44.836Z</stateChangeTime> <teamId>1</teamId> <teamName>Default</teamName> <uri>/finesse/api/User/1234</uri> </settings> </user> </data> <event>PUT</event> <requestId>xyz</requestId> <source>/finesse/api/User/1234</source> </Update> The agent is now signed in and in NOT_READY state. Change Agent State Use the User - Change agent state API to change the agent state to Ready. This example uses the same agent information as the previous example. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 23 Lab Development Environment Validation with Cisco FinesseWeb Services APIs Change Agent State