Sample Request & Response

Following are the sample request & response.

Sample Request:

{
    "preferences": {
        "categoryCode": "17010702020",
        "sicCode": "57340000",
        "naicsCode": "511210"
    },
    "locations": [
        {
            "geometry": {
                "type": "point",
                "coordinates": [
                    -73.70515,
                    42.682658
                ]
            },
            "objectId": "1"
        },
        {
            "geometry": {
                "type": "point",
                "coordinates": [
                    -149.908997,
                    61.214249
                ]
            },
            "objectId": "2"
        }
    ]
}
Sample Response.
{
    "poiBoundary": [
        {
            "objectId": "1",
            "center": {
                "type": "point",
                "coordinates": [
                    -73.70515,
                    42.682658,
                    163
                ]
            },
            "countyfips": "36083",
            "geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            -73.7072388183614,
                            42.6813771286938
                        ],
                        [
                            -73.7056575697913,
                            42.6839347288188
                        ],
                        [
                            -73.702904071394,
                            42.6836057187746
                        ],
                        [
                            -73.7028323151963,
                            42.6832314666839
                        ],
                        [
                            -73.7028609701521,
                            42.683227336434
                        ],
                        [
                            -73.7028979691558,
                            42.683218438326
                        ],
                        [
                            -73.7029329295802,
                            42.683205827724
                        ],
                        [
                            -73.7029651709558,
                            42.6831897500811
                        ],
                        [
                            -73.7029871877633,
                            42.6831756024809
                        ],
                        [
                            -73.7030131995357,
                            42.6831542477115
                        ],
                        [
                            -73.7030349298934,
                            42.6831304298545
                        ],
                        [
                            -73.7030440538765,
                            42.6831177405084
                        ],
                        [
                            -73.7030519558826,
                            42.6831046124998
                        ],
                        [
                            -73.7034969870287,
                            42.6832369086997
                        ],
                        [
                            -73.7042331417322,
                            42.6823298119104
                        ],
                        [
                            -73.7042163898147,
                            42.6823224115799
                        ],
                        [
                            -73.7043317852122,
                            42.6821802174609
                        ],
                        [
                            -73.7043395113791,
                            42.6821537695191
                        ],
                        [
                            -73.7043161847206,
                            42.6819889313862
                        ],
                        [
                            -73.704335604235,
                            42.68198743544
                        ],
                        [
                            -73.7042765388915,
                            42.6815700466185
                        ],
                        [
                            -73.7047789643256,
                            42.6815313420103
                        ],
                        [
                            -73.7047822858165,
                            42.6815548123306
                        ],
                        [
                            -73.7072388183614,
                            42.6813771286938
                        ]
                    ]
                ]
            },
            "poiList": [
                {
                    "id": "2108843045",
                    "name": "MAPLNFO",
                    "contactDetails": {
                        "address": {
                            "formattedAddress": "1 GLOBAL VW, TROY, NY 12180",
                            "mainAddressLine": "1 GLOBAL VW",
                            "areaName1": "NY",
                            "areaName3": "TROY",
                            "postCode": "12180",
                            "country": "USA"
                        },
                        "propertyAddress": {
                            "mainAddressLine": "1 GLOBAL VW",
                            "areaName1": "NY",
                            "areaName3": "TROY",
                            "postCode": "12180"
                        }
                    },
                    "poiClassification": {
                        "sic": {
                            "sicCode": "57340000",
                            "sicCodeDescription": "COMPUTER AND SOFTWARE STORES",
                            "primarySicCode": "5734"
                        },
                        "category": {
                            "categoryCode": "16080401001",
                            "tradeDivision": "DIVISION G. - RETAIL TRADE",
                            "tradeGroup": "MISCELLANEOUS RETAIL",
                            "class": "MISCELLANEOUS SHOPPING GOODS STORES"
                        }
                    }
                },
                {
                    "id": "2129876536",
                    "name": "METABANK",
                    "contactDetails": {
                        "address": {
                            "formattedAddress": "1 GLOBAL VW, TROY, NY 12180",
                            "mainAddressLine": "1 GLOBAL VW",
                            "areaName1": "NY",
                            "areaName3": "TROY",
                            "postCode": "12180",
                            "country": "USA"
                        },
                        "propertyAddress": {
                            "mainAddressLine": "1 GLOBAL VW",
                            "areaName1": "NY",
                            "areaName3": "TROY",
                            "postCode": "12180"
                        }
                    },
                    "poiClassification": {
                        "sic": {
                            "sicCode": "60999912",
                            "sicCodeDescription": "AUTOMATED TELLER MACHINE (ATM) NETWORK",
                            "primarySicCode": "6099"
                        },
                        "category": {
                            "categoryCode": "17010702020",
                            "tradeDivision": "DIVISION H. - FINANCE, INSURANCE, AND REAL ESTATE",
                            "tradeGroup": "DEPOSITORY INSTITUTIONS",
                            "class": "FUNCTIONS RELATED TO DEPOSITORY BANKING"
                        }
                    }
                },
            "id": "36083383200 122.-1-4.221"
        },
        {
            "objectId": "2"
        }
    ]
}