cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
849
Views
0
Helpful
4
Replies
johnmon
Cisco Employee

C# sample listener

Hi - has anyone written or aware of a sample C# listener for CMX notifications?

Thanks,

John

4 REPLIES 4
matfarre
Frequent Contributor

Hi John,

I'm not aware of available C# sample code for CMX API.

We have the Python and Node.js Sample Notification Listeners at https://cmxlocationsandbox.cisco.com/apidocs/code

Let's ask the community for help on this. 


Thanks,

Matt

Thanks Matt - I have a customer that needs this pretty quickly, how do we reach the community to ask them or is this discussion the way to do it?

cheers

matfarre
Frequent Contributor

John,

I would ask the CMX BU folks also, on the various internal mailers, cs-location, cmx-adoption, cs-cmx.

Matt

matfarre
Frequent Contributor

Hi John,

I saw Christian's reply regarding C# Sample code and will post it here as well.

Thanks for the question,

Matt

Not tested, but sounds like a good starting point:

https://www.codeproject.com/Articles/1063910/WebSocket-Server-in-Csharp

You need to create a web socket (i.e. an open network port). Use the right network library for the operating system etc.

CMX will do a POST of the JSON or XML.

The node.js example in the documentation should help you to figure out the rest.

Content for Community-Ad

This widget could not be displayed.