Chilkat Online Tools

PureBasic / Salesforce Platform APIs / Get Global Actions

Back to Collection Items

IncludeFile "CkJsonObject.pb"
IncludeFile "CkStringBuilder.pb"
IncludeFile "CkHttp.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

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

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

    success = CkHttp::ckQuickGetSb(http,"https://domain.com/services/data/v{{version}}/ui-api/actions/global",sbResponseBody)
    If success = 0
        Debug CkHttp::ckLastErrorText(http)
        CkHttp::ckDispose(http)
        CkStringBuilder::ckDispose(sbResponseBody)
        ProcedureReturn
    EndIf

    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 = CkHttp::ckLastStatus(http)
    Debug "Response Status Code = " + Str(respStatusCode)
    If respStatusCode >= 400
        Debug "Response Header:"
        Debug CkHttp::ckLastHeader(http)
        Debug "Failed."
        CkHttp::ckDispose(http)
        CkStringBuilder::ckDispose(sbResponseBody)
        CkJsonObject::ckDispose(jResp)
        ProcedureReturn
    EndIf

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

    ; {
    ;   "actions": {
    ;     "Global": {
    ;       "actions": [
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": null,
    ;           "actionTargetType": null,
    ;           "apiName": "FeedItem.TextPost",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:FeedItem.TextPost",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_post_120.png",
    ;           "id": "0JV4H0000279052WAA",
    ;           "isMassAction": "false",
    ;           "label": "Post",
    ;           "lwcComponent": null,
    ;           "primaryColor": "1B96FF",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "CollaborateComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "Post",
    ;           "targetObject": null,
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": null,
    ;           "actionTargetType": null,
    ;           "apiName": "FeedItem.ContentPost",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:FeedItem.ContentPost",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_file_120.png",
    ;           "id": "0JV4H0000279053WAA",
    ;           "isMassAction": "false",
    ;           "label": "File",
    ;           "lwcComponent": null,
    ;           "primaryColor": "939393",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": null,
    ;           "sourceObject": "Global",
    ;           "subtype": "Post",
    ;           "targetObject": null,
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewEvent/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewEvent",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2j",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_event_120.png",
    ;           "id": "0JV4H0000279054WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Event",
    ;           "lwcComponent": null,
    ;           "primaryColor": "FF538A",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "ActivityComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Event",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewTask/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewTask",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2f",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_task_120.png",
    ;           "id": "0JV4H0000279055WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Task",
    ;           "lwcComponent": null,
    ;           "primaryColor": "3BA755",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "ActivityComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Task",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewContact/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewContact",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2k",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_contact_120.png",
    ;           "id": "0JV4H0000279056WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Contact",
    ;           "lwcComponent": null,
    ;           "primaryColor": "5867E8",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "Page",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Contact",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/LogACall/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.LogACall",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2g",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/log_a_call_120.png",
    ;           "id": "0JV4H0000279057WAA",
    ;           "isMassAction": "false",
    ;           "label": "Log a Call",
    ;           "lwcComponent": null,
    ;           "primaryColor": "06A59A",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "ActivityComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "LogACall",
    ;           "targetObject": "Task",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewOpportunity/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewOpportunity",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2l",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_opportunity_120.png",
    ;           "id": "0JV4H0000279058WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Opportunity",
    ;           "lwcComponent": null,
    ;           "primaryColor": "FF5D2D",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "Page",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Opportunity",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewCase/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewCase",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2h",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_case_120.png",
    ;           "id": "0JV4H0000279059WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Case",
    ;           "lwcComponent": null,
    ;           "primaryColor": "FF5D2D",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "Page",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Case",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/NewLead/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.NewLead",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002PE2m",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_lead_120.png",
    ;           "id": "0JV4H0000279060WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Lead",
    ;           "lwcComponent": null,
    ;           "primaryColor": "FF5D2D",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "Page",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Lead",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": null,
    ;           "actionTargetType": null,
    ;           "apiName": "FeedItem.LinkPost",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:FeedItem.LinkPost",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_link_120.png",
    ;           "id": "0JV4H0000279061WAA",
    ;           "isMassAction": "false",
    ;           "label": "Link",
    ;           "lwcComponent": null,
    ;           "primaryColor": "1B96FF",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": null,
    ;           "sourceObject": "Global",
    ;           "subtype": "Post",
    ;           "targetObject": null,
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": null,
    ;           "actionTargetType": null,
    ;           "apiName": "FeedItem.PollPost",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:FeedItem.PollPost",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_poll_120.png",
    ;           "id": "0JV4H0000279062WAA",
    ;           "isMassAction": "false",
    ;           "label": "Poll",
    ;           "lwcComponent": null,
    ;           "primaryColor": "1B96FF",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "CollaborateComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "Post",
    ;           "targetObject": null,
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": null,
    ;           "actionTargetType": null,
    ;           "apiName": "FeedItem.QuestionPost",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:FeedItem.QuestionPost",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/question_post_action_120.png",
    ;           "id": "0JV4H0000279063WAA",
    ;           "isMassAction": "false",
    ;           "label": "Question",
    ;           "lwcComponent": null,
    ;           "primaryColor": "3BA755",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "CollaborateComposer",
    ;           "sourceObject": "Global",
    ;           "subtype": "Post",
    ;           "targetObject": null,
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         },
    ;         {
    ;           "actionListContext": "Global",
    ;           "actionTarget": "/services/data/v58.0/quickActions/New_Detailed_Account/describe",
    ;           "actionTargetType": "Describe",
    ;           "apiName": "Global.New_Detailed_Account",
    ;           "externalId": "00D58000000arpq:Global::Global:Desktop:09D58000002Pbt9",
    ;           "iconUrl": "https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_account_120.png",
    ;           "id": "0JV4H0000279064WAA",
    ;           "isMassAction": "false",
    ;           "label": "New Detailed Account",
    ;           "lwcComponent": null,
    ;           "primaryColor": "5867E8",
    ;           "relatedListRecordId": null,
    ;           "relatedSourceObject": null,
    ;           "section": "Page",
    ;           "sourceObject": "Global",
    ;           "subtype": "Create",
    ;           "targetObject": "Account",
    ;           "targetUrl": null,
    ;           "type": "QuickAction"
    ;         }
    ;       ],
    ;       "links": [
    ;       ],
    ;       "url": "/services/data/v58.0/ui-api/actions/global"
    ;     }
    ;   },
    ;   "eTag": "96082978ff1803b51fcee9ce34121cfa",
    ;   "url": "/services/data/v58.0/ui-api/actions/global"
    ; }

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

    actionListContext.s
    actionTarget.s
    actionTargetType.s
    apiName.s
    externalId.s
    iconUrl.s
    id.s
    isMassAction.s
    label.s
    lwcComponent.s
    primaryColor.s
    relatedListRecordId.s
    relatedSourceObject.s
    section.s
    sourceObject.s
    subtype.s
    targetObject.s
    targetUrl.s
    v_type.s

    v_Url.s = CkJsonObject::ckStringOf(jResp,"actions.Global.url")
    eTag.s = CkJsonObject::ckStringOf(jResp,"eTag")
    url.s = CkJsonObject::ckStringOf(jResp,"url")
    i.i = 0
    count_i.i = CkJsonObject::ckSizeOfArray(jResp,"actions.Global.actions")
    While i < count_i
        CkJsonObject::setCkI(jResp, i)
        actionListContext = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].actionListContext")
        actionTarget = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].actionTarget")
        actionTargetType = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].actionTargetType")
        apiName = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].apiName")
        externalId = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].externalId")
        iconUrl = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].iconUrl")
        id = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].id")
        isMassAction = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].isMassAction")
        label = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].label")
        lwcComponent = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].lwcComponent")
        primaryColor = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].primaryColor")
        relatedListRecordId = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].relatedListRecordId")
        relatedSourceObject = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].relatedSourceObject")
        section = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].section")
        sourceObject = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].sourceObject")
        subtype = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].subtype")
        targetObject = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].targetObject")
        targetUrl = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].targetUrl")
        v_type = CkJsonObject::ckStringOf(jResp,"actions.Global.actions[i].type")
        i = i + 1
    Wend
    i = 0
    count_i = CkJsonObject::ckSizeOfArray(jResp,"actions.Global.links")
    While i < count_i
        CkJsonObject::setCkI(jResp, i)
        i = i + 1
    Wend


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


    ProcedureReturn
EndProcedure

Curl Command

curl -X GET
	-H "Authorization: Bearer <access_token>"
https://domain.com/services/data/v{{version}}/ui-api/actions/global

Postman Collection Item JSON

{
  "name": "Get Global Actions",
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "exec": [
          ""
        ],
        "type": "text/javascript"
      }
    }
  ],
  "protocolProfileBehavior": {
    "disableBodyPruning": true
  },
  "request": {
    "method": "GET",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": ""
    },
    "url": {
      "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/actions/global",
      "host": [
        "{{_endpoint}}"
      ],
      "path": [
        "services",
        "data",
        "v{{version}}",
        "ui-api",
        "actions",
        "global"
      ],
      "query": [
        {
          "key": "actionTypes",
          "value": "",
          "description": "The action type (`CustomButton`, `ProductivityAction`, `QuickAction` or `StandardButton`)",
          "disabled": true
        },
        {
          "key": "apiNames",
          "value": "",
          "description": "The API names of one or more actions to be retrieved. Use this parameter only when passing `retrievalMode=All`.",
          "disabled": true
        },
        {
          "key": "formFactor",
          "value": "",
          "description": "The layout display size (`Large` (default), `Medium` or `Small`).",
          "disabled": true
        },
        {
          "key": "retrievalMode",
          "value": "",
          "description": "When the action context is Record, this parameter indicates which actions to retrieve from the record page. Either `All` or `PageLayout` (default).",
          "disabled": true
        },
        {
          "key": "sections",
          "value": "",
          "description": "The section of the user interface that the actions reside in (`ActivityComposer`, `CollaborateComposer`, `Page` or `SingleActionLinks`).",
          "disabled": true
        }
      ]
    },
    "description": "Get the actions on record detail pages."
  },
  "response": [
    {
      "name": "Get Global Actions",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "body": {
          "mode": "raw",
          "raw": ""
        },
        "url": {
          "raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/actions/global",
          "host": [
            "{{_endpoint}}"
          ],
          "path": [
            "services",
            "data",
            "v{{version}}",
            "ui-api",
            "actions",
            "global"
          ],
          "query": [
            {
              "key": "actionTypes",
              "value": "",
              "description": "The action type (`CustomButton`, `ProductivityAction`, `QuickAction` or `StandardButton`)",
              "disabled": true
            },
            {
              "key": "apiNames",
              "value": "",
              "description": "The API names of one or more actions to be retrieved. Use this parameter only when passing `retrievalMode=All`.",
              "disabled": true
            },
            {
              "key": "formFactor",
              "value": "",
              "description": "The layout display size (`Large` (default), `Medium` or `Small`).",
              "disabled": true
            },
            {
              "key": "retrievalMode",
              "value": "",
              "description": "When the action context is Record, this parameter indicates which actions to retrieve from the record page. Either `All` or `PageLayout` (default).",
              "disabled": true
            },
            {
              "key": "sections",
              "value": "",
              "description": "The section of the user interface that the actions reside in (`ActivityComposer`, `CollaborateComposer`, `Page` or `SingleActionLinks`).",
              "disabled": true
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Date",
          "value": "Fri, 06 Oct 2023 10:14:55 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": "\"96082978ff1803b51fcee9ce34121cfa--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    \"actions\": {\n        \"Global\": {\n            \"actions\": [\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": null,\n                    \"actionTargetType\": null,\n                    \"apiName\": \"FeedItem.TextPost\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:FeedItem.TextPost\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_post_120.png\",\n                    \"id\": \"0JV4H0000279052WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"Post\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"1B96FF\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"CollaborateComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Post\",\n                    \"targetObject\": null,\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": null,\n                    \"actionTargetType\": null,\n                    \"apiName\": \"FeedItem.ContentPost\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:FeedItem.ContentPost\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_file_120.png\",\n                    \"id\": \"0JV4H0000279053WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"File\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"939393\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": null,\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Post\",\n                    \"targetObject\": null,\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewEvent/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewEvent\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2j\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_event_120.png\",\n                    \"id\": \"0JV4H0000279054WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Event\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"FF538A\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"ActivityComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Event\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewTask/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewTask\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2f\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_task_120.png\",\n                    \"id\": \"0JV4H0000279055WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Task\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"3BA755\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"ActivityComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Task\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewContact/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewContact\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2k\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_contact_120.png\",\n                    \"id\": \"0JV4H0000279056WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Contact\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"5867E8\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"Page\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Contact\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/LogACall/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.LogACall\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2g\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/log_a_call_120.png\",\n                    \"id\": \"0JV4H0000279057WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"Log a Call\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"06A59A\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"ActivityComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"LogACall\",\n                    \"targetObject\": \"Task\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewOpportunity/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewOpportunity\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2l\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_opportunity_120.png\",\n                    \"id\": \"0JV4H0000279058WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Opportunity\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"FF5D2D\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"Page\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Opportunity\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewCase/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewCase\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2h\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_case_120.png\",\n                    \"id\": \"0JV4H0000279059WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Case\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"FF5D2D\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"Page\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Case\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/NewLead/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.NewLead\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002PE2m\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_lead_120.png\",\n                    \"id\": \"0JV4H0000279060WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Lead\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"FF5D2D\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"Page\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Lead\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": null,\n                    \"actionTargetType\": null,\n                    \"apiName\": \"FeedItem.LinkPost\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:FeedItem.LinkPost\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_link_120.png\",\n                    \"id\": \"0JV4H0000279061WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"Link\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"1B96FF\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": null,\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Post\",\n                    \"targetObject\": null,\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": null,\n                    \"actionTargetType\": null,\n                    \"apiName\": \"FeedItem.PollPost\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:FeedItem.PollPost\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/share_poll_120.png\",\n                    \"id\": \"0JV4H0000279062WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"Poll\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"1B96FF\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"CollaborateComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Post\",\n                    \"targetObject\": null,\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": null,\n                    \"actionTargetType\": null,\n                    \"apiName\": \"FeedItem.QuestionPost\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:FeedItem.QuestionPost\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/question_post_action_120.png\",\n                    \"id\": \"0JV4H0000279063WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"Question\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"3BA755\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"CollaborateComposer\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Post\",\n                    \"targetObject\": null,\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                },\n                {\n                    \"actionListContext\": \"Global\",\n                    \"actionTarget\": \"/services/data/v58.0/quickActions/New_Detailed_Account/describe\",\n                    \"actionTargetType\": \"Describe\",\n                    \"apiName\": \"Global.New_Detailed_Account\",\n                    \"externalId\": \"00D58000000arpq:Global::Global:Desktop:09D58000002Pbt9\",\n                    \"iconUrl\": \"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/action/new_account_120.png\",\n                    \"id\": \"0JV4H0000279064WAA\",\n                    \"isMassAction\": \"false\",\n                    \"label\": \"New Detailed Account\",\n                    \"lwcComponent\": null,\n                    \"primaryColor\": \"5867E8\",\n                    \"relatedListRecordId\": null,\n                    \"relatedSourceObject\": null,\n                    \"section\": \"Page\",\n                    \"sourceObject\": \"Global\",\n                    \"subtype\": \"Create\",\n                    \"targetObject\": \"Account\",\n                    \"targetUrl\": null,\n                    \"type\": \"QuickAction\"\n                }\n            ],\n            \"links\": [],\n            \"url\": \"/services/data/v58.0/ui-api/actions/global\"\n        }\n    },\n    \"eTag\": \"96082978ff1803b51fcee9ce34121cfa\",\n    \"url\": \"/services/data/v58.0/ui-api/actions/global\"\n}"
    }
  ]
}