This documentation is for the v2 (stable) version of the API.
Invocation URL: /v2/fastlabel/listcontacts

Descripton:

List all the customers contacts.

Parameters:

UserID - The ID of the user to get the contacts for (see List Users). If omitted, all contacts for all users will be returned. Term - The search term to narrow down the results (will search by CompanyName). If omitted, all contacts will be returned.

Returns:

A data structure like so:

{
    'result': [
        {
            'AccountNo': '1232113',
            'CompanyName': 'Good Grocers',
            'ContactName': 'Tom Good',
            'StreetAddress': '34 Romanes Drive',
            'StreetAddress1': null,
            'Suburb': 'Tawa',
            'Postcode': null,
            'City': 'Havelock North 1',
            'LocalRF': null,
            'CreateDate': '2009-11-10 21:26:24',
            'Phone': '06 8340936',
            'EmailAddress': null,
            'Mobile': null,
            'SpecialInstruction1': 'Test 1',
            'SpecialInstruction2': 'Test 2',
            'SpecialInstruction3': 'Test 3'
        }, { ... etc
	}]
}

Example:

https://api.fastway.org/v2/fastlabel/listcontacts?api_key=YOUR_API_KEY
https://api.fastway.org/v2/fastlabel/listcontacts?Term=Bays&api_key=YOUR_API_KEY

Back to FastLabel