Skip to main content
PUT
/
api
/
sys
/
automationtiles
Update AutomationTile
curl --request PUT \
  --url https://spaces.nexudus.com/api/sys/automationtiles \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Id": 123,
  "BusinessId": 123,
  "Name": "<string>",
  "Action": 123,
  "GeofencePrecission": 123
}
'
{
  "Status": 123,
  "Message": "<string>",
  "Value": "<any>",
  "WasSuccessful": true,
  "Errors": [
    {
      "AttemptedValue": "<any>",
      "Message": "<string>",
      "PropertyName": "<string>"
    }
  ]
}
Updates an existing AutomationTile record. You must include the Id of the record to update along with all required fields.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the AutomationTile-Edit role.

Enums

ValueName
1None
2UnlockAct365Door
3CheckIn
4CheckOut
5BookingCheckIn
6EventCheckIn
7ResourceCleaned
8RequestUrl
9RedirectUrl
10UnlockDoorDeckDoor
11UnlockKisiDoor
12BookResource
13BookDesk
14ShowNewBookingForm
15SmartLock
16ExtendBookingBy
17ShowAcsModal
18UnlockPadWordDoor
19UnlockOPaxtonNet2Door
ValueName
1Low
2Medium
3High
4VeryHigh

Request Body

Required Fields

Id
integer
required
The Id of the AutomationTile record to update.
BusinessId
integer
required
ID of the business linked to this record.
Name
string
required
Tile name used to identify it in the admin panel.
Action
integer
required
Action triggered when the tile is scanned: None, CheckIn, CheckOut, BookingCheckIn, EventCheckIn, ExtendBookingBy, RequestUrl, RedirectUrl, ResourceCleaned, BookResource, BookDesk, ShowNewBookingForm, UnlockAct365Door, UnlockDoorDeckDoor, UnlockKisiDoor, SmartLock, etc..
GeofencePrecission
integer
required
Geofence precision level: Low, Medium, High, or VeryHigh. Higher precision requires the user to be closer to the tile coordinates.

Optional Fields

TileNumber
string
Unique tile identifier (GUID) auto-assigned on creation. Used to generate the QR code and NFC URL.
ActionParameters
string
Parameters for the selected action. Format depends on the action type — e.g. a resource ID, a URL, or a resource ID|duration pair.
EnableGeofence
boolean
Whether to restrict the tile to a geographic area. When enabled, the tile only works if the user is within the configured radius of the tile’s coordinates.
CheckCustomerIn
boolean
Whether to also check the customer into the space when they scan the tile, regardless of the primary action.
Longitude
string
Longitude of the tile’s installed location. Used for geofencing.
Latitude
string
Latitude of the tile’s installed location. Used for geofencing.
MaxDistanceMeters
integer
Custom maximum distance in meters from the tile’s coordinates. Overrides the precision preset when set.
SuccessMessage
string
Custom message shown to the user when the tile action completes successfully.
ErrorMessage
string
Custom error message shown to the user when the tile action fails.
Resources
integer[]
List of resources linked to this record.
AddedResources
integer[]
The added resources value for this automation tile.
RemovedResources
integer[]
The removed resources value for this automation tile.
Tariffs
integer[]
List of tariffs linked to this record.
AddedTariffs
integer[]
The added tariffs value for this automation tile.
RemovedTariffs
integer[]
The removed tariffs value for this automation tile.
TimePasses
integer[]
List of time passes linked to this record.
AddedTimePasses
integer[]
The added time passes value for this automation tile.
RemovedTimePasses
integer[]
The removed time passes value for this automation tile.
FloorPlanDesks
integer[]
List of floor plan desks linked to this record.
AddedFloorPlanDesks
integer[]
The added floor plan desks value for this automation tile.
RemovedFloorPlanDesks
integer[]
The removed floor plan desks value for this automation tile.

Code Examples

curl -X PUT \
  "https://spaces.nexudus.com/api/sys/automationtiles" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "BusinessId": 0,
    "Name": "",
    "Action": 0,
    "GeofencePrecission": 0,
    "Id": 87654321
}'

Response

200

Status
integer
HTTP status code. 200 on success.
Message
string
A human-readable message confirming the update.
Value
object
Contains the Id of the updated record.
WasSuccessful
boolean
true if the automationtile was updated successfully.
Errors
array
null on success.
Example Response
{
  "Status": 200,
  "Message": "AutomationTile was successfully updated.",
  "Value": {
    "Id": 87654321
  },
  "OpenInDialog": false,
  "OpenInWindow": false,
  "RedirectURL": null,
  "JavaScript": null,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "UpdatedBy": "admin@example.com",
  "Errors": null,
  "WasSuccessful": true
}

400

Message
string
A summary of the validation error(s), in the format PropertyName: error message.
Value
any
null on validation failure.
Errors
object[]
Array of validation errors.
WasSuccessful
boolean
false when the request fails validation.
Example Response
{
  "Message": "Name: is a required field",
  "Value": null,
  "Errors": [
    {
      "AttemptedValue": null,
      "Message": "is a required field",
      "PropertyName": "Name"
    }
  ],
  "WasSuccessful": false
}