This information relates to the
Type
query parameter, which can be used when making a Capture Find or Capture Retrieve API call.Type
query parameter is only applicable if you have the OS AddressBase Premium dataset enabled on your account and set on a specific license key.
Use in Find
-
When
Type
is set to ‘address’, typeahead will work as usual. -
When
Type
is set to ‘uprn’, thetext
query parameter is used to search records where the UPRN information matches from the OS AddressBase Premium dataset. -
When
Type
is set to ‘parent_uprn’, thetext
query parameter is used to search records where the Parent UPRN information matches from the OS AddressBase Premium dataset. -
When
Type
is set to ‘toid’, thetext
query parameter is used to search records where the cross reference information matches values from the OS AddressBase Premium dataset.
Use in Retrieve
-
When
Type
is set to ‘retrieveId’, it will interpret theid
field like normal. You can also send in multiple retrieve IDs, comma separated. This is so you can do a batch retrieve on multiple records at once. This feature is only enabled with the OS AddressBase Premium dataset being enabled on the account. -
When
Type
is set to ‘uprn’, theid
query parameter is used to retrieve the full record(s) where the UPRN information matches from the OS AddressBase Premium dataset. -
When
Type
is set to ‘parent_uprn’, theid
query parameter is used to retrieve the full record(s) where the Parent UPRN information matches from the OS AddressBase Premium dataset. -
When
Type
is set to ‘toid’, theid
query parameter is used to retrieve the full record(s) where the cross reference information matches values from the OS AddressBase Premium dataset.