Subject: sending GET,PUT,POST to Cisco Finesse over BOSH ?
I'm writing prototype code in C# that connects to Finesse using this toolkit. I can currently establish the BOSH connection and I'm getting Dialog + User messages coming through in realtime.
I'm confused about how to now send GET/SET/POST messages to Finesse so that I can go into ready, not ready, make calls, set call variables, drop calls, etc.
Do I send these commands over the BOSH connection using a Matrix.Xmpp.Client.Message and calling Send() ?
If so then can you provide an example GET, PUT and POST that works?
Or do I send these commands using seperate standard HTTP functions within .NET framework ?
An example would be:
PUT: /finesse/api/User/1111126 HTTP/1.1
request body: <User><state>NOT_READY</state><reasonCodeId>5</reasonCodeId></User>
many thanks,
Andy
I'm confused about how to now send GET/SET/POST messages to Finesse so that I can go into ready, not ready, make calls, set call variables, drop calls, etc.
Do I send these commands over the BOSH connection using a Matrix.Xmpp.Client.Message and calling Send() ?
If so then can you provide an example GET, PUT and POST that works?
Or do I send these commands using seperate standard HTTP functions within .NET framework ?
An example would be:
PUT: /finesse/api/User/1111126 HTTP/1.1
request body: <User><state>NOT_READY</state><reasonCodeId>5</reasonCodeId></User>
many thanks,
Andy