XentrDeveloper Docs
API ReferenceOrganization collections

Search and paginate customer machines (assigned staff only)

GET
/api/organizations/{orgId}/collection-machines
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
Formatuuid

Query Parameters

page?object
Default1
Range1 <= value
pageSize?number
Default25
Value in25 | 50 | 100
q?string

Literal text search; SQL wildcard characters have no special meaning.

Lengthlength <= 200
factory?string

Factory slug belonging to this organization.

status?string
Default"all"
Value in"all" | "active" | "inactive"
sort?string
Default"name_asc"
Value in"name_asc" | "name_desc" | "code_asc"

Response Body

application/json

curl -X GET "https://api.xentr.ai/api/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/collection-machines"
{
  "total": 0,
  "page": 0,
  "pageSize": 25,
  "pageCount": 0,
  "items": [
    {
      "id": "string",
      "code": "string",
      "name": "string",
      "machineType": "string",
      "tier": "string",
      "isActive": true,
      "factoryId": "string",
      "factoryName": "string",
      "organizationName": "string",
      "location": "string",
      "protocol": "string"
    }
  ]
}