You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting 500 Internal Server Error while creating Eloqua form with multiple fields using Rest API.

in Eloqua 2 comments

I have a requirement to support forms of Oracle Eloqua Marketing Cloud Service in my project. I was testing the rest api for forms. So when I create form with single field using the create endpoint form is created in Eloqua CMS. But when I try to create form with Muliple fields it throws 500 InternalServerError.

Endpoint: REST/2.0/assets/form

Request Body: {

"name":"ELA_Form", "elements":[ { "type": "FormField", "name": "Address 1", "style": "{\"fieldSize\":\"large\",\"labelPosition\":\"top\"}", "createdFromContactFieldId": "100006", "dataType": "text", "displayType": "text", "fieldMergeId": "36", "htmlName": "address1", "useGlobalSubscriptionStatus": "False", "validations": [] }, { "type": "FormField", "name": "Address 2", "style": "{\"fieldSize\":\"large\",\"labelPosition\":\"top\"}", "createdFromContactFieldId": "100007", "dataType": "text", "displayType": "text", "fieldMergeId": "37", "htmlName": "address2", "useGlobalSubscriptionStatus": "False", "validations": [] } ], "processingType":"externalEmail" }

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!