/
4.1.20 Company Structure
4.1.20 Company Structure
Company Structure
The method is available at: /cs.ashx
The method allows you to download the company structure along with user data profiles.
Authorization
The method requires authorization using basic authentication. Please use your SIP account login and password.
Description:
Parameters
Brak
Return value
If successful, we will receive a JSON object containing
[ { "bid":1, "pid":0, "brn":"Branch name", "pro":[ { "lg":"SIP login", "fv":false, "fn":"First Name", "ln":"Last Name", "em":"email@domena.com", "co":"Country ISO2 code", "ci":"City", "pn":"Phone number + country code", "cc":"Country code", "fe":"1", "ts":"2016-12-31T23:59:59", "ext":[ "101", "102" ] }, { "lg":"SIP login", "fv":true, "fn":"First Name", "ln":"Last Name", "em":"email@domena.com", "co":"Country ISO2 code", "ci":"City", "pn":"Phone number + country code", "cc":"Country code", "fe":"0", "ts":"", "ext":[ "103" ] } ] } ]
If an error occurs on the server or any of the parameters contain an incorrect value, the method will return the appropriate 3-digit error code shown below:
Code
Description
500
Internal server error
, multiple selections available,
Related content
4.1.1 Register
4.1.1 Register
More like this
4.1.10 Profile
4.1.10 Profile
More like this
4.1.19 Custom fields
4.1.19 Custom fields
Read with this
4.1.21 Forgot password
4.1.21 Forgot password
Read with this
4.1.17 Videomail & Voicemail
4.1.17 Videomail & Voicemail
Read with this
4.1.4 Contacts - mobile
4.1.4 Contacts - mobile
Read with this