Skip to content
English - United Kingdom
  • There are no suggestions because the search field is empty.

SetAddress

Update the address data for a location.

URL: /data/locations/v2/setAddress

Method: POST

Method Parameters

Name Type Required Description

apiKey

string

Yes

The API key for your organisation.



model

 

object



Yes


The object detailing the specified values.

See Model Object Properties.

Model Object Properties

All Address fields are required. Passing null into any of these fields will result in that line of the Address being set to a blank value.

Name Type Required Description


uniqueKey


string


Yes


The unique key of a location record.


layerKey


string


Yes


The API key matching the Layer in which the record is stored.


line1


string


Yes


The new value for Line 1 of the Address.


line2


string


Yes


The new value for Line 2 of the Address.


line3


string


Yes


The new value for Line 3 of the Address.


cityTown


string


Yes


The new value for the City/Town of the Address.


countyState


string


Yes


The new value for the County/State of the Address.


postcode


string


Yes


The new value for the Postal/ZIP Code of the Address.


country


string


Yes


The new value for the Country of the Address.

Response

All responses that may be returned are specified under Common Information.

Example call

URL: https://api.vision-mapping.com/data/locations/v2/setAddress?apiKey=INSERT_YOUR_KEY_HERE

Body:

{
uniqueKey: "abc",
layerKey: "abc",
line1: "abc",
line2: "abc",
line3: "abc",
cityTown: "abc",
countyState: "abc",
postcode: "abc",
country: "abc"
}