Search
Close this search box.

Enable customized fields for the API interface

OData API
Enable customized fields for the aPI interface

Each newly added customized field can be enabled for the API interface. Depending on which object you add the new field to, the field will be available for the respective collection

The following example shows how to create the field Potential on the Account object and enable it for the interface. Go via your User Icon  to Adaption Mode and Add a new field on the Header Section.

After adding the field and filling out all necessary information navigate in the editing mode to the Tab OData Service. Here you can Add  the field for the desired collection. Finally, click Save.

With an Account Collection within API Request it is now possible to query also the data of the Potential field:

https://my######.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/CorporateAccountCollection?$filter=AccountID eq ‘1222590’

In the output the field will be marked with the abbreviation KUT, which stands for Key User Tool. The output for the new customer extension field looks like this:

...
"ZPotentialContent_KUT": "550000.000000",
"ZPotentialcurrencyCode_KUT": "USD",
"ZPotentialcurrencyCode_KUTText": "US-Dollar",
...

Do you need consulting from our experts?

The Customer Experience team at Camelot ITLab deals with exciting and challenging CRM related topics every day and serves a large portfolio of different customers from a wide range of industries. Trust in this collaboration and feel free to contact us at tlil@camelot-itlab.com.

Was this article helpful?

If you like our content we would highly appreciate your review on Trustpilot

 

#SAP C4C #SAP Cloud 4 Customer #Cloud 4 Customer #Cloud for Customer #SAP Sales Cloud #Sales Cloud #OData #API #Request #Postman #DELTERequest #Delete

Receive the latest news

Subscribe To our SAP Sales & Service Cloud Newsletter

Get notified about new articles