get_client_sipaccount

Description

Get the details of ALL SIP Accounts belonging to a client.

Parameters 

client_account_code

Request 

curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"client_account_code":"1482229879"}' \
-k https://your.domain.com/api/users/get_client_sipaccount

Response

{
    "status": "success",
    "results": [
        {
            "codec4": null,
            "codec1": null,
            "codec2": null,
            "codec3": null,
            "cli_debug": false,
            "port": null,
            "custom_sip_headers": "",
            "client_account_code": "1482229879",
            "id": 3247223686366912,
            "bypass_media": null,
            "caller_id_number": null,
            "username": "3390277728pl5iAD",
            "description": "",
            "caller_id_name": null,
            "sip_force_expires": null,
            "password": "M4MrretrA2JK",
            "ip_address": null,
            "voicemail_password": null,
            "voicemail": false,
            "register": false,
            "enabled": true,
            "pass_thru_caller_id": true,
            "sip_force_contact": null
        },
        {
            "codec4": null,
            "codec1": null,
            "codec2": null,
            "codec3": null,
            "cli_debug": false,
            "port": null,
            "custom_sip_headers": "",
            "client_account_code": "1482229879",
            "id": 1694181117336621,
            "bypass_media": null,
            "caller_id_number": "19173001111",
            "username": "3390277728aSmjP9",
            "description": "Yealink T20",
            "caller_id_name": "Somebody",
            "sip_force_expires": null,
            "password": "Eh9wS540yI3EK",
            "ip_address": null,
            "voicemail_password": null,
            "voicemail": false,
            "register": true,
            "enabled": true,
            "pass_thru_caller_id": false,
            "sip_force_contact": null
        }
    ]
}