curl --request POST \
--url https://api2.rhombussystems.com/api/location/createLocation \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"location": {
"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>",
"qualifiedAddress": {
"addressLine2": "<string>",
"addressline1": "<string>",
"administrativeArea": "<string>",
"locality": "<string>",
"postalCode": "<string>",
"regionCode": "<string>"
},
"subLocations": "<array>",
"tz": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
},
"parentLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'