Web Form rest API to add custom fields on the form

Amit_Jain
Level 8 - Community Advisor

Web Form rest API to add custom fields on the form

Hi Everyone,

I need to add a custom fields in all of our web-forms. I was trying to do that uinsg API. I'm able to add the standard fields in the form such as Address, State etc but when I try to add any custom field, I'm getting a 611 - System error. Am I missing something here? I'm making a call like below:

{

'method' : 'post',

'contentType': 'x-www-form-urlencoded',

'addFormFieldSetRequest':

{

'fieldId':'City'

}

}

Sanford Whiteman, hope you can help me out here.​

Regards,
Amit

2 REPLIES 2
Steven_Vanderb3
Marketo Employee

Re: Web Form rest API to add custom fields on the form

Hi Amit,

REST 611 errors should be reviewed by the Marketo Support team so that the underlying issue can return a more informative error code.

SanfordWhiteman
Level 10 - Community Moderator

Re: Web Form rest API to add custom fields on the form

Also, you haven't provided an example of what you're putting on the wire.

That JSON object doesn't tell me anything about the resource URL, HTTP headers, and actual payload you're sending.