PortalAdmin.WebAPI

<back to all web services

admin.client.login

REST Paths

The following REST paths are available for this service.

POST admin.client.login

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

{"login":"String", "password":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"idClient":0,"clientType":0,"tariffId":0,"tariffName":"String", "currencyId":0,"currencyName":"String", "isPBXSubAccount":false,"isPBXMainAccount":false,"isCallsShopCabin":false,"firstName":"String", "lastName":"String", "login":"String", "eMail":"String", "resellerId":0,"accountState":0,"creditAllowed":0,"creditBalance":0,"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}