Back to Collection Items
var
http: TChilkatHttp;
success: Integer;
sbResponseBody: TChilkatStringBuilder;
jResp: TChilkatJsonObject;
respStatusCode: Integer;
begin
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http := TChilkatHttp.Create(Self);
// Adds the "Authorization: Bearer <access_token>" header.
http.AuthToken := '<access_token>';
sbResponseBody := TChilkatStringBuilder.Create(Self);
success := http.QuickGetSb('https://domain.com/services/data/v{{version}}/tooling/sobjects/PlatformEventChannel/describe/',sbResponseBody.ControlInterface);
if (success = 0) then
begin
Memo1.Lines.Add(http.LastErrorText);
Exit;
end;
jResp := TChilkatJsonObject.Create(Self);
jResp.LoadSb(sbResponseBody.ControlInterface);
jResp.EmitCompact := 0;
Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(jResp.Emit());
respStatusCode := http.LastStatus;
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
begin
Memo1.Lines.Add('Response Header:');
Memo1.Lines.Add(http.LastHeader);
Memo1.Lines.Add('Failed.');
Exit;
end;
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://domain.com/services/data/v{{version}}/tooling/sobjects/PlatformEventChannel/describe/
Postman Collection Item JSON
{
"name": "Describe event channel",
"protocolProfileBehavior": {
"strictSSL": false,
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/tooling/sobjects/PlatformEventChannel/describe/",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"tooling",
"sobjects",
"PlatformEventChannel",
"describe",
""
]
}
},
"response": [
{
"name": "Describe event channel",
"originalRequest": {
"method": "GET",
"header": [
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/tooling/sobjects/PlatformEventChannel/describe/",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"tooling",
"sobjects",
"PlatformEventChannel",
"describe",
""
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Mon, 03 Jul 2023 13:16:20 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": "Sforce-Limit-Info",
"value": "api-usage=7/15000"
},
{
"key": "ETag",
"value": "\"2aa989f9--gzip\""
},
{
"key": "Last-Modified",
"value": "Mon, 03 Jul 2023 13:05:05 GMT"
},
{
"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 \"actionOverrides\": [],\n \"activateable\": false,\n \"associateEntityType\": null,\n \"associateParentEntity\": null,\n \"childRelationships\": [],\n \"compactLayoutable\": false,\n \"createable\": true,\n \"custom\": false,\n \"customSetting\": false,\n \"deepCloneable\": false,\n \"defaultImplementation\": null,\n \"deletable\": true,\n \"deprecatedAndHidden\": false,\n \"extendedBy\": null,\n \"extendsInterfaces\": null,\n \"feedEnabled\": false,\n \"fields\": [\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 18,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": true,\n \"inlineHelpText\": null,\n \"label\": \"Platform Event Channel ID\",\n \"length\": 18,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"Id\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"tns:ID\",\n \"sortable\": true,\n \"type\": \"id\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": false,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 0,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": false,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Deleted\",\n \"length\": 0,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"IsDeleted\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:boolean\",\n \"sortable\": true,\n \"type\": \"boolean\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 240,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Name\",\n \"length\": 80,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"DeveloperName\",\n \"nameField\": true,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"string\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 120,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Master Language\",\n \"length\": 40,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"Language\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": true,\n \"permissionable\": false,\n \"picklistValues\": [\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"English\",\n \"validFor\": null,\n \"value\": \"en_US\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"German\",\n \"validFor\": null,\n \"value\": \"de\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Spanish\",\n \"validFor\": null,\n \"value\": \"es\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"French\",\n \"validFor\": null,\n \"value\": \"fr\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Italian\",\n \"validFor\": null,\n \"value\": \"it\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Japanese\",\n \"validFor\": null,\n \"value\": \"ja\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Swedish\",\n \"validFor\": null,\n \"value\": \"sv\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Korean\",\n \"validFor\": null,\n \"value\": \"ko\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Chinese (Traditional)\",\n \"validFor\": null,\n \"value\": \"zh_TW\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Chinese (Simplified)\",\n \"validFor\": null,\n \"value\": \"zh_CN\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Portuguese (Brazil)\",\n \"validFor\": null,\n \"value\": \"pt_BR\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Dutch\",\n \"validFor\": null,\n \"value\": \"nl_NL\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Danish\",\n \"validFor\": null,\n \"value\": \"da\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Thai\",\n \"validFor\": null,\n \"value\": \"th\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Finnish\",\n \"validFor\": null,\n \"value\": \"fi\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Russian\",\n \"validFor\": null,\n \"value\": \"ru\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Spanish (Mexico)\",\n \"validFor\": null,\n \"value\": \"es_MX\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Norwegian\",\n \"validFor\": null,\n \"value\": \"no\"\n }\n ],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": true,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"picklist\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 240,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Label\",\n \"length\": 80,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"MasterLabel\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"string\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 45,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Namespace Prefix\",\n \"length\": 15,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"NamespacePrefix\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": true,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"string\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 120,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Manageable State\",\n \"length\": 40,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"ManageableState\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": true,\n \"permissionable\": false,\n \"picklistValues\": [\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Managed-Released\",\n \"validFor\": null,\n \"value\": \"released\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Managed-Proposed-Deleted\",\n \"validFor\": null,\n \"value\": \"deleted\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Managed-Proposed-Deprecated\",\n \"validFor\": null,\n \"value\": \"deprecated\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Managed-Installed\",\n \"validFor\": null,\n \"value\": \"installed\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Managed-Beta\",\n \"validFor\": null,\n \"value\": \"beta\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"Unmanaged\",\n \"validFor\": null,\n \"value\": \"unmanaged\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"SecondGen-Installed-Editable\",\n \"validFor\": null,\n \"value\": \"installedEditable\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": \"SecondGen-Installed-Deprecated\",\n \"validFor\": null,\n \"value\": \"deprecatedEditable\"\n }\n ],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": true,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"picklist\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 0,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": false,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Created Date\",\n \"length\": 0,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"CreatedDate\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:dateTime\",\n \"sortable\": true,\n \"type\": \"datetime\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 18,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Created By ID\",\n \"length\": 18,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"CreatedById\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [\n \"User\"\n ],\n \"relationshipName\": \"CreatedBy\",\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"tns:ID\",\n \"sortable\": true,\n \"type\": \"reference\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 0,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": false,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Last Modified Date\",\n \"length\": 0,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"LastModifiedDate\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:dateTime\",\n \"sortable\": true,\n \"type\": \"datetime\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 18,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Last Modified By ID\",\n \"length\": 18,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"LastModifiedById\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [\n \"User\"\n ],\n \"relationshipName\": \"LastModifiedBy\",\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"tns:ID\",\n \"sortable\": true,\n \"type\": \"reference\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 0,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": true,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": false,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"System Modstamp\",\n \"length\": 0,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"SystemModstamp\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:dateTime\",\n \"sortable\": true,\n \"type\": \"datetime\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 765,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": false,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": true,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Channel Type\",\n \"length\": 255,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"ChannelType\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": false,\n \"permissionable\": false,\n \"picklistValues\": [\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": null,\n \"validFor\": null,\n \"value\": \"event\"\n },\n {\n \"active\": true,\n \"defaultValue\": false,\n \"label\": null,\n \"validFor\": null,\n \"value\": \"data\"\n }\n ],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": true,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": true,\n \"type\": \"picklist\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": true,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 765,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": true,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": false,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": true,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Channel Developer Name\",\n \"length\": 255,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"FullName\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": true,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"xsd:string\",\n \"sortable\": false,\n \"type\": \"string\",\n \"unique\": false,\n \"updateable\": false,\n \"writeRequiresMasterRead\": false\n },\n {\n \"aggregatable\": false,\n \"aiPredictionField\": false,\n \"autoNumber\": false,\n \"byteLength\": 0,\n \"calculated\": false,\n \"calculatedFormula\": null,\n \"cascadeDelete\": false,\n \"caseSensitive\": false,\n \"compoundFieldName\": null,\n \"controllerName\": null,\n \"createable\": true,\n \"custom\": false,\n \"defaultValue\": null,\n \"defaultValueFormula\": null,\n \"defaultedOnCreate\": false,\n \"dependentPicklist\": false,\n \"deprecatedAndHidden\": false,\n \"digits\": 0,\n \"displayLocationInDecimal\": false,\n \"encrypted\": false,\n \"externalId\": false,\n \"extraTypeInfo\": null,\n \"filterable\": false,\n \"filteredLookupInfo\": null,\n \"formulaTreatNullNumberAsZero\": false,\n \"groupable\": false,\n \"highScaleNumber\": false,\n \"htmlFormatted\": false,\n \"idLookup\": false,\n \"inlineHelpText\": null,\n \"label\": \"Object Metadata\",\n \"length\": 0,\n \"mask\": null,\n \"maskType\": null,\n \"name\": \"Metadata\",\n \"nameField\": false,\n \"namePointing\": false,\n \"nillable\": true,\n \"permissionable\": false,\n \"picklistValues\": [],\n \"polymorphicForeignKey\": false,\n \"precision\": 0,\n \"queryByDistance\": false,\n \"referenceTargetField\": null,\n \"referenceTo\": [],\n \"relationshipName\": null,\n \"relationshipOrder\": null,\n \"restrictedDelete\": false,\n \"restrictedPicklist\": false,\n \"scale\": 0,\n \"searchPrefilterable\": false,\n \"soapType\": \"PlatformEventChannel\",\n \"sortable\": false,\n \"type\": \"complexvalue\",\n \"unique\": false,\n \"updateable\": true,\n \"writeRequiresMasterRead\": false\n }\n ],\n \"hasSubtypes\": false,\n \"implementedBy\": null,\n \"implementsInterfaces\": null,\n \"isInterface\": false,\n \"isSubtype\": false,\n \"keyPrefix\": \"0YL\",\n \"label\": \"Platform Event Channel\",\n \"labelPlural\": \"Platform Event Channel\",\n \"layoutable\": false,\n \"listviewable\": null,\n \"lookupLayoutable\": null,\n \"mergeable\": false,\n \"mruEnabled\": false,\n \"name\": \"PlatformEventChannel\",\n \"namedLayoutInfos\": [],\n \"networkScopeFieldName\": null,\n \"queryable\": true,\n \"recordTypeInfos\": [],\n \"replicateable\": false,\n \"retrieveable\": true,\n \"searchLayoutable\": false,\n \"searchable\": false,\n \"sobjectDescribeOption\": \"FULL\",\n \"supportedScopes\": [\n {\n \"label\": \"All platform event channels\",\n \"name\": \"everything\"\n }\n ],\n \"triggerable\": false,\n \"undeletable\": false,\n \"updateable\": true,\n \"urls\": {\n \"rowTemplate\": \"/services/data/v58.0/tooling/sobjects/PlatformEventChannel/{ID}\",\n \"describe\": \"/services/data/v58.0/tooling/sobjects/PlatformEventChannel/describe\",\n \"sobject\": \"/services/data/v58.0/tooling/sobjects/PlatformEventChannel\"\n }\n}"
}
]
}