• Uncategorized

    Create/Edit an Account via REST API

    There are numerous scenarios in which rows of data must be created into a Salesforce CRM via API. After reading this article, you will know how to create or edit a account via REST API. 1- Backend/Salesforce connection Get Access Token : Data Authentication  :  “Account” object interface definition Account fields list :  Selection values list :  Gender :  Label API Name Femele F Mal M Others O 3- Account record creation 4- Updating an Account record

  • Features Marketing Cloud - Uncategorized

    Add Data into Data Extension via REST API

    There are numerous scenarios in which rows of data must be upserted into a data extension via API. Writing to a data extension directly provides access without requiring the Website Manager skills. First you’ll need to create the API endpoint by creating an Installed Package in SFMC setup. Plus the read/write privileges to data extensions specifically for this API call. Once done, use the authorization end point to get the Bearer token which will be needed to data rows into the DE. The endpoint is: /data/v1/async/dataextensions/key:[data_extension_key/rows For example, the full URL would be similar to this where “uniqueprefixhere” is the auto-generated prefix…