PortalAdmin.WebAPI

<back to all web services

AdminCreatePBXSubAccountList

REST Paths

The following REST paths are available for this service.

POST AdminCreatePBXSubAccountList

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

{"idCompany":0,"subAccounts":[{"login":"String", "password":"String", "webPassword":"String", "firstName":"String", "lastName":"String", "eMail":"String", "phoneNumber":"String", "mobileNumber":"String", "tariffPrefix":"String", "branchName":"String", "branchPrefix":0,"companyStructure":"String", "address":"String", "callLimit":0}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"subAccounts":[{"errorMessage":"String", "login":"String", "idClient":0}],"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}