GET api/ContactList/{user}/{contactList}?page={page}

It returns a page of contacts in a contact list.

URL request: http://login.sendservice.eu/MultiChannelAPI/Api/Contactlist/{user}/{contactList}?page={page}


URL Parameters

ParameterDescriptionRequired
{user}
It is the GUID of the user. It is inside the Personal Information of the user on SENDService
yes
{contactList}

It is the ID of the contact list on SENDService

yes
{page}

Is the number of the page of the contact list that you will see on your response.

If it is not inserted on the request, it will be returned only the first page

Response

ParameterDescriptionObject / Right format

ListId

It represents the ID of the list of your requestString
Name

It represents the name of your contact list

String
Count

It represents the count contact in your contact list

Integer

Contacts

It is an object that contains an array with details of your contacts{
"ContactId": 48765710,
"FirstName": "Name",
"LastName": null,
"MobilePhone": null,
"HomePhone": "0039....",
"Fax": null,
"Email": null,
"Address": "Via ",
"WebSite": "http://www.sendservice.eu/",
"Category": "Cat",
"InsertDate": "2017-12-15T12:20:09+01:00"
},

NumberOfPages

Is the number of the page of the contact list that you will see on your response.Insert "high" as provider code
Example Application/json, Text/json
{
    "ListId": 20103,
    "Name": "Idraulici",
    "Count": 24,
    "Contacts": [
        {
            "ContactId": 48765709,
            "FirstName": "name1",
            "LastName": null,
            "MobilePhone": null,
            "HomePhone": "+39...",
            "Fax": null,
            "Email": null,
            "Address": "Via della Tecnica, 1, 37030 Lavagno VR, Italia",
            "Category": "Categoria",
            "InsertDate": "2017-12-15T12:20:07+01:00"
        },
        {
            "ContactId": 48765722,
            "FirstName": "name2",
            "LastName": null,
            "MobilePhone": null,
            "HomePhone": "+39...",
            "Fax": null,
            "Email": null,
            "Address": "Via Ulderico Marotto, 37132 Verona VR, Italia",
            "Category": "categoria",
            "InsertDate": "2017-12-15T12:20:47+01:00"
        },
        {...}
    ],
    "NumberOfPages": 1
}