Jon23
Mega Sage

@hanumesh 

ServiceNow provides good documentation on their API's, usage, and examples. 

I would suggesting reviewing their docs first, then post specific questions per your requirements.

 

API Reference

Client API Reference
Server API Reference