API Overviews

This template makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.

API - Request Sample
URI HTTP Method Description
api/usertype/getbypage?param=[{"pageNumber":0,"pageSize":15,"IsPaging":0}] GET [{"pageNumber":0,"pageSize":15,"IsPaging":0}]
api/nas/getbyid?param={"id":1} GET {"id":1}
api/usertype/saveupdate POST [{ "nasname" :"nas1", "shortname" :"n1", "type" :"t1", "ports" :"3303", "secret" :"pw", "server" :"123.456.789.10", "community" :"ctg community", "description" :"test" }]
api/nas/delete?param=[{"id":3}] DELETE [{"id":3}]
Response
                        "resarray":[  
                            {  
                                "id":1,
                                "typeId":1,
                                "typeName":"Customers",
                                "typeCode":"000001"
                            },
                            {  
                                "id":2,
                                "typeId":2,
                                "typeName":"Employee",
                                "typeCode":"000002"
                            }
                        ]