• Tools
Tools
  • Tools
loading...
No Results
  • ActiveCampaign
  • AirDroid Business
    • Index
    • Clear app data and cache
    • Create a group
    • Delete groups
    • Disable lost mode
    • Error codes
    • Enable lost mode
    • Field reference
    • Get average screen time
    • Get account activities
    • Get a group
    • Get a group id by group name
    • Get a device by name
    • Get a device app by name
    • Get an activity log
    • Get all devices
    • Get all device apps
    • Get all devices with filter
    • Get device info push
    • Get device location report
    • Get device network connection history
    • Get device application usage duration
    • Get device application report
    • Get device online status report
    • Get device remote access report
    • Get data usage overview and trends
    • Get tag ids by tag names
    • Get top 10 apps by usage duration
    • Get top 10 data usage apps
    • Lock a device
    • Move devices to a group
    • Open app to foreground
    • Power off a device
    • Reboot device
    • Remote operation
    • Set tags
    • Turn off device screen
    • Unenroll a device
    • Update a device name
    • Update a device remark
    • Update a group name
    • Update a group remark
  • Asana
  • AWS-S3
  • AWS Lambda
  • Appstore
  • BambooHR
  • Bitbucket
  • Brevo
  • Coda
  • Code
  • ConvertKit
  • CSV
  • Crypto
  • Clockify
  • Data Shaping
  • Date & Time
  • Delay
  • DingTalk
  • Discourse
  • Discord
  • Dropbox
  • Elastic Security
  • FeiShu
  • Freshdesk
  • Freshservice
  • Freshworks CRM
  • Gerrit
  • Gitlab
  • Github
  • Grafana
  • Google Ads
  • Google Docs
  • Google Drive
  • Google Gmail
  • Google Sheets
  • Google Analytics
  • Google Calendar
  • Google Developer
  • Harvest
  • HaloPSA
  • Hacker News
  • Hubspot
  • Help Scout
  • Intercom
  • Jira
  • Jenkins
  • Kafka
  • Lemlist
  • MySQL
  • Monday
  • Metabase
  • MailChimp
  • Microsoft Excel
  • Microsoft Outlook
  • Notion
  • Nextcloud
  • Odoo
  • Ortto
  • Okta
  • PayPal
  • Paddle
  • Pipedrive
  • PostHog
  • PostgreSQL
  • Qdrant
  • QRCode
  • QuickBooks
  • Redis
  • Stripe
  • Splunk
  • Shopify
  • Segment
  • ServiceNow
  • Search&Crawl
  • Text
  • Trello
  • Twilio
  • Todoist
  • Wikipedia
  • WordPress
  • WooCommerce
  • Xml
  • YouTube
  • Zulip
  • Zoom
  • Zendesk
  • Zammad
  • Zoho CRM
Home > Tools > AirDroid Business

Update a device remark

Tool Name: airdroid_business_update_device_remark

Risk Level: 🟠 Medium Risk

Execution Mode: âš¡ Synchronous

Category: Device Management

Quick Start (Copy & Use)

Summary: Update a device's note/remarks information.

Prerequisites: DeviceId (device ID) + Note (note content, can be empty to clear notes).

Success Criteria: StatusCode == 200 and ErrorMessage is empty string.

What to Do Next: Use Get All Devices to verify the note has been updated.

Minimal Request Example:

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": "This is a sales department device"
}

Minimal Response Example:

{
  "StatusCode": 200,
  "ErrorMessage": ""
}

Recipes (Common Recipes)

Recipe 1: Add Device Usage Description

When to use: Record the device's usage scenario and responsible person.

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": "Sales demo device. Contact: John (ext. 1234)"
}

Recipe 2: Add Maintenance Record

When to use: Record the device's maintenance history.

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": "Last maintenance: 2024-01-15. Battery replaced."
}

Recipe 3: Clear Device Note

When to use: Remove the device's note information.

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": ""
}

Note: Passing an empty string clears the device note.

1. Overview

1.1 Description

Update the note/remarks information of a specified device. Notes are used to store additional descriptions, usage records, or other custom information about the device.

1.2 When to Use

  • Record the device's purpose, responsible person, or location information
  • Add maintenance records or issue descriptions
  • Store any custom notes related to the device

1.3 Execution Mode and Response

This operation is synchronous and returns results immediately.

1.4 Prerequisites

Condition Description How to Check
Device exists Device must be registered in AirDroid Business Use Get All Devices to confirm

1.5 Prerequisite Tools

Dependency Tool Purpose Necessity
Get All Devices Get DeviceId If you only know the device name
Get a Device by Name Get DeviceId by device name If you only know the device name

2. Inputs

2.1 Parameter List

Parameter Type Required Default Description
DeviceId string Yes - Device unique identifier
Note string No "" Device note (empty string clears the note)

2.2 Parameter Details

`DeviceId`

Device unique identifier.

  • Type: string
  • Format: Non-empty string
  • Source:

How to obtain:

  1. Via Get All Devices tool - use the device_id field from the response
  2. Via Get a Device by Name tool - exact name query

The device_id field from the output can be used directly as this parameter.

  • Example:
  "fa6edcff65ab444e8b5e0eb08df4175d"

`Note`

Device note content.

  • Type: string
  • Format:
    • Can be an empty string (to clear the note)
    • Recommended length: within 500 characters
    • Maximum length: 1024 characters
    • Special characters not allowed: / \ < > &
  • Notes:
    • Passing an empty string "" clears the device note
    • The new note completely replaces the original note (full overwrite)
  • Example:
  "This is a sales department device. Contact: John (ext. 1234)"
  "Last maintenance: 2024-01-15. Issues: Battery drains fast."
  ""

2.3 Parameter Combination Logic

  • DeviceId is required
  • Note is optional; omitting it or passing an empty string both clear the note

3. Outputs

3.1 Response Example

Success response:

{
  "StatusCode": 200,
  "ErrorMessage": ""
}

Error response:

{
  "StatusCode": -1,
  "ErrorMessage": "Invalid device_id."
}

3.2 Field Descriptions

Field Path Type Description
StatusCode number Status code. 200=success, -1=parameter error, 500=network exception
ErrorMessage string Error message. Empty string on success

4. Examples

4.1 Basic Example: Add Device Note

Request Parameters:

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": "Sales demo device. Contact: John (ext. 1234)"
}

Response:

{
  "StatusCode": 200,
  "ErrorMessage": ""
}

4.2 Advanced Example: Add Detailed Maintenance Record

Request Parameters:

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": "Assigned to: Marketing Team\nLocation: Building A, Floor 3\nPurchase Date: 2023-06-15\nLast Maintenance: 2024-01-10\nNotes: Screen protector replaced"
}

Response:

{
  "StatusCode": 200,
  "ErrorMessage": ""
}

4.3 Clear Note Example

Request Parameters:

{
  "DeviceId": "fa6edcff65ab444e8b5e0eb08df4175d",
  "Note": ""
}

Response:

{
  "StatusCode": 200,
  "ErrorMessage": ""
}

5. Error Handling

5.1 AB Three-Layer Error Codes

StatusCode Meaning Use Case Agent Response
-1 Parameter validation error Local validation failure (missing required params, format errors) Do not retry, fix parameters and retry
200 Business success or business error HTTP request succeeded, check ErrorMessage Empty ErrorMessage = success; non-empty = business error
500 Network/request exception Timeout, connection failure, DNS resolution failure May retry (max 2 times, 5-second interval)

5.2 Common Errors

StatusCode ErrorMessage Example Cause Fix
-1 Invalid device_id. Device ID is empty or malformed Use Get All Devices to get a valid device ID
-1 Invalid note. Note type is wrong (not a string) Ensure Note is a string type
200 Device not found Device does not exist Confirm device ID is correct
200 Note contains invalid characters Note contains invalid characters Remove / \ < > & characters
500 Request timeout after 60 seconds. Request timeout Retry later

5.3 Agent Self-Healing Decision Table

StatusCode Auto Retry Retry Strategy Manual Intervention Needed
-1 No - Check parameters and retry
200 (ErrorMessage non-empty) No - Fix based on error message
500 Yes Max 2 retries, 5-second interval If persistent, manual

6. Best Practices

6.1 Performance Optimization

  • Single device operation: This tool can only update one device at a time; batch updates require loop calls
  • Control length: Recommended to keep notes within 500 characters; maximum is 1024 characters

6.2 Security Considerations

🟡 Write operation:

  • Full overwrite: The new note completely replaces the original note
  • Sensitive information: Avoid storing passwords or other sensitive information in notes
  • Confirm target: Verify DeviceId is correct before updating

6.3 Idempotency

This operation is naturally idempotent. Multiple calls with the same Note have no side effects; the device note remains unchanged.

7. Related Tools

7.1 Prerequisite Tools

Tool Name Purpose
Get All Devices Get DeviceId
Get a Device by Name Get DeviceId by device name

7.2 Follow-up Tools

Tool Name Purpose
Get All Devices Verify note has been updated (note field)

7.3 Similar Tool Comparison

Tool Name Use Case Difference
Update a Device Note Update device notes Modifies the device notes/remarks
Update a Device Name Update device name Modifies the device display name

8. Tool Chains

8.1 Find Device by Name and Add Note

Scenario: You know the device name and need to add a note.

Tool Chain:

Get a Device by Name → Update a Device Note

Steps:

  1. Call Get a Device by Name to get the device's DeviceId
  2. Use the returned DeviceId to call Update a Device Note

8.2 Batch Add Notes to Devices

Scenario: Add notes to multiple devices in batch.

Tool Chain:

Get All Devices → [Loop] Update a Device Note

Steps:

  1. Call Get All Devices to get the device list
  2. Iterate through the device list
  3. Call Update a Device Note for each device

8.3 Update and Verify

Scenario: Update the note and confirm the operation succeeded.

Tool Chain:

Update a Device Note → Get All Devices (verify)

Steps:

  1. Call Update a Device Note to update the note
  2. Confirm ErrorMessage is empty
  3. Call Get All Devices to query the device and confirm the note field has been updated

Appendix Reference:

  • Field Reference: https://www.goinsight.ai/tools/field-reference/
  • Error Code Quick Reference: https://www.goinsight.ai/tools/error-codes/
Updated on: Feb 13, 2026
Was This Page Helpful?
Prev Update a device name
Next Update a group name
Discussion

Leave a Reply. Cancel reply

Your email address will not be published. Required fields are marked*

Product-related questions?Contact Our Support Team to Get a Quick Solution>
On this page
  • Quick Start (Copy & Use)
  • Recipes (Common Recipes)
    • Recipe 1: Add Device Usage Description
    • Recipe 2: Add Maintenance Record
    • Recipe 3: Clear Device Note
  • 1. Overview
    • 1.1 Description
    • 1.2 When to Use
    • 1.3 Execution Mode and Response
    • 1.4 Prerequisites
    • 1.5 Prerequisite Tools
  • 2. Inputs
    • 2.1 Parameter List
    • 2.2 Parameter Details
    • 2.3 Parameter Combination Logic
  • 3. Outputs
    • 3.1 Response Example
    • 3.2 Field Descriptions
  • 4. Examples
    • 4.1 Basic Example: Add Device Note
    • 4.2 Advanced Example: Add Detailed Maintenance Record
    • 4.3 Clear Note Example
  • 5. Error Handling
    • 5.1 AB Three-Layer Error Codes
    • 5.2 Common Errors
    • 5.3 Agent Self-Healing Decision Table
  • 6. Best Practices
    • 6.1 Performance Optimization
    • 6.2 Security Considerations
    • 6.3 Idempotency
  • 7. Related Tools
    • 7.1 Prerequisite Tools
    • 7.2 Follow-up Tools
    • 7.3 Similar Tool Comparison
  • 8. Tool Chains
    • 8.1 Find Device by Name and Add Note
    • 8.2 Batch Add Notes to Devices
    • 8.3 Update and Verify
loading...
No Results