Authorizations
Body
Complaint creation data
Data required to create a new complaint Base class for all entities that can have a chat associated with them. Base class for all entities in the system, providing common properties and methods.
ID of the customer object this complaint relates to
"507f1f77bcf86cd799439012"
Detailed description of the complaint or issue
"The cleaning was not satisfactory. There were stains on the carpet and dust on the furniture."
Description of the specific room or area where the issue occurred
"Bathroom on 2nd floor, next to the elevator"
Name of the person submitting the complaint
"John Smith"
Contact information for the complaint reporter
Priority level of the complaint (1=Low, 2=Medium, 3=High, 4=Critical)
1 <= x <= 42
Images related to the complaint (evidence, before photos, etc.)
["https://example.com/complaint-image1.jpg"]ID of the user to assign this complaint to (optional)
"507f1f77bcf86cd799439014"
Custom field values for this complaint
Unique identifier of the entity
Unique number of the entity, used for identification
The ID of the company this entity belongs to
Entity Status information
ID of the chat associated with this entity
Response
Complaint created successfully
Data that can be updated for an existing complaint Base class for all entities that can have a chat associated with them. Base class for all entities in the system, providing common properties and methods.
Updated description of the complaint
"Updated complaint description with additional details"
Updated room description
"Updated room location information"
Updated contact name
"John Smith Jr."
Updated contact information
Updated priority level (1=Low, 2=Medium, 3=High, 4=Critical)
1 <= x <= 43
Updated images for the complaint
ID of the user to assign/reassign this complaint to
"507f1f77bcf86cd799439014"
Internal comment about the complaint
"Additional notes about the complaint resolution"
Customer response message
"Thank you for your patience. The issue has been resolved."
Updated custom field values
Unique identifier of the entity
Unique number of the entity, used for identification
The ID of the company this entity belongs to
Entity Status information
ID of the chat associated with this entity

