Global KeyLookup POST Request

The POST request enables you to submit a key to geocode against and get back additional information that enhanced your records.

Base URI

http://<server>:<port>/rest/GlobalGeocode/database/<DBname>/keyLookup.[content type]

Where:

[.content type] indicates that the specified content type will be used by default. Optional.
json
Default content type is JSON, unless superseded by HTTP content negotiation
xml
Default content type is XML, unless superseded by HTTP content negotiation

Sample JSON Request

{
  "type" : "PB_KEY",
  "preferences": {
    "maxReturnedCandidates": 10
  },
  "keys": [
    {
      "country" : "USA",
      "value" : "PB12345678"
    }
    ]
}