{
"examples": { "request": { "json": { "problem": { "name": "Problem Name", "site_id": 1, "department_id": 1, "description": "description", "state": 1, "root_cause": "Root cause description", "symptoms": "Symptoms description", "workaround": "workaround description", "assignee": { "email": "john.doe@email.com" }, "requester": { "email": "john.doe@email.com" }, "priority": "High", "add_to_tag_list": "tag1", "remove_from_tag_list": "tag2", "tag_list": "tag1", "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], "itsm_change_ids": [100], "configuration_item_ids":[100] } } }, "response": { "json": { "problem": { "id": "10000", "number": "1000", "name": "Problem Name", "description": "description", "state": "New", "root_cause": "Root cause description", "symptoms": "Symptoms description", "workaround": "workaround description", "site": { "id": "1", "name": "Austin TX, USA", "location": "AUS", "description": "", "time_zone": "" }, "department": { "id": "1", "name": "Support", "description": "", "default_assignee_id": "1" }, "priority": "High", "created_by": { "id": "1", "account_id": "1", "user_id": "1", "email": "john.doe@email.com", "name": "John Doe", "disabled": false, "avatar": { "type": "initials", "color": "#fd4165", "initials": "JD" } }, "assignee": { "group_id": "1", "is_user": "true", "id": "1", "name": "John Doe", "email": "john.doe@email.com", "avatar": { "type": "initials", "color": "#fd4165", "initials": "JD" } }, "requester": { "id": "1", "account_id": "1", "user_id": "1", "email": "john.doe@email.com", "name": "John Doe", "disabled": false, "avatar": { "type": "initials", "color": "#fd4165", "initials": "JD" } }, "custom_fields_values": [ { "id": "10", "custom_field_id": "1", "name": "Text custom field", "value": "content", "options": "", "type_name": "Text" }, { "id": "100", "custom_field_id": "2", "name": "User custom field", "value": "1", "options": "", "type_name": "User", "user": { "group_id": 1, "is_user": true, "id": 1, "name": "John Doe", "email": "john.doe@email.com" } } ], "tags": [{ "id": 1, "name": "tag1", "taggings_count": 1 }], "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}], "changes": [{ "id": "100", "href": "https://mydomain.com/changes/100"}], "configuration_items": [{ "id": "100", "href": "https://mydomain.com/configuration_items/100"}] } } } }
}