Eloqua Form API
Export Form from Eloqua:
- Get List of Forms
https://secure.p04.eloqua.com/api/REST/1.0/assets/forms
- Get Form Data
https://secure.p04.eloqua.com/api/REST/1.0/data/form/40
Import/Create Form to Eloqua:
- Create Form
POST : https://secure.p04.eloqua.com/api/REST/1.0/assets/form
Body :
{
"name":"API_Form_Create",
"htmlName":"API_Form_Create",
"elements":
[
{
"type":"FormField",
"name":"First Name",
"dataType":"text",
"displayType":"text",
"htmlName":"FirstName"
}
],
"processingtype":""
}
Response:
{
"type": "Form",
"currentStatus": "Draft",
"id": "110",
"createdAt": "1565162081",
"createdBy": "23",
"depth": "complete",
"folderId": "7",
"name": "API_Form_Create",
"permissions": "fullControl",
"updatedAt": "1565162081",
"updatedBy": "23",
"elements": [
{
"type": "FormField",
"id": "727",
"name": "First Name",
"dataType": "text",
"displayType": "text",
"htmlName": "FirstName",