Chilkat Online Tools

PureBasic / Salesforce Platform APIs / Get an App

Back to Collection Items

IncludeFile "CkJsonObject.pb"
IncludeFile "CkStringBuilder.pb"
IncludeFile "CkHttp.pb"
IncludeFile "CkHttpResponse.pb"

Procedure ChilkatExample()

    ; This example assumes the Chilkat API to have been previously unlocked.
    ; See Global Unlock Sample for sample code.

    http.i = CkHttp::ckCreate()
    If http.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    success.i

    queryParams.i = CkJsonObject::ckCreate()
    If queryParams.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkJsonObject::ckUpdateString(queryParams,"formFactor","Small")

    ; Adds the "Authorization: Bearer <access_token>" header.
    CkHttp::setCkAuthToken(http, "<access_token>")

    resp.i = CkHttp::ckQuickRequestParams(http,"GET","https://domain.com/services/data/v{{version}}/ui-api/apps/:APP_ID",queryParams)
    If CkHttp::ckLastMethodSuccess(http) = 0
        Debug CkHttp::ckLastErrorText(http)
        CkHttp::ckDispose(http)
        CkJsonObject::ckDispose(queryParams)
        ProcedureReturn
    EndIf

    sbResponseBody.i = CkStringBuilder::ckCreate()
    If sbResponseBody.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkHttpResponse::ckGetBodySb(resp,sbResponseBody)

    jResp.i = CkJsonObject::ckCreate()
    If jResp.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkJsonObject::ckLoadSb(jResp,sbResponseBody)
    CkJsonObject::setCkEmitCompact(jResp, 0)

    Debug "Response Body:"
    Debug CkJsonObject::ckEmit(jResp)

    respStatusCode.i = CkHttpResponse::ckStatusCode(resp)
    Debug "Response Status Code = " + Str(respStatusCode)
    If respStatusCode >= 400
        Debug "Response Header:"
        Debug CkHttpResponse::ckHeader(resp)
        Debug "Failed."
        CkHttpResponse::ckDispose(resp)

        CkHttp::ckDispose(http)
        CkJsonObject::ckDispose(queryParams)
        CkStringBuilder::ckDispose(sbResponseBody)
        CkJsonObject::ckDispose(jResp)
        ProcedureReturn
    EndIf

    CkHttpResponse::ckDispose(resp)

    ; Sample JSON response:
    ; (Sample code for parsing the JSON response is shown below)

    ; {
    ;   "appId": "06m58000000fBK2AAM",
    ;   "description": "Manage your sales process with accounts, leads, opportunities, and more",
    ;   "developerName": "LightningSales",
    ;   "eTag": "21d4bafc5c5730c4f9421875288c4a00",
    ;   "formFactors": [
    ;     "Small",
    ;     "Medium",
    ;     "Large"
    ;   ],
    ;   "headerColor": "#0070D2",
    ;   "iconUrl": "https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/icon.png",
    ;   "isNavAutoTempTabsDisabled": false,
    ;   "isNavPersonalizationDisabled": false,
    ;   "isNavTabPersistenceDisabled": false,
    ;   "label": "Sales",
    ;   "logoUrl": "https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/logo.png",
    ;   "mobileStartUrl": null,
    ;   "navItems": [
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "FF5D2D",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/006/o",
    ;       "custom": false,
    ;       "developerName": "standard-Opportunity",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/opportunity_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Opportunities",
    ;       "objectApiName": "Opportunity",
    ;       "objectLabel": "Opportunity",
    ;       "objectLabelPlural": "Opportunities",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Opportunity",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "FF5D2D",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/00Q/o",
    ;       "custom": false,
    ;       "developerName": "standard-Lead",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/lead_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Leads",
    ;       "objectApiName": "Lead",
    ;       "objectLabel": "Lead",
    ;       "objectLabelPlural": "Leads",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Lead",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": false,
    ;       "availableInLightning": true,
    ;       "color": "3BA755",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/00T/o",
    ;       "custom": false,
    ;       "developerName": "standard-Task",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/task_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Tasks",
    ;       "objectApiName": "Task",
    ;       "objectLabel": "Task",
    ;       "objectLabelPlural": "Tasks",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Task",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "Tasks"
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "939393",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/files/FileTabPage",
    ;       "custom": false,
    ;       "developerName": "standard-File",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/file_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Files",
    ;       "objectApiName": "ContentDocument",
    ;       "objectLabel": null,
    ;       "objectLabelPlural": null,
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "ContentDocument",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "5867E8",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/001/o",
    ;       "custom": false,
    ;       "developerName": "standard-Account",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Accounts",
    ;       "objectApiName": "Account",
    ;       "objectLabel": "Account",
    ;       "objectLabelPlural": "Accounts",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Account",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "5867E8",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/003/o",
    ;       "custom": false,
    ;       "developerName": "standard-Contact",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/contact_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Contacts",
    ;       "objectApiName": "Contact",
    ;       "objectLabel": "Contact",
    ;       "objectLabelPlural": "Contacts",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Contact",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "FF538A",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/01Z/o",
    ;       "custom": false,
    ;       "developerName": "standard-Dashboard",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/dashboard_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Dashboards",
    ;       "objectApiName": "Dashboard",
    ;       "objectLabel": "Dashboard",
    ;       "objectLabelPlural": "Dashboards",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Dashboard",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "Dashboards"
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "06A59A",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/00O/o",
    ;       "custom": false,
    ;       "developerName": "standard-report",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Reports",
    ;       "objectApiName": "Report",
    ;       "objectLabel": "Report",
    ;       "objectLabelPlural": "Reports",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Report",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "Reports"
    ;     },
    ;     {
    ;       "availableInClassic": false,
    ;       "availableInLightning": true,
    ;       "color": "1B96FF",
    ;       "content": null,
    ;       "custom": false,
    ;       "developerName": "standard-Feed",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/feed_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Chatter",
    ;       "objectApiName": "Feed",
    ;       "objectLabel": null,
    ;       "objectLabelPlural": null,
    ;       "pageReference": {
    ;         "attributes": {
    ;           "pageName": "chatter"
    ;         },
    ;         "state": {},
    ;         "type": "standard__namedPage"
    ;       },
    ;       "standardType": "Feed"
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "1B96FF",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/groups/GroupListPage",
    ;       "custom": false,
    ;       "developerName": "standard-CollaborationGroup",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/groups_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Groups",
    ;       "objectApiName": "CollaborationGroup",
    ;       "objectLabel": "Group",
    ;       "objectLabelPlural": "Groups",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "CollaborationGroup",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "Groups"
    ;     },
    ;     {
    ;       "availableInClassic": false,
    ;       "availableInLightning": true,
    ;       "color": "FF538A",
    ;       "content": null,
    ;       "custom": false,
    ;       "developerName": "Events",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/event_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Events",
    ;       "objectApiName": "Event",
    ;       "objectLabel": "Event",
    ;       "objectLabelPlural": "Events",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Event",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "Events"
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "1B96FF",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/people/PeopleListPage",
    ;       "custom": false,
    ;       "developerName": "standard-OtherUserProfile",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/user_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "People",
    ;       "objectApiName": "User",
    ;       "objectLabel": "User",
    ;       "objectLabelPlural": "People",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "User",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": "People"
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "FF5D2D",
    ;       "content": "https://pozil-dev-ed.my.salesforce.com/500/o",
    ;       "custom": false,
    ;       "developerName": "standard-Case",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/case_120.png",
    ;       "id": null,
    ;       "itemType": "Entity",
    ;       "label": "Cases",
    ;       "objectApiName": "Case",
    ;       "objectLabel": "Case",
    ;       "objectLabelPlural": "Cases",
    ;       "pageReference": {
    ;         "attributes": {
    ;           "objectApiName": "Case",
    ;           "actionName": "home"
    ;         },
    ;         "state": {},
    ;         "type": "standard__objectPage"
    ;       },
    ;       "standardType": null
    ;     },
    ;     {
    ;       "availableInClassic": true,
    ;       "availableInLightning": true,
    ;       "color": "3BA755",
    ;       "content": null,
    ;       "custom": false,
    ;       "developerName": "ForecastingLightning",
    ;       "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/forecasts_120.png",
    ;       "id": null,
    ;       "itemType": "Standard",
    ;       "label": "Forecasts",
    ;       "objectApiName": null,
    ;       "objectLabel": null,
    ;       "objectLabelPlural": null,
    ;       "pageReference": {
    ;         "attributes": {
    ;           "pageName": "forecasting"
    ;         },
    ;         "state": {},
    ;         "type": "standard__namedPage"
    ;       },
    ;       "standardType": "ForecastingLightning"
    ;     }
    ;   ],
    ;   "selected": true,
    ;   "startUrl": "https://pozil-dev-ed.my.salesforce.com/home/home.jsp?tsid=02u58000000fBK2",
    ;   "type": "Lightning",
    ;   "userNavItems": [
    ;   ]
    ; }

    ; Sample code for parsing the JSON response...
    ; Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    strVal.s
    availableInClassic.i
    availableInLightning.i
    color.s
    content.s
    custom.i
    id.s
    itemType.s
    objectApiName.s
    objectLabel.s
    objectLabelPlural.s
    ObjectApiName.s
    ActionName.s
    v_Type.s
    standardType.s
    PageName.s

    appId.s = CkJsonObject::ckStringOf(jResp,"appId")
    description.s = CkJsonObject::ckStringOf(jResp,"description")
    developerName.s = CkJsonObject::ckStringOf(jResp,"developerName")
    eTag.s = CkJsonObject::ckStringOf(jResp,"eTag")
    headerColor.s = CkJsonObject::ckStringOf(jResp,"headerColor")
    iconUrl.s = CkJsonObject::ckStringOf(jResp,"iconUrl")
    isNavAutoTempTabsDisabled.i = CkJsonObject::ckBoolOf(jResp,"isNavAutoTempTabsDisabled")
    isNavPersonalizationDisabled.i = CkJsonObject::ckBoolOf(jResp,"isNavPersonalizationDisabled")
    isNavTabPersistenceDisabled.i = CkJsonObject::ckBoolOf(jResp,"isNavTabPersistenceDisabled")
    label.s = CkJsonObject::ckStringOf(jResp,"label")
    logoUrl.s = CkJsonObject::ckStringOf(jResp,"logoUrl")
    mobileStartUrl.s = CkJsonObject::ckStringOf(jResp,"mobileStartUrl")
    selected.i = CkJsonObject::ckBoolOf(jResp,"selected")
    startUrl.s = CkJsonObject::ckStringOf(jResp,"startUrl")
    v_type.s = CkJsonObject::ckStringOf(jResp,"type")
    i.i = 0
    count_i.i = CkJsonObject::ckSizeOfArray(jResp,"formFactors")
    While i < count_i
        CkJsonObject::setCkI(jResp, i)
        strVal = CkJsonObject::ckStringOf(jResp,"formFactors[i]")
        i = i + 1
    Wend
    i = 0
    count_i = CkJsonObject::ckSizeOfArray(jResp,"navItems")
    While i < count_i
        CkJsonObject::setCkI(jResp, i)
        availableInClassic = CkJsonObject::ckBoolOf(jResp,"navItems[i].availableInClassic")
        availableInLightning = CkJsonObject::ckBoolOf(jResp,"navItems[i].availableInLightning")
        color = CkJsonObject::ckStringOf(jResp,"navItems[i].color")
        content = CkJsonObject::ckStringOf(jResp,"navItems[i].content")
        custom = CkJsonObject::ckBoolOf(jResp,"navItems[i].custom")
        developerName = CkJsonObject::ckStringOf(jResp,"navItems[i].developerName")
        iconUrl = CkJsonObject::ckStringOf(jResp,"navItems[i].iconUrl")
        id = CkJsonObject::ckStringOf(jResp,"navItems[i].id")
        itemType = CkJsonObject::ckStringOf(jResp,"navItems[i].itemType")
        label = CkJsonObject::ckStringOf(jResp,"navItems[i].label")
        objectApiName = CkJsonObject::ckStringOf(jResp,"navItems[i].objectApiName")
        objectLabel = CkJsonObject::ckStringOf(jResp,"navItems[i].objectLabel")
        objectLabelPlural = CkJsonObject::ckStringOf(jResp,"navItems[i].objectLabelPlural")
        ObjectApiName = CkJsonObject::ckStringOf(jResp,"navItems[i].pageReference.attributes.objectApiName")
        ActionName = CkJsonObject::ckStringOf(jResp,"navItems[i].pageReference.attributes.actionName")
        v_Type = CkJsonObject::ckStringOf(jResp,"navItems[i].pageReference.type")
        standardType = CkJsonObject::ckStringOf(jResp,"navItems[i].standardType")
        PageName = CkJsonObject::ckStringOf(jResp,"navItems[i].pageReference.attributes.pageName")
        i = i + 1
    Wend
    i = 0
    count_i = CkJsonObject::ckSizeOfArray(jResp,"userNavItems")
    While i < count_i
        CkJsonObject::setCkI(jResp, i)
        i = i + 1
    Wend


    CkHttp::ckDispose(http)
    CkJsonObject::ckDispose(queryParams)
    CkStringBuilder::ckDispose(sbResponseBody)
    CkJsonObject::ckDispose(jResp)


    ProcedureReturn
EndProcedure

Curl Command

curl -G -d "formFactor=Small"
	-H "Authorization: Bearer <access_token>"
https://domain.com/services/data/v{{version}}/ui-api/apps/:APP_ID

Postman Collection Item JSON

{
  "name": "Get an App",
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "exec": [
          ""
        ],
        "type": "text/javascript"
      }
    }
  ],
  "protocolProfileBehavior": {
    "disableBodyPruning": true
  },
  "request": {
    "method": "GET",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/apps/:APP_ID?formFactor=Small",
      "host": [
        "{{_endpoint}}"
      ],
      "path": [
        "services",
        "data",
        "v{{version}}",
        "ui-api",
        "apps",
        ":APP_ID"
      ],
      "query": [
        {
          "key": "formFactor",
          "value": "Small",
          "description": "The form factor for each app that the user has access to (`Large`, `Medium` or `Small`)"
        },
        {
          "key": "userCustomizations",
          "value": "true",
          "description": "If true, gets custom and standard navigation tabs. If false, gets only standard navigation tabs.",
          "disabled": true
        }
      ],
      "variable": [
        {
          "key": "APP_ID",
          "value": "",
          "description": "Application ID"
        }
      ]
    },
    "description": "Get metadata about an app."
  },
  "response": [
    {
      "name": "Get an App",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/apps/:APP_ID?formFactor=Small",
          "host": [
            "{{_endpoint}}"
          ],
          "path": [
            "services",
            "data",
            "v{{version}}",
            "ui-api",
            "apps",
            ":APP_ID"
          ],
          "query": [
            {
              "key": "formFactor",
              "value": "Small",
              "description": "The form factor for each app that the user has access to (`Large`, `Medium` or `Small`)"
            },
            {
              "key": "userCustomizations",
              "value": "true",
              "description": "If true, gets custom and standard navigation tabs. If false, gets only standard navigation tabs.",
              "disabled": true
            }
          ],
          "variable": [
            {
              "key": "APP_ID",
              "value": "06m58000000fBK2AAM",
              "description": "Application ID"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Date",
          "value": "Fri, 06 Oct 2023 09:35:36 GMT"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=63072000; includeSubDomains"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "X-Robots-Tag",
          "value": "none"
        },
        {
          "key": "Cache-Control",
          "value": "no-cache,must-revalidate,max-age=0,no-store,private"
        },
        {
          "key": "ETag",
          "value": "\"21d4bafc5c5730c4f9421875288c4a00--gzip\""
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=UTF-8"
        },
        {
          "key": "Vary",
          "value": "Accept-Encoding"
        },
        {
          "key": "Content-Encoding",
          "value": "gzip"
        },
        {
          "key": "Transfer-Encoding",
          "value": "chunked"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"appId\": \"06m58000000fBK2AAM\",\n    \"description\": \"Manage your sales process with accounts, leads, opportunities, and more\",\n    \"developerName\": \"LightningSales\",\n    \"eTag\": \"21d4bafc5c5730c4f9421875288c4a00\",\n    \"formFactors\": [\n        \"Small\",\n        \"Medium\",\n        \"Large\"\n    ],\n    \"headerColor\": \"#0070D2\",\n    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/icon.png\",\n    \"isNavAutoTempTabsDisabled\": false,\n    \"isNavPersonalizationDisabled\": false,\n    \"isNavTabPersistenceDisabled\": false,\n    \"label\": \"Sales\",\n    \"logoUrl\": \"https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/logo.png\",\n    \"mobileStartUrl\": null,\n    \"navItems\": [\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"FF5D2D\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/006/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Opportunity\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/opportunity_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Opportunities\",\n            \"objectApiName\": \"Opportunity\",\n            \"objectLabel\": \"Opportunity\",\n            \"objectLabelPlural\": \"Opportunities\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Opportunity\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"FF5D2D\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/00Q/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Lead\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/lead_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Leads\",\n            \"objectApiName\": \"Lead\",\n            \"objectLabel\": \"Lead\",\n            \"objectLabelPlural\": \"Leads\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Lead\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": false,\n            \"availableInLightning\": true,\n            \"color\": \"3BA755\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/00T/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Task\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/task_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Tasks\",\n            \"objectApiName\": \"Task\",\n            \"objectLabel\": \"Task\",\n            \"objectLabelPlural\": \"Tasks\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Task\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"Tasks\"\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"939393\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/files/FileTabPage\",\n            \"custom\": false,\n            \"developerName\": \"standard-File\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/file_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Files\",\n            \"objectApiName\": \"ContentDocument\",\n            \"objectLabel\": null,\n            \"objectLabelPlural\": null,\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"ContentDocument\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"5867E8\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/001/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Account\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Accounts\",\n            \"objectApiName\": \"Account\",\n            \"objectLabel\": \"Account\",\n            \"objectLabelPlural\": \"Accounts\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Account\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"5867E8\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/003/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Contact\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/contact_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Contacts\",\n            \"objectApiName\": \"Contact\",\n            \"objectLabel\": \"Contact\",\n            \"objectLabelPlural\": \"Contacts\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Contact\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"FF538A\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/01Z/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Dashboard\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/dashboard_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Dashboards\",\n            \"objectApiName\": \"Dashboard\",\n            \"objectLabel\": \"Dashboard\",\n            \"objectLabelPlural\": \"Dashboards\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Dashboard\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"Dashboards\"\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"06A59A\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/00O/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-report\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Reports\",\n            \"objectApiName\": \"Report\",\n            \"objectLabel\": \"Report\",\n            \"objectLabelPlural\": \"Reports\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Report\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"Reports\"\n        },\n        {\n            \"availableInClassic\": false,\n            \"availableInLightning\": true,\n            \"color\": \"1B96FF\",\n            \"content\": null,\n            \"custom\": false,\n            \"developerName\": \"standard-Feed\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/feed_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Chatter\",\n            \"objectApiName\": \"Feed\",\n            \"objectLabel\": null,\n            \"objectLabelPlural\": null,\n            \"pageReference\": {\n                \"attributes\": {\n                    \"pageName\": \"chatter\"\n                },\n                \"state\": {},\n                \"type\": \"standard__namedPage\"\n            },\n            \"standardType\": \"Feed\"\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"1B96FF\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/groups/GroupListPage\",\n            \"custom\": false,\n            \"developerName\": \"standard-CollaborationGroup\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/groups_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Groups\",\n            \"objectApiName\": \"CollaborationGroup\",\n            \"objectLabel\": \"Group\",\n            \"objectLabelPlural\": \"Groups\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"CollaborationGroup\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"Groups\"\n        },\n        {\n            \"availableInClassic\": false,\n            \"availableInLightning\": true,\n            \"color\": \"FF538A\",\n            \"content\": null,\n            \"custom\": false,\n            \"developerName\": \"Events\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/event_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Events\",\n            \"objectApiName\": \"Event\",\n            \"objectLabel\": \"Event\",\n            \"objectLabelPlural\": \"Events\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Event\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"Events\"\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"1B96FF\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/people/PeopleListPage\",\n            \"custom\": false,\n            \"developerName\": \"standard-OtherUserProfile\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/user_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"People\",\n            \"objectApiName\": \"User\",\n            \"objectLabel\": \"User\",\n            \"objectLabelPlural\": \"People\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"User\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": \"People\"\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"FF5D2D\",\n            \"content\": \"https://pozil-dev-ed.my.salesforce.com/500/o\",\n            \"custom\": false,\n            \"developerName\": \"standard-Case\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/case_120.png\",\n            \"id\": null,\n            \"itemType\": \"Entity\",\n            \"label\": \"Cases\",\n            \"objectApiName\": \"Case\",\n            \"objectLabel\": \"Case\",\n            \"objectLabelPlural\": \"Cases\",\n            \"pageReference\": {\n                \"attributes\": {\n                    \"objectApiName\": \"Case\",\n                    \"actionName\": \"home\"\n                },\n                \"state\": {},\n                \"type\": \"standard__objectPage\"\n            },\n            \"standardType\": null\n        },\n        {\n            \"availableInClassic\": true,\n            \"availableInLightning\": true,\n            \"color\": \"3BA755\",\n            \"content\": null,\n            \"custom\": false,\n            \"developerName\": \"ForecastingLightning\",\n            \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/forecasts_120.png\",\n            \"id\": null,\n            \"itemType\": \"Standard\",\n            \"label\": \"Forecasts\",\n            \"objectApiName\": null,\n            \"objectLabel\": null,\n            \"objectLabelPlural\": null,\n            \"pageReference\": {\n                \"attributes\": {\n                    \"pageName\": \"forecasting\"\n                },\n                \"state\": {},\n                \"type\": \"standard__namedPage\"\n            },\n            \"standardType\": \"ForecastingLightning\"\n        }\n    ],\n    \"selected\": true,\n    \"startUrl\": \"https://pozil-dev-ed.my.salesforce.com/home/home.jsp?tsid=02u58000000fBK2\",\n    \"type\": \"Lightning\",\n    \"userNavItems\": []\n}"
    }
  ]
}