Menu

API Specification

SAndip
2025-01-06
6 days ago
  • SAndip

    SAndip - 2025-01-06

    I am expanding the ITOP integration with opennms.
    I want to know the API calls and specification of classes and how to add/use fields in json.
    can anyone please help me with some examples api calls for Change,incident,workorder,ci etc?

     
  • SAndip

    SAndip - 2025-01-24

    Cna you put some light on where and how can i find classes and keys?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2025-01-24

    See comment - one way is in the iTop console > Configuration > Datamodel.

     
  • SAndip

    SAndip - 2025-01-28

    I am not able o see Datamodel under configuration.
    My goal here is to have an API payload to create Incident with contact list, Workorder list(to be created as we do in GUI).

     
  • SAndip

    SAndip - 2025-01-28

    using below JSON to create change . but getting 500 error.
    {
    "operation": "core/create",
    "class": "Change",
    "comment": "Creating a new Change with Work Orders, and Contact List",
    "fields": {
    "org_id": "SELECT Organization WHERE name = \"Demo\"",
    "caller_id": {
    "first_name": "Agatha"
    },
    "title": "Upgrade Firewall",
    "description": "Upgrade firewall to latest version.",
    "category": "normal",
    "priority": "2"
    }
    }

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2025-01-29

    A HTTP 500 error is an internal error on your webserver.

    Check the error log of your webserver (e.g. Apache) and perhaps also check the "error.log" file found in the iTop directory under the "logs" subdirectory.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.