PortalAdmin.WebAPI

<back to all web services

admin.gateway.create

REST Paths

The following REST paths are available for this service.

POST admin.gateway.create

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/admin.gateway.create HTTP/1.1 
Host: talk.vltelecom.com 
Content-Type: application/json
Content-Length: length

{"item":{"item":{"id":0,"description":"String", "ipNumber":"String", "port":0,"deviceType":"H323", "h323Id":"String", "sipLogin":"String", "sipPassword":"String", "earlyH245":false,"fastStart":false,"sendRemotePartyId":false,"active":false,"callLimit":0,"techPrefix":"String", "tariffId":0,"tariffName":"String"},"audioCodecs":[{"id":0,"name":"String"}],"videoCodecs":[{"id":0,"name":"String"}],"faxCodecs":[{"id":0,"name":"String"}]}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"item":{"item":{"id":0,"description":"String", "ipNumber":"String", "port":0,"deviceType":"H323", "h323Id":"String", "sipLogin":"String", "sipPassword":"String", "earlyH245":false,"fastStart":false,"sendRemotePartyId":false,"active":false,"callLimit":0,"techPrefix":"String", "tariffId":0,"tariffName":"String"},"audioCodecs":[{"id":0,"name":"String"}],"videoCodecs":[{"id":0,"name":"String"}],"faxCodecs":[{"id":0,"name":"String"}]},"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}