Skip to main content
PUT
/
api
/
sys
/
automationtiles
{
  "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
Business Id.
Name
string
required
Tile name used to identify it in the admin panel.

Optional Fields

TileNumber
string
Unique tile identifier (GUID) auto-assigned on creation. Used to generate the QR code and NFC URL.
Action
integer
Action triggered when the tile is scanned: None, CheckIn, CheckOut, BookingCheckIn, EventCheckIn, ExtendBookingBy, RequestUrl, RedirectUrl, ResourceCleaned, BookResource, BookDesk, ShowNewBookingForm, UnlockAct365Door, UnlockDoorDeckDoor, UnlockKisiDoor, SmartLock, etc.. See eAutomationTileAction enum above.
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.
GeofencePrecission
integer
Geofence precision level: Low, Medium, High, or VeryHigh. Higher precision requires the user to be closer to the tile coordinates. See eAutomationTileGeofencePrecission enum above.
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[]
Resources.
AddedResources
integer[]
Added Resources.
RemovedResources
integer[]
Removed Resources.
Tariffs
integer[]
Tariffs.
AddedTariffs
integer[]
Added Tariffs.
RemovedTariffs
integer[]
Removed Tariffs.
TimePasses
integer[]
Time Passes.
AddedTimePasses
integer[]
Added Time Passes.
RemovedTimePasses
integer[]
Removed Time Passes.
FloorPlanDesks
integer[]
Floor Plan Desks.
AddedFloorPlanDesks
integer[]
Added Floor Plan Desks.
RemovedFloorPlanDesks
integer[]
Removed Floor Plan Desks.

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": "",
    "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
}