{
"examples": { "request": { "json": { "solution": { "name": "Solution Name", "site_id": 1, "department_id": 1, "description": "description", "state": "Approved", "category": { "name": "Facilities" }, "subcategory": { "name": "Equipment" }, "add_to_tag_list": "tag1, tag2", "remove_from_tag_list": "tag3", "tag_list": "tag1, tag2", "custom_fields_values_attributes": [ { "id": 10, "custom_field_id": 1, "value": "content" }, { "id": 100, "custom_field_id": 2, "value": "1" } ], "custom_fields_values": { "custom_fields_value": [ { "name": "Text custom field", "value": "content" }, { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } } ] }, "incident_ids": [100] } } }, "response": { "json": { "solution": { "id": "10000", "number": "1000", "name": "Solution Name", "description": "description", "created_at": "2025-01-01T00:00:00.000+01:00", "creator": { "id": "1", "name": "John Doe", "email": "john.doe@email.com" }, "origin": "api", "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}] } } } }
}