Toggle menu

listProviders()

This function is called to obtain a list of available postcode providers.

Parameters

None

Example Request

function(params)  { 
    let resp = this.callWorkerMethod("postcode", "listProviders", {} );
    return resp;
}

Returns

{
    "id": 227,
    "result": [{
        "name": "Example",
        "description": "Example implementation.",
        "restrictions": "Only holds data for PL6 7TL.",
        "chargeable": false,
        "providerWebsite": ""
    }, {
        "name": "EndPoint",
        "description": "Invokes an End Point 'undefined'(undefined) to perform the lookup.",
        "restrictions": "None.",
        "chargeable": false,
        "providerWebsite": ""
    }],
    "jsonrpc": "2.0"
}

Last modified on September 29, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon