Skip to main content
records

Count Company Service History

GET
/api/records/{company_name}/history/count
Authorizationstringheaderrequired

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

company_namestringrequired
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

Response

application/json

Successful Response

countintegerrequired