PortalAdmin.WebAPI

<back to all web services

admin.plan.get

REST Paths

The following REST paths are available for this service.

POST admin.plan.get

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.plan.get HTTP/1.1 
Host: talk.vltelecom.com 
Content-Type: application/json
Content-Length: length

{"id":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"plan":{"id":0,"clientType":32,"name":"String", "description":"String", "period":0,"idTariffs":0,"tariffsPlans":"String", "amount":0,"startupCost":0,"periodCost":0,"idReseller":-1,"type":1,"startTime":"0001-01-01T00:00:00.0000000", "endTime":"0001-01-01T00:00:00.0000000", "periodNumber":0,"resolution":0,"minimalTime":0,"voiceRate":0},"tariffRates":[{"label":"String", "id":0,"tariffNameId":0,"prefix":"String", "voiceRate":0,"description":"String", "countryCode":"String"}],"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}