Retrieve Component Notes: /component/{component_uuid}/{component_record_id}/notes
Purpose
This API retrieves all notes associated with a specific component record.
Use Case
This API is useful for applications where users need to view comments, inspection notes, or audit logs tied to a particular component record. For example, in a field service inspection system, technicians can fetch inspection notes (including remarks, supporting files, and updates) linked to a specific inspection service package or component instance.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| component_uuid | string | Unique identifier of the custom component. |
| component_record_id | string | Unique identifier of the specific component record whose notes are being retrieved. |
Query Parameters
No query parameter is required for this endpoint.
Request Body
No request body is required for this endpoint.
Response
The response returns a JSON object keyed by the component name (example: Inspection Service Package). Inside, the notes object contains two parts: a notes array with multiple note objects, and a pagination object with record navigation details. Each note includes metadata such as uuid, version, textual content, any attached files, author and timestamp fields (created by, created on, last updated by, last updated on), and custom attributes. If present, each file provides its own uuid, name, and version.
Response Body
{
"Inspection Service Package": {
"notes": {
"notes": [
{
"uuid": "NOTE_UUID",
"version": "NOTE_VERSION",
"content": "NOTE_CONTENT",
"files": [],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"custom_attributes": []
},
{
"uuid": "NOTE_UUID",
"version": "NOTE_VERSION",
"content": "NOTE_CONTENT",
"files": [
{
"uuid": "FILE_UUID",
"name": "FILE_NAME",
"version": "FILE_VERSION"
}
],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"custom_attributes": []
},
{
"uuid": "NOTE_UUID",
"version": "NOTE_VERSION",
"content": "NOTE_CONTENT",
"files": [
{
"uuid": "FILE_UUID",
"name": "FILE_NAME",
"version": "FILE_VERSION"
}
],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"custom_attributes": []
},
{
"uuid": "NOTE_UUID",
"version": "NOTE_VERSION",
"content": "NOTE_CONTENT",
"files": [],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"custom_attributes": []
}
],
"pagination": {
"records": "TOTAL_RECORDS",
"limit": "LIMIT",
"offset": "OFFSET",
"previous_page": "PREVIOUS_PAGE",
"next_page": "NEXT_PAGE"
}
}
}
}
| Attribute | Type | Description |
|---|---|---|
| uuid | String | Unique identifier of the note. |
| version | String | Version number of the note. |
| content | String | Text or HTML content of the note. |
| files | Array | List of file objects attached to the note. |
| created_by | String | Name of the user who created the note. |
| created_on | String (ISO 8601 datetime) | Timestamp when the note was created. |
| last_updated_by | String | Name of the user who last updated the note (if applicable). |
| last_updated_on | String (ISO 8601 datetime) | Timestamp when the note was last updated (if applicable). |
| custom_attributes | Array | Additional metadata or custom fields (empty if none). |
Retrieve Specific Component Note: /component/{component_uuid}/{component_record_id}/notes/{note_uuid}
Purpose
This API retrieves the details of a specific note associated with a component record.
Use Case
Use this endpoint when you need to fetch a single note by its unique identifier (note uuid) within a specific component and record. It is useful for displaying note details, auditing note history, or retrieving attached files for a specific record.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| component_uuid | string | Unique identifier of the component. |
| component_record_id | string | Unique identifier of the component record. |
| note_uuid | string | Unique identifier of the specific note to retrieve. |
Query Parameters
No query parameter is required for this endpoint.
Request Body
No request body is required for this endpoint.
Response
The response returns a JSON object grouped under the component name (example: Inspection Service Package). Inside, the notes object represents the requested note, containing attributes such as uuid (unique note ID), version, and content (in text or HTML). It also includes files, which is a list of attached file objects with details like uuid, name, and version. Metadata fields such as created by and created on specify who created the note and when, while last updated by and last updated on capture any updates (if available). Finally, custom attributes holds additional metadata or remains empty if no custom attributes are defined.
Response Body
{
"Inspection Service Package": {
"notes": {
"uuid": "NOTE_UUID",
"version": "NOTE_VERSION",
"content": "NOTE_CONTENT",
"files": [
{
"uuid": "FILE_UUID",
"name": "FILE_NAME",
"version": "FILE_VERSION"
}
],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"custom_attributes": []
}
}
}
| Attribute | Type | Description |
|---|---|---|
| uuid | String | Unique identifier of the note. |
| version | String | Version number of the note. |
| content | String | Text or HTML content of the note. |
| files | Array | List of file objects attached to the note. |
| created_by | String | Name of the user who created the note. |
| created_on | String (ISO 8601 datetime) | Timestamp when the note was created. |
| last_updated_by | String | Name of the user who last updated the note (if applicable). |
| last_updated_on | String (ISO 8601 datetime) | Timestamp when the note was last updated (if applicable). |
| custom_attributes | Array | Additional metadata or custom fields (empty if none). |
Retrieve Files Attached to a Note: /component/{component_uuid}/{component_record_id}/notes/{note_uuid}/files
Purpose
This API retrieves the list of files attached to a specific note within a component record.
Use Case
Use this endpoint when you need to access the files associated with a note, such as photos, scanned documents, or reference attachments. It is commonly used for previewing or validating the files linked to a specific note.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| component_uuid |
string | Unique identifier of the component. |
| component_record_id | string | Unique identifier of the component record. |
| note_uuid | string | Unique identifier of the note whose files are being retrieved. |
Query Parameters
No query parameter is required for this endpoint.
Request Body
No request body is required for this endpoint.
Response
The response returns a JSON object grouped under the component name (example: Inspection Service Package). Inside, the notes object contains two properties: files and custom attributes. The files property is an array of objects, each representing a file attached to the note, including attributes such as uuid (unique file identifier), name (filename with extension), and version. The custom attributes property provides any additional metadata defined for the note’s files, which may be empty if no custom attributes exist.
Response Body
{
"Inspection Service Package": {
"notes": {
"files": [
{
"uuid": "FILE_UUID",
"name": "FILE_NAME",
"version": "1"
}
],
"custom_attributes": []
}
}
}
| Attribute | Type | Description |
|---|---|---|
| uuid | string | Unique identifier of the attached file. |
| name | string | Name of the attached file including its extension. |
| version | string | Version number of the attached file. |
Retrieve a Specific File from a Note: /component/{component_uuid}/{component_record_id}/notes/{note_uuid}/files/{file_uuid}
Purpose
This API retrieves detailed metadata of a single file attached to a specific note in a component record. It is useful for identifying, verifying, or referencing a file before processing.
Use Case
Use this endpoint when you need to fetch details of a specific file (such as inspection photos, reports, or attachments) linked to a note. Typical scenarios include previewing file metadata in an inspection system, confirming file versions before updates, or validating attachments in compliance workflows.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| component_uuid | string | Unique identifier of the component. |
| component_record_id | string | Unique identifier of the component record. |
| note_uuid | string | Unique identifier of the note. |
| file_uuid | string | Unique identifier of the file attached to the note. |
Query Parameters
No query parameter is required for this endpoint.
Request Body
No request body is required for this endpoint.
Response
The response returns a JSON object structured under the component name (example: Inspection Service Package). Inside it, the notes object contains two elements: file and custom attributes. The file object provides metadata for the requested file, including its uuid (unique identifier), name (original filename with extension), and version (file version). The custom attributes array holds any additional custom-defined metadata related to the file, which may be empty if no such attributes are defined.
Response Body
{
"Inspection Service Package": {
"notes": {
"file": {
"uuid": "FILE_UUID",
"name": "FILE_NAME",
"version": "1"
},
"custom_attributes": []
}
}
}
| Attribute | Type | Description |
|---|---|---|
| uuid | string | Unique identifier of the file. |
| name | string | Name of the file including extension. |
| version | string | Version number of the file. |