Skip to main content
records

Handle Suggested Symptom

PUT
/api/records/{company_name}/machines/{machine_id}/history/{entry_uid}/malfunction/feedback/symptoms/{symptom_uid}/state
Authorizationstringheaderrequired

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

company_namestringrequired
entry_uidstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
machine_idstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
symptom_uidstringrequired
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593

Body

application/json
cause_uidsstring[]default:[]
group_uidstring | null
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
ratingenum<string>default:diagnosis

How an accepted symptom is rated when the entry has no confirmed cause.

Available options: diagnosis, unrated, causes
stateenum<string>required
Available options: open, accepted, rejected

Response

application/json

Successful Response

idstring
Required string length: 24 - 24
Pattern: ^[0-9a-f]{24}$
Example: 5eb7cf5a86d9755df3a6c593
objectobjectrequired

Used for all occurence where we save a symptom create directly e.g. in the suggestion

owner_namestringrequired
search_textstring | null
stateenum<string>required
Available options: open, accepted, rejected
userinfoobjectrequired