In May 2022 we are enhancing existing REST APIs, and resolving several defects. See the full list of updates below.
Lead APIs
Companies, Opportunities, and Sales Persons
- We have added the ability to retrieve Company, Opportunity, and Sales Persons records when either SFDC Sync or Microsoft Dynamics Sync are enabled in your Marketo Engage instance.
Asset APIs
Emails
- We have updated the Get Email Dynamic Content endpoint to allow you to retrieve Dynamic Content from an email subject line. This works regardless of whether the given email is linked to an email template.
Forms
- We have updated the Add Field to Form and Update Form Field endpoints to allow you to add and update hidden form fields. Do this by specifying “hidden” as the fieldType parameter.
- We have updated the Add Field to Form and Update Form Field endpoints to allow you to add and update display values for select-type form fields. Here is an example:
1 |
POST /rest/asset/v1/form/{id}/field/State.json?values=[{"label":"Alaska"},{"value":"AK"},{"label":"West Virginia","value":"WV"},{"label":"Wyoming","value":"WY"}] |
- We have updated the Add Form Field Visibility Rules endpoint to allow you to add multiple comparison values for isNot type Invisibility Rules. Here is an example:
1 2 |
POST /rest/asset/v1/form/{id}/field/LastName/visibility.json? visibilityRule={"ruleType":"show","rules":[{"subjectField":"LastName","operator":"isNot","values":["A","B","C"]} |
Defect Resolutions
- Fixed issue with Submit Form endpoint that occurred when passing “null” for an attribute in leadFormFields parameter, an error was returned, “611, System Error”. It now correctly returns, “1003, Form validation failed” error. [LM-162213]