CallerID API

apirest.callerid_serializers.CallerIDSerializer

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

Read:

CURL Usage:

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

Response:

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "http://127.0.0.1:8000/rest-api/callerid/3/",
            "areacode": "*",
            "callerid_num": "Replace me!",
            "callerid_name": "",
            "created_date": "2018-09-20T10:37:58.353565+02:00",
            "callerid_group": "http://127.0.0.1:8000/rest-api/callerid_group/3/"
        },
        {
            "url": "http://127.0.0.1:8000/rest-api/callerid/4/",
            "areacode": "*",
            "callerid_num": "Replace me!",
            "callerid_name": "",
            "created_date": "2018-12-04T12:17:31.393851+01:00",
            "callerid_group": "http://127.0.0.1:8000/rest-api/callerid_group/4/"
        }
    ]
}