Back to Collection Items
var
begin
CkHttp_putAuthToken(http,'<access_token>');success := CkHttp_QuickGetSb(http,'https://domain.com/services/data/v{{version}}/tabs',sbResponseBody);CkJsonArray_LoadSb(jarrResp,sbResponseBody);CkJsonArray_putEmitCompact(jarrResp,False);CkJsonArray_ObjectAt2(jarrResp,i,json);custom := CkJsonObject_BoolOf(json,'custom');iconUrl := CkJsonObject__stringOf(json,'iconUrl');label := CkJsonObject__stringOf(json,'label');miniIconUrl := CkJsonObject__stringOf(json,'miniIconUrl');name := CkJsonObject__stringOf(json,'name');sobjectName := CkJsonObject__stringOf(json,'sobjectName');url := CkJsonObject__stringOf(json,'url');j := 0;count_j := CkJsonObject_SizeOfArray(json,'colors');CkJsonObject_putJ(json,j);color := CkJsonObject__stringOf(json,'colors[j].color');context := CkJsonObject__stringOf(json,'colors[j].context');theme := CkJsonObject__stringOf(json,'colors[j].theme');j := j + 1;j := 0;count_j := CkJsonObject_SizeOfArray(json,'icons');CkJsonObject_putJ(json,j);contentType := CkJsonObject__stringOf(json,'icons[j].contentType');height := CkJsonObject_IntOf(json,'icons[j].height');theme := CkJsonObject__stringOf(json,'icons[j].theme');url := CkJsonObject__stringOf(json,'icons[j].url');width := CkJsonObject_IntOf(json,'icons[j].width');j := j + 1;i := i + 1;
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
-H "Content-Type: application/json"
https://domain.com/services/data/v{{version}}/tabs
Postman Collection Item JSON
{
"name": "Tabs",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/tabs",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"tabs"
]
},
"description": "f a survey field can be translated or is already translated into a particular language, you can add or change the translated value of the survey field.\n\nhttps://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/request_survey_translate_add_change.htm"
},
"response": [
{
"name": "Tabs",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/tabs",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"tabs"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Wed, 27 Sep 2023 15:29:05 GMT"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Cache-Control",
"value": "no-cache,must-revalidate,max-age=0,no-store,private"
},
{
"key": "Sforce-Limit-Info",
"value": "api-usage=6/15000"
},
{
"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 {\n \"colors\": [\n {\n \"color\": \"5867E8\",\n \"context\": \"primary\",\n \"theme\": \"theme4\"\n },\n {\n \"color\": \"236FBD\",\n \"context\": \"primary\",\n \"theme\": \"theme3\"\n }\n ],\n \"custom\": false,\n \"iconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/accounts32.png\",\n \"icons\": [\n {\n \"contentType\": \"image/png\",\n \"height\": 32,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/accounts32.png\",\n \"width\": 32\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 16,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/accounts16.png\",\n \"width\": 16\n },\n {\n \"contentType\": \"image/svg+xml\",\n \"height\": 0,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account.svg\",\n \"width\": 0\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 60,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_60.png\",\n \"width\": 60\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 120,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_120.png\",\n \"width\": 120\n }\n ],\n \"label\": \"Accounts\",\n \"miniIconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/accounts16.png\",\n \"name\": \"standard-Account\",\n \"sobjectName\": \"Account\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/001/o\"\n },\n {\n \"colors\": [\n {\n \"color\": \"056764\",\n \"context\": \"primary\",\n \"theme\": \"theme4\"\n },\n {\n \"color\": \"056764\",\n \"context\": \"primary\",\n \"theme\": \"theme3\"\n }\n ],\n \"custom\": false,\n \"iconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/wrench32.png\",\n \"icons\": [\n {\n \"contentType\": \"image/png\",\n \"height\": 32,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/wrench32.png\",\n \"width\": 32\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 16,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/wrench16.png\",\n \"width\": 16\n }\n ],\n \"label\": \"Active Scratch Orgs\",\n \"miniIconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/wrench16.png\",\n \"name\": \"standard-ActiveScratchOrg\",\n \"sobjectName\": \"ActiveScratchOrg\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/2AS/o\"\n },\n {\n \"colors\": [\n {\n \"color\": \"06A59A\",\n \"context\": \"primary\",\n \"theme\": \"theme4\"\n },\n {\n \"color\": \"A55647\",\n \"context\": \"primary\",\n \"theme\": \"theme3\"\n }\n ],\n \"custom\": false,\n \"iconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/reports32.png\",\n \"icons\": [\n {\n \"contentType\": \"image/png\",\n \"height\": 32,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/reports32.png\",\n \"width\": 32\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 16,\n \"theme\": \"theme3\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/reports16.png\",\n \"width\": 16\n },\n {\n \"contentType\": \"image/svg+xml\",\n \"height\": 0,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report.svg\",\n \"width\": 0\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 60,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report_60.png\",\n \"width\": 60\n },\n {\n \"contentType\": \"image/png\",\n \"height\": 120,\n \"theme\": \"theme4\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report_120.png\",\n \"width\": 120\n }\n ],\n \"label\": \"Reports\",\n \"miniIconUrl\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/img/icon/reports16.png\",\n \"name\": \"standard-report\",\n \"sobjectName\": \"Report\",\n \"url\": \"https://nto-df17-demo-dev-ed.my.salesforce.com/00O/o\"\n }\n]"
}
]
}