You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API - Unable to create a custom field of type Text for object Account

Summary:


Unable to create a custom field of type Text for object Account

Content (please ensure you mask any confidential information):

We're trying to create a custom field on the Account Project (OrganizationProfile) using REST API.

Endpoint URL: https://instancename/crmRestApi/resources/latest/businessObjects/OrganizationProfile/child/fields

Headers:

Content-Type : /vnd.oracle.adf.resourceitem+json

Metadata-Context:

sandbox="Custom_Fields"

Body:

{    "apiName": "test_c",    "name": "Test",    "type": "Checkbox",    "displayLabel": "Test",    "description": null,  "updateableFlag": "true",    "defaultValue": "N",    "defaultValueExpression": null,    "searchableFlag": "true",    "updateableExpression": null,    "includeInServicePayloadFlag": "true",    "columnName": "EXTN_ATTRIBUTE_CHAR008",  "dataStoreAlias": "OrganizationDEO"    }

Response:

400 - Unable to create a custom field of type Text for object Account.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!