SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
appointments

List assets a visit can be about.

List assets a visit can be about.

GEThttps://app.softsolz.uk/api/v1/services/appointments/assets

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Query Params

customer_idinteger

Only assets owned by this customer.

kindstring

Filter by your asset kind.

searchstring

Match against name or identifier.

limitinteger

Page size, 1-200.

offsetinteger

Pagination offset.

Response

Response Body · array of objects

idintegerUnique identifier.
customer_idinteger | nullCustomer this belongs to.
parent_asset_idinteger | nullParent asset, so a building can contain rooms.
kindstringYour own word for the thing a visit is about, for example vehicle or property.
namestringDisplay name.
identifierstring | nullRegistration, serial, or reference.
addressobject | nullStreet address and optional coordinates.
custom_fieldsobjectYour own extra fields, keyed by the definitions in workspace settings.
is_activebooleanWhether this record is in use.
created_atstringWhen the record was created.
updated_atstringWhen the record was last changed. Round-trip as expected_updated_at to guard against stale writes.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.appointments.listAssets({});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": [
{
"id": 0,
"customer_id": 0,
"parent_asset_id": 0,
"kind": "string",
"name": "string",
"identifier": "string",
"address": "string",
"custom_fields": {},
"is_active": true,
"created_at": "string",
"updated_at": "string"
}
]
}