/Create Resource LocationPOST

Create Resource Location

Create a new location (address/coordinates) for a resource. Each row creates one location.

1 — Excel file

Each row = one API call.

Submit to OFS

Upload an Excel file.

Fields

resourceIdrequiredstring

Resource to add the location to.

labelstring

Unique label for this location.

addressstring

Street address.

citystring

City name.

statestring

State or province.

postalCodestring

Postal / ZIP code.

countrystring

Country name or code.

latitudenumber

Geographic latitude (-90 to 90).

longitudenumber

Geographic longitude (-180 to 180).

statusenum

Location status. Defaults to 'manual' if coordinates are present.

manualgeocoded
privateLocationFlagenum

Mark location as private. Default false.

truefalse

Notes

  • ·At least one of: address, city, postalCode, latitude/longitude should be provided.
  • ·If latitude and longitude are provided, status defaults to 'manual'.
  • ·Returns 201 Created with the new location ID on success.