Chilkat Online Tools

Ruby / Salesforce Platform APIs / Get Global Actions

Back to Collection Items

require 'chilkat'

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

http = Chilkat::CkHttp.new()

# Adds the "Authorization: Bearer <access_token>" header.
http.put_AuthToken("<access_token>")

sbResponseBody = Chilkat::CkStringBuilder.new()
success = http.QuickGetSb("https://domain.com/services/data/v{{version}}/ui-api/actions/global",sbResponseBody)
if (success == false)
    print http.lastErrorText() + "\n";
    exit
end

jResp = Chilkat::CkJsonObject.new()
jResp.LoadSb(sbResponseBody)
jResp.put_EmitCompact(false)

print "Response Body:" + "\n";
print jResp.emit() + "\n";

respStatusCode = http.get_LastStatus()
print "Response Status Code = " + respStatusCode.to_s() + "\n";
if (respStatusCode >= 400)
    print "Response Header:" + "\n";
    print http.lastHeader() + "\n";
    print "Failed." + "\n";
    exit
end

# 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

v_Url = jResp.stringOf("actions.Global.url")
eTag = jResp.stringOf("eTag")
url = jResp.stringOf("url")
i = 0
count_i = jResp.SizeOfArray("actions.Global.actions")
while i < count_i
    jResp.put_I(i)
    actionListContext = jResp.stringOf("actions.Global.actions[i].actionListContext")
    actionTarget = jResp.stringOf("actions.Global.actions[i].actionTarget")
    actionTargetType = jResp.stringOf("actions.Global.actions[i].actionTargetType")
    apiName = jResp.stringOf("actions.Global.actions[i].apiName")
    externalId = jResp.stringOf("actions.Global.actions[i].externalId")
    iconUrl = jResp.stringOf("actions.Global.actions[i].iconUrl")
    id = jResp.stringOf("actions.Global.actions[i].id")
    isMassAction = jResp.stringOf("actions.Global.actions[i].isMassAction")
    label = jResp.stringOf("actions.Global.actions[i].label")
    lwcComponent = jResp.stringOf("actions.Global.actions[i].lwcComponent")
    primaryColor = jResp.stringOf("actions.Global.actions[i].primaryColor")
    relatedListRecordId = jResp.stringOf("actions.Global.actions[i].relatedListRecordId")
    relatedSourceObject = jResp.stringOf("actions.Global.actions[i].relatedSourceObject")
    section = jResp.stringOf("actions.Global.actions[i].section")
    sourceObject = jResp.stringOf("actions.Global.actions[i].sourceObject")
    subtype = jResp.stringOf("actions.Global.actions[i].subtype")
    targetObject = jResp.stringOf("actions.Global.actions[i].targetObject")
    targetUrl = jResp.stringOf("actions.Global.actions[i].targetUrl")
    v_type = jResp.stringOf("actions.Global.actions[i].type")
    i = i + 1
end
i = 0
count_i = jResp.SizeOfArray("actions.Global.links")
while i < count_i
    jResp.put_I(i)
    i = i + 1
end

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}"
    }
  ]
}