SubscriberListSerializer

class apirest.subscriber_list_serializers.SubscriberListSerializer(instance=None, data=<class rest_framework.fields.empty>, **kwargs)

Read:

CURL Usage:

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

Response:

[
    {
        "id": 1,
        "contact": "/rest-api/contact/11/",
        "campaign": "/rest-api/campaigns/3/",
        "last_attempt": null,
        "count_attempt": 0,
        "completion_count_attempt": 0,
        "duplicate_contact": "34235464",
        "status": 1
    },
    {
        "id": 2,
        "contact": "/rest-api/contact/12/",
        "campaign": "/rest-api/campaigns/3/",
        "last_attempt": null,
        "count_attempt": 0,
        "completion_count_attempt": 0,
        "duplicate_contact": "34235464",
        "status": 1
    }
]