get camera status (on/ off) from API

Can I call the below service using jquery with json as output type? Do you have a sample for me?

http://localhost:7563/recorderstatusservice/recorderstatusservice2.asmx/getRecorderStatus

As you indicate that you are using Mobile Server it is important first to note that there is no functionality on the Mobile Server to give you the kind of status information that the Recorder Status service can provide.

RecorderStatusService2 is SOAP service so it can work with SOAP but not with JSON. Regarding a sample, Status Console sample might be interesting for you, please see this link -

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/statusdemoconsole/readme.html&tree=tree_2.html