Skip to main content
POST
/
api
/
location
/
selectiveUpdateLocation
Selective update location
curl --request POST \
  --url https://api2.rhombussystems.com/api/location/selectiveUpdateLocation \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "address1": "<string>",
  "address2": "<string>",
  "countryCode": "<string>",
  "floorPlans": [
    {
      "eastEdge": 123,
      "floorLabel": "<string>",
      "floorNumber": 123,
      "imageUrl": "<string>",
      "mediaUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "northEdge": 123,
      "rotation": 123,
      "southEdge": 123,
      "westEdge": 123
    }
  ],
  "labels": [
    "<string>"
  ],
  "latitude": 123,
  "longitude": 123,
  "name": "<string>",
  "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "postalCode": "<string>",
  "timezoneId": "<string>",
  "tz": {
    "displayName": "<string>",
    "dstsavings": 123,
    "id": "<string>",
    "rawOffset": 123
  }
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for selectively updating a location.

locationUuid
string<RUUID> | null
required

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

address1
string | null

First line of the address

address2
string | null

Second line of the address

countryCode
string | null

Country code of the location

floorPlans
object[] | null

Floor plans for the location

labels
(string | null)[] | null

Labels offer a way to perform operations across multiple locations if they have the same label

Labels offer a way to perform operations across multiple locations if they have the same label

latitude
number<double> | null

Latitude coordinate of the location

longitude
number<double> | null

Longitude coordinate of the location

name
string | null

Name of this location

policyUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

postalCode
string | null

Postal code of the location

timezoneId
string | null

Timezone identifier, e.g. America/Los_Angeles, EST, GMT+0, etc.

tz
object

Use timezoneId field instead

Response

200 - application/json

OK

Response object for selectively updating a location.

error
boolean | null
errorMsg
string | null
warningMsg
string | null