Alert!

This is the latest version of the API! It is subject to change and may contain bugs! Use only for testing new features or at your own risk.
Invocation URL: /latest/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://nz.api.fastway.org/latest/fastlabel/listcontacts?api_key=YOUR_API_KEY
https://nz.api.fastway.org/latest/fastlabel/listcontacts?Term=Bays&api_key=YOUR_API_KEY

Back to FastLabel