Discussions

Add "Custom Data Object fields" REST Endpoints

Jon Ernst-OracleJon Ernst-Oracle CX Marketing Consulting Posts: 9 Employee
edited September 18 in Dream It

Hello,

We'd love to have the ability to access CDO Fields via REST 1.0 or 2.0, including:

  • Create a CDO field
  • Delete a CDO field
  • Update a CDO field

Thanks for considering!

Post edited by Unknown User on
4
4 votes

Already offered · Last Updated

Comments

  • Lou PatrickLou Patrick Posts: 343 Gold Badge

    The ability to create, delete, and update custom object fields is already available via the create and update custom object Application API endpoints using the fields property. Note, I only link to the 2.0 endpoints, as if both 2.0 and 1.0 are in the officially supported documentation, then 2.0 should be used, as there are some features that are only added to 2.0.

    To create a custom object field, just add it to the fields property when creating or updating the custom object.

    To update a custom object field, just include the updated field in the fields property when updating the custom object.

    When updating a custom object you need to include all fields, even if you are not updating the field, so to delete a custom object field, just leave it out of fields in the update request.

Sign In or Register to comment.