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
}
}
'import requests
url = "https://api2.rhombussystems.com/api/location/selectiveUpdateLocation"
payload = {
"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
}
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
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}
})
};
fetch('https://api2.rhombussystems.com/api/location/selectiveUpdateLocation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/location/selectiveUpdateLocation")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"floorPlans\": [\n {\n \"eastEdge\": 123,\n \"floorLabel\": \"<string>\",\n \"floorNumber\": 123,\n \"imageUrl\": \"<string>\",\n \"mediaUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"northEdge\": 123,\n \"rotation\": 123,\n \"southEdge\": 123,\n \"westEdge\": 123\n }\n ],\n \"labels\": [\n \"<string>\"\n ],\n \"latitude\": 123,\n \"longitude\": 123,\n \"name\": \"<string>\",\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"postalCode\": \"<string>\",\n \"timezoneId\": \"<string>\",\n \"tz\": {\n \"displayName\": \"<string>\",\n \"dstsavings\": 123,\n \"id\": \"<string>\",\n \"rawOffset\": 123\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Selective update location
Selectively update a 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
}
}
'import requests
url = "https://api2.rhombussystems.com/api/location/selectiveUpdateLocation"
payload = {
"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
}
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
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}
})
};
fetch('https://api2.rhombussystems.com/api/location/selectiveUpdateLocation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/location/selectiveUpdateLocation")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"floorPlans\": [\n {\n \"eastEdge\": 123,\n \"floorLabel\": \"<string>\",\n \"floorNumber\": 123,\n \"imageUrl\": \"<string>\",\n \"mediaUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"northEdge\": 123,\n \"rotation\": 123,\n \"southEdge\": 123,\n \"westEdge\": 123\n }\n ],\n \"labels\": [\n \"<string>\"\n ],\n \"latitude\": 123,\n \"longitude\": 123,\n \"name\": \"<string>\",\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"postalCode\": \"<string>\",\n \"timezoneId\": \"<string>\",\n \"tz\": {\n \"displayName\": \"<string>\",\n \"dstsavings\": 123,\n \"id\": \"<string>\",\n \"rawOffset\": 123\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request object for selectively updating a location.
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
First line of the address
Second line of the address
Country code of the location
Floor plans for the location
Show child attributes
Show child attributes
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 coordinate of the location
Longitude coordinate of the location
Name of this location
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Postal code of the location
Timezone identifier, e.g. America/Los_Angeles, EST, GMT+0, etc.
Use timezoneId field instead
Show child attributes
Show child attributes