Jump to: navigation, search

Fetch Business Structure

Method

GET

Syntax

GET /gtl/business_structure

Response Body

Returns all available tenants, including "Environment", with business structure.

[
  {
    "dbid": 1,
    "name": "Environment",
    "type": "tenant",
    "rules_authoring_tool_url": "http://server.example.com:8380/genesys-rules-authoring",
    "iwd_web_url": ""http://server.example.com:8080/iwd_web",
    "tenants":
    [
      {
        "dbid": 102,
        "name": "SubTenant",
        "type": "tenant",
        "tenants": [],
        "solutions": []
      }
    ],
    "solutions":
    [
       {
         "dbid": 1001,
         "name": "Solution1",
         "type": "solution",
         "timezone": "<timezone name>",
         "first_day_of_week": "<MONDAY|SUNDAY>",
         "departments":
         [
           {
             "dbid": 102,
             "name": "Department 1",
             "type": "department",
             "processes":
             [
               {
                 "dbid": 1111,
                 "name": "Process 1",
                 "type": "process"
               }
             ]
           }
        ],
        "capture_points":
        [
          {
            "dbid": 222,
            "name": "Capture Point 1",
            "type": "capturePoint"
          }
        ]
      },
      {
        "dbid": 104,
        "name": "Solution 2",
        "type": "solution",
        "departments": [],
        "capture_points": []
      }
    ],
  }
]

Notes

  • rules_authoring_tool_url is taken from Configuration Server; location: Business Structure/<path to tenant>/annex/iWD/rules-authoring-tool-url
  • iwd_web_url is taken from Configuration Server; location: Business Structure/<path to tenant>/annex/iWD/iwd-web-url. (Configuration of this option is to be added to iWD GAX Plugin in the future).

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 19 December 2017, at 04:03.