{

"examples": {
  "request": {
    "json": {
      "configuration_item": {
        "name": "Configuration Item Name",
        "description": "Description",
        "type": { "name": "Building" },
        "type_id": 1,
        "asset_tag": "ConfigurationItemTag",
        "site_id": 1,
        "department_id": 1,
        "state": "Active",
        "manager": { "email": "john.doe@email.com" },
        "user": { "email": "jane.doe@email.com" },
        "add_to_tag_list": "tag1, tag2",
        "remove_from_tag_list": "tag3",
        "tag_list": "tag1, tag2",
        "custom_fields_values_attributes": [
          { "id": "1", "custom_field_id": 1, "value": "content" }
        ],
        "incident_ids": [100],
        "problem_ids": [100],
        "itsm_change_ids": [100],
        "release_ids": [100],
        "purchase_order_ids":[100]
      }
    }
  },
  "response": {
    "json": {
      "configuration_item": {
        "id": "10000",
        "number": "1000",
        "name": "Configuration Item Name",
        "description": "description",
        "asset_tag": "ConfigurationItemTag",
        "type": {
          "id": 1,
          "name": "Building",
          "description": "Configuration Item - Building",
          "parent_id": 1,
          "custom": false,
          "updated_at": "2025-01-01T00:00:00.000+01:00",
          "icon_name": "BUILDING"
        },
        "type_id": 1,
        "state": "Active",
        "site": {
          "id": "1",
          "name": "Austin TX, USA",
          "location": "AUS",
          "description": "",
          "time_zone": ""
        },
        "department": {
          "id": "1",
          "name": "Support",
          "description": "",
          "default_assignee_id": "1"
        },
        "manager_id": {
          "group_id": "1",
          "is_user": "true",
          "id":  "1",
          "name": "John Doe",
          "email": "john.doe@email.com",
          "avatar": {
            "type": "initials",
            "color": "#fd4165",
            "initials": "JD"
          }
        },
        "user_id": {
          "group_id": "1",
          "is_user": "true",
          "id":  "1",
          "name": "Jane Doe",
          "email": "jane.doe@email.com",
          "avatar": {
            "type": "initials",
            "color": "#fd4165",
            "initials": "JD"
          }
        },
        "custom_fields_values": [
          {
            "id": "1000",
            "custom_field_id": "1",
            "name": "field name",
            "value": "content",
            "options": "",
            "type_name": "Text"
          }
        ],
        "updated_at": "2025-01-01T00:00:00.000+01:00",
        "created_at": "2025-01-01T00:00:00.000+01:00",
        "origin": "api",
        "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}],
        "problems": [{ "id": "100", "href": "https://mydomain.com/problems/100"}],
        "changes": [{ "id": "100", "href": "https://mydomain.com/changes/100"}],
        "releases": [{ "id": "100", "href": "https://mydomain.com/releases/100"}],
        "purchase_orders": [{ "id": "100", "href": "https://mydomain.com/releases/100"}]
      }
    }
  }
}

}