Sample Data Model

This call returns an example of data model structure that will be used in Data-In operations.

URL

/sampleDataModel

Method

GET

Headers

None

Request type

None

Response type

JSON

URL Parameters

Required: None

Optional: None

Payload

None

Success response

Hardcoded response:

{
    "cis": [
        {
            "ucmdbId": "1",
            "type": "unix",
            "properties": {
                "stringList": [
                    "multiple",
                    "string",
                    "items"
                ],
                "name": "unix1"
            }
        },
        {
            "ucmdbId": "2",
            "type": "running_software",
            "properties": {
                "discovered_product_name": "rs1",
                "intList": [
                    "1",
                    "2",
                    "3"
                ],
                "name": "rs1"
            }
        },
        {
            "ucmdbId": "3",
            "type": "running_software",
            "properties": {
                "discovered_product_name": "rs2",
                "name": "rs2"
            }
        }
    ],
    "relations": [
        {
            "ucmdbId": "r1",
            "type": "composition",
            "properties": null,
            "end1Id": "1",
            "end2Id": "2"
        },
        {
            "ucmdbId": "r2",
            "type": "composition",
            "properties": null,
            "end1Id": "1",
            "end2Id": "3"
        },
        {
            "ucmdbId": "r3",
            "type": "consumer_provider",
            "properties": null,
            "end1Id": "2",
            "end2Id": "3"
        }
    ]
}

Error response

None