Callcenter Config API

apirest.callcenter_config_serializers.CallcenterConfigSerializer

Read:

CURL Usage:

curl -u username:password -H 'Accept: application/json' http://127.0.0.1:8000/rest-api/callcenter_config/

Response:

{
"count": 2,
"next": null,
"previous": null,
"results": [
    {
    "url": "http://127.0.0.1:8000/rest-api/callcenter_config/3/",
    "name": "DefaultConfig",
    "agent_script": "Hello, How are things today?",
    "lead_disposition": "",
    "crm_external_url": "",
    "is_default": true,
    "created_date": "2019-06-21T18:33:47.764298+02:00",
    "updated_date": "2019-10-31T21:03:53.357773+01:00",
    "user": "http://127.0.0.1:8000/rest-api/users/2/"
    },
    {
    "url": "http://127.0.0.1:8000/rest-api/callcenter_config/4/",
    "name": "NewCallcenterConf",
    "agent_script": "",
    "lead_disposition": "0=WRONG_NUMBER,1=VOICEMAIL,2=LEFT_MESSAGE,3=NOT_INTERESTED,4=INTERESTED,5=CALLBACK_LATER,6=CLOSE",
    "crm_external_url": "",
    "is_default": true,
    "created_date": "2019-08-24T16:47:49.782380+02:00",
    "updated_date": "2019-11-07T18:33:35.348265+01:00",
    "user": "http://127.0.0.1:8000/rest-api/users/1/"
    }
]
}