Get Scenario List

get

/runtime/scenario

Get list of scenarios.

Request

There are no request parameters for this operation.

Back to Top

Response

200 Response

The list of scenarios was retrieved successfully.
Back to Top

Examples

The following example shows how to retrieve details of all scenarios by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X GET "hostname:port/runtime/scenario" -H "accept: */*"

Example of Response Body

If successful, the response code 200 is returned with a response body. For example:

{
  "total": 80,
  "limit": 10,
  "offset": 0,
  "page": 1,
  "pages": 8,
  "docs": [
    {
      "id": "1",
      "_id": 1,
      "mode": null,
      "name": "Creation of Postpaid Mobile Product Models",
      "tags": [
        "Import",
        " Publish",
        " PublishMobileModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        1
      ],
      "priority": "0",
      "namespace": null,
      "description": " Import and Publish Postpaid Mobile Product models in Launch",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/1.ImportAndPublishMobileModel/data/"
    },
    {
      "id": "2",
      "_id": 2,
      "mode": null,
      "name": "Validate the Supremo 5G Lite Product Model",
      "tags": [
        "Validate",
        " Supremo5GLite",
        " MobileModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        2,
        3,
        4,
        5
      ],
      "priority": "0",
      "namespace": null,
      "description": " Validate the Supremo 5G Lite mobile model after importing and publishing in Launch. Then, validate the structure and line item prices in Siebel, and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/2.Supremo5GLite/data/"
    },
    {
      "id": "3",
      "_id": 3,
      "mode": null,
      "name": "Validate the Supremo 5G Premium Product Model",
      "tags": [
        "Validate",
        " Supremo5GPremium",
        " MobileModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        6,
        7,
        8,
        9
      ],
      "priority": "0",
      "namespace": null,
      "description": " Validate the Supremo 5G Premium mobile model after importing and publishing in Launch. Then, validate the structure and line item prices in Siebel, and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/3.Supremo5GPremium/data/"
    },
    {
      "id": "4",
      "_id": 4,
      "mode": null,
      "name": "Validate the Supremo 5G Unlimited Product Model",
      "tags": [
        "Validate",
        " Supremo5GUnlimited",
        " MobileModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        10,
        11,
        12,
        13
      ],
      "priority": "0",
      "namespace": null,
      "description": " Validate the Supremo 5G Unlimited mobile model after importing and publishing in Launch. Then, validate the structure and line item prices in Siebel, and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/4.Supremo5GUnlimited/data/"
    },
    {
      "id": "5",
      "_id": 5,
      "mode": null,
      "name": "Validate Dual Play Product Model-Supremo Mobile Broadband Lite",
      "tags": [
        "Validate",
        " SupremoMobileBroadbandLite",
        " DualPlayModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        14,
        15,
        16,
        17
      ],
      "priority": "0",
      "namespace": null,
      "description": "Validate Supremo Mobile Broadband Lite Dual Play Product Model after Import and publish in Launch then validate the structure and line items prices in Siebel and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/1.SupremoMobileBroadbandLite/data/"
    },
    {
      "id": "6",
      "_id": 6,
      "mode": null,
      "name": "Validate Dual Play Product Model Supremo Mobile Broadband Premium",
      "tags": [
        "Validate",
        " SupremoMobileBroadbandPremium",
        " DualPlayModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        18,
        19,
        20,
        21
      ],
      "priority": "0",
      "namespace": null,
      "description": "Validate Supremo Mobile Broadband Premium Dual Play Product Model after Import and publish in Launch then validate the structure and line items prices in Siebel and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/2.SupremoMobileBroadbandPremium/data/"
    },
    {
      "id": "7",
      "_id": 7,
      "mode": null,
      "name": "Validate Dual Play Product Model Supremo Mobile Broadband Unlimited",
      "tags": [
        "Validate",
        " SupremoMobileBroadbandUnlimited",
        " DualPlayModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        22,
        23,
        24,
        25
      ],
      "priority": "0",
      "namespace": null,
      "description": "Validate Supremo Mobile Broadband Unlimited Dual Play Product Model after Import and publish in Launch then validate the structure and line items prices in Siebel and validate the charge and discount offer prices in PDC.",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/3.SupremoMobileBroadbandUnlimited/data/"
    },
    {
      "id": "8",
      "_id": 8,
      "mode": null,
      "name": "Add Prormotion Bundles into the Pricelist",
      "tags": [
        "Validate",
        " AddPrormotionBundlesIntoThePricelist",
        " DT Automation"
      ],
      "type": null,
      "cases": [
        26
      ],
      "priority": "0",
      "namespace": null,
      "description": " Add Prormotion Bundles into the Pricelist",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/11.AddPromotionBundlesIntoPricelist/data/"
    },
    {
      "id": "9",
      "_id": 9,
      "mode": null,
      "name": "Creation of Broadband Product Models",
      "tags": [
        "Import",
        " Publish",
        " PublishBroadbandModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        27
      ],
      "priority": "0",
      "namespace": null,
      "description": " Import and Publish Broadband Product models in Launch",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/1.ImportAndPublishBroadbandModel/data/"
    },
    {
      "id": "10",
      "_id": 10,
      "mode": null,
      "name": "Validate Supremo Broadband - Basic product model",
      "tags": [
        "Validate",
        " SupremoBroadbandBasic",
        " BroadbandModel",
        " DTAutomation"
      ],
      "type": null,
      "cases": [
        28,
        29,
        30,
        31
      ],
      "priority": "0",
      "namespace": null,
      "description": " Validate Supremo Broadband Basic product model",
      "loadedFromConfig": "false",
      "testScenarioResult": null,
      "scenarioRequestFilesLocation": "/data/config/attributeConfig/test_data/2.SupremoBroadbandBasic/data/"
    }
  ]
}

If the request fails, the response includes the appropriate HTTP code. For a 4xx/5xx code, the message body also contains a ProblemDetails structure with the cause attribute set to the appropriate application error.

Back to Top