Base Type
Entity
Base class for all API entities
Entity
The Entity class is the base class that all API entities inherit from. It provides common functionality for interacting with the Acumatica REST API.
Overview
Every entity in the API (such as SalesOrder, Customer, BusinessAccount, etc.) extends this base class. The Entity class provides:
- Standard CRUD operations (Create, Read, Update, Delete)
- Linking and navigation between related entities
- Common metadata fields
Common Properties
All entities inherit these base properties:
| Property | Type | Description |
|---|---|---|
| id | Guid | Unique identifier for the entity record |
| rowNumber | int | Row number when returned in a list |
| note | StringValue | Free-form notes attached to the record |
| custom | CustomFields | Custom fields defined for the entity |
| files | List<FileLink> | Attached files |
| Delete | boolean | Flag to mark record for deletion |
JSON Structure
{
"id": "e47a0b2c-1234-5678-abcd-ef1234567890",
"rowNumber": 1,
"note": {
"value": "Sample note text"
},
"custom": {},
"files": []
}
Usage Notes
- When creating new records, the
idfield is typically omitted and auto-generated - The
Deleteproperty is used in PUT requests to mark related records for deletion - The
rowNumberproperty is read-only and set by the API when returning lists