Skip to main content
records

Read Machine Service History

GET
/api/records/{company_name}/machines/{machine_uid}/history
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

machine_uidstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
company_namestringrequired
order_byenum<string> | nullquery
Available options: name, owner_name, _id
orderenum<string>querydefault:asc
Available options: desc, asc
archivedboolean | nullquery
pending_malfunctionboolean | nullquery
machine__template_idstring | nullquery
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
cause_suggestion__stateenum<string> | nullquery
Available options: open, accepted, rejected
diagnosis_idstring | nullquery
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
completed_suggestionboolean | nullquery
pending_suggestionboolean | nullquery
pending_cause_suggestionboolean | nullquery
pending_symptom_suggestionboolean | nullquery
limitinteger | nullquery
Required range: 0 <= x
offsetinteger | nullquery
Required range: 0 <= x

Response

application/json

Successful Response

itemsobject[]