CallerID Group API

apirest.callerid_group_serializers.CallerIDGroupSerializer

CallerIDGroup API is read only, you cannot create CallerIDGroup using this API at the moment.

Read:

CURL Usage:

curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/callerid_group/

Response:

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "http://127.0.0.1:8000/rest-api/callerid_group/2/",
            "name": "CIDGroup-01",
            "description": "",
            "created_date": "2018-08-08T16:01:54.358902+02:00",
            "updated_date": "2018-08-08T16:01:54.358924+02:00",
            "user": "http://127.0.0.1:8000/rest-api/users/2/"
        },
        {
            "url": "http://127.0.0.1:8000/rest-api/callerid_group/3/",
            "name": "CIDGroup",
            "description": "",
            "created_date": "2018-09-20T10:37:58.346277+02:00",
            "updated_date": "2018-09-20T10:37:58.346317+02:00",
            "user": "http://127.0.0.1:8000/rest-api/users/1/"
        }
    ]
}