Retrieve a form

get

/api/REST/2.0/assets/form/{id}

Retrieves the form specified by the id parameter.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : Form
Type: object
Title: Form
Show Source
Nested Schema : FormFieldUpdateMapping
Type: object
Title: FormFieldUpdateMapping
Show Source
Nested Schema : elements
Type: array
Array consisting of form elements.
Show Source
Nested Schema : permissions
Type: array
The permissions for the form granted to your current instance. This is a read-only property.
Show Source
Nested Schema : processingSteps
Type: array
A list of the form's processing steps. There is no limit to the number of processing steps that can be included. Possible values include: FormStepAddToCampaign, FormStepAddToContactList, FormStepAddToDataCanvas, FormStepAddToProgram, FormStepAssociateToCampaign, FormStepCancelRegistration, FormStepUpdateContactEmailAddress, FormStepCreateUpdateEventRegistration, FormStepCreateUpdate, FormStepCreateUpdateFromFormField, FormStepGlobalSubscribe, FormStepGlobalUnsubscribe, FormStepGroupSubscription, FormStepPostData, FormStepRedirectToWebPage, FormStepRemoveFromContactList, FormStepRunIntegrationRules, FormStepSendEmail, FormStepSendNotificationEmail, and FormStepWebTracking.
Show Source
Nested Schema : Size
Type: object
Title: Size
Show Source
Nested Schema : permissions
Type: array
The permissions for the form field update mapping granted to your current instance. This is a read-only property.
Show Source
Nested Schema : FormElement
Type: object
Title: FormElement
Show Source
Nested Schema : permissions
Type: array
The permissions for the form element granted to your current instance.
Show Source
Nested Schema : FormProcessingStep
Type: object
Title: FormProcessingStep
Show Source
Nested Schema : ProcessingStepCondition
Type: object
Title: ProcessingStepCondition
Show Source
Nested Schema : permissions
Type: array
The permissions for the form processing step granted to your current instance.
Show Source
Nested Schema : conditionalFieldCriteria
Type: array
The conditional field criteria for the form processing step condition.
Show Source
Nested Schema : FieldComparisonCriteria
Type: object
Title: FieldComparisonCriteria
Show Source
Nested Schema : Condition
Type: object
Title: Condition
Show Source
Nested Schema : permissions
Type: array
The permissions for the field comparison criteria granted to your current instance. This is a read-only property.
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

The following examples demonstrate how to retrieve a form using an HTTP request and cURL. For more information on requests, see API requests.

HTTP Request Example

Retrieve the form asset with Id #63:


GET /api/REST/2.0/assets/form/63
			

Response:


{
  "type": "Form",
  "currentStatus": "Draft",
  "id": "63",
  "createdAt": "1548835153",
  "createdBy": "35",
  "depth": "complete",
  "folderId": "4124",
  "name": "Demo Design Editor",
  "permissions": [
    "Retrieve",
    "SetSecurity",
    "Delete",
    "Update"
  ],
  "updatedAt": "1548835684",
  "updatedBy": "35",
  "archived": "false",
  "customCSS": "<style type=\"text/css\" media=\"screen\"> /* RESET */.elq-form * {  margin: 0;  padding: 0;}.elq-form input,textarea {\t-webkit-box-sizing:content-box;\t-moz-box-sizing:content-box;\tbox-sizing:content-box;}.elq-form input[type=text],.elq-form textarea,.elq-form select[multiple=multiple] {\tborder: 1px solid #A6A6A6;} .elq-form button,input[type=reset],input[type=button],input[type=submit],input[type=checkbox],input[type=radio],select {\t-webkit-box-sizing:border-box;\t-moz-box-sizing:border-box;\tbox-sizing:border-box;}/* GENERIC */.elq-form input {\theight: 16px;\tline-height: 16px;}.elq-form .item-padding {\tpadding:6px 5px 9px 9px;}.elq-form .pp-group {\tpadding:0px 5px 0px 9px;}.elq-form .pp-field {\tpadding:6px 0px 9px 0px;}.elq-form .field-wrapper.individual {    float: left;    width: 100%;\tclear: both;}.elq-form .field-p {\tposition: relative;\tmargin: 0;\tpadding: 0;}.elq-form .zIndex-fix {\tposition: absolute;\tz-index: 1;\ttop: 0;\tleft: 0;\tright: 0;\tbottom: 0;}.elq-form .field-design {\tposition:absolute;\tz-index:2;\ttop:0;\tleft:0;\tright:0;\tbottom:0;\tmargin:0;\tpadding:0;}.elq-form .no-fields-prompt {\tfloat: left;\twidth: 100%;\theight: 150px;\tpadding-top: 50px;\tclear: both;}/* SECTION BREAKS */.elq-form .section-break {\tfloat:left;\twidth: 97%;\tmargin-right:2%;\tmargin-left:1%;\tpadding-bottom:6px;}.elq-form .section-break .heading {\twidth:100%;\tfont-weight: bold;\tmargin:0;\tpadding:0;}/* LABEL */.elq-form .required {\tcolor: red !important;\tdisplay: inline;\tfloat: none;\tfont-weight: bold;\tmargin: 0pt 0pt 0pt;\tpadding: 0pt 0pt 0pt;}/* FIELD GROUP */.elq-form .field-group {\tfloat: left;\tclear: both;}.elq-form .field-group.large {\twidth:100%;}.elq-form .field-group.medium {\twidth:51%;}.elq-form .field-group.small {\twidth:31%;}.elq-form .field-group .label {\tfloat:left;\twidth:97%;\tmargin-right:2%;\tmargin-left:1%;\tpadding-bottom:6px;\tfont-weight: bold;}.elq-form .field-group .field-style {\tfloat: left;}.elq-form .progressive-profile .pp-inner {\tfloat: left;\tclear: both;}.elq-form .progressive-profile .pp-inner.large {\twidth:100%;}.elq-form .progressive-profile .pp-inner.medium {\twidth:51%;}.elq-form .progressive-profile .pp-inner.small {\twidth:31%;}/* RADIO */.elq-form .radio-option {\tdisplay: inline-block;}.elq-form .radio-option .label {\tdisplay:block;\tfloat:left;\tpadding-right:10px;\tpadding-left:22px;\ttext-indent:-22px;}.elq-form .radio-option .input {\tvertical-align:middle;\tmargin-right:7px;}.elq-form .radio-option .inner {\tvertical-align:middle;}/* CHECKBOX */.elq-form .checkbox-span {\tdisplay:inline-block;}.elq-form .checkbox-label {\tmargin-left:4px;}/* INPUT */.elq-form .accept-default {\twidth:100%;}/* SIZING */.elq-form .field-style {\tmargin-right:2%;\tmargin-left:2%;}.elq-form .field-style._25 {\twidth:21%;}.elq-form .field-style._50 {\twidth:46%;}.elq-form .field-style._50_left {\tclear:left;\twidth:46%;}.elq-form .field-style._75 {\twidth:71%;}.elq-form .field-style._100 {\twidth:96%;}.elq-form .field-size-top-small {\twidth:30%;}.elq-form .field-size-top-medium {\twidth:75%;}.elq-form .field-size-top-large {\twidth:100%;}.elq-form .field-size-left-small {\twidth:21%;}.elq-form .field-size-left-medium {\twidth:46%;}.elq-form .field-size-left-large {\twidth:60%;}/* INSTRUCTIONS */.elq-form .instructions.default {\tcolor:#444444;\tdisplay:block;\tfont-size:10px;\tpadding:6px 0pt 3px;}.elq-form .instructions.group {\tfloat:left;\twidth:97%;\tmargin-right:2%;\tmargin-left:2%;\tpadding:6px 0pt 3px;\tcolor:#444444;\tdisplay:block;\tfont-size:10px;}.elq-form .instructions.left-single {\tmargin:0 0 0 33%;}.elq-form .instructions-other {   margin:0;}/* POSITIONING */.elq-form .label-position.left {\tdisplay:block;    line-height:150%;    padding:1px 0pt 3px;    float:left;    width:31%;    margin:0pt 15px 0pt 0pt;    word-wrap:break-word;    overflow-wrap: break-word;}.elq-form .label-position.top {\tdisplay:block;    line-height:150%;    padding:1px 0pt 3px;    white-space:normal;}.elq-form .label-position.alignment-left {\ttext-align: left;}.elq-form .label-position.alignment-right {\ttext-align: right;}/* LIST ORDER */.elq-form .list-order {\tdisplay:block;}.elq-form .list-order.oneColumn {\tmargin:0pt 7px 0pt 0pt;\twidth:100%;\tclear:both;}.elq-form .list-order.twoColumn {\tfloat:left;\tmargin:0pt 7px 0pt 0pt;\twidth:38%;}.elq-form .list-order.threeColumn {\tfloat:left;\tmargin:0pt 7px 0pt 0pt;\twidth:30%;}.elq-form .list-order.oneColumnLeft {\tfloat:left;\tmargin:0pt 7px 0pt 0pt;\twidth:100%;}.elq-form .list-order.twoColumnLeft {\tfloat:left;\tmargin:0pt 7px 0pt 0pt;\twidth:38%;}.elq-form .list-order.threeColumnLeft {\tfloat:left;\tmargin:0pt 7px 0pt 0pt;\twidth:30%;}/* GRID STYLE */.elq-form .grid-style {      display:inline;      float:left;      margin-left:2%;      margin-right:2%;}.elq-form .grid-style._25 {      width:21%;}.elq-form .grid-style._50 {      width:46%;}.elq-form .grid-style._75 {      width:71%;}.elq-form .grid-style._100 {      width:96%;  }</style>",
  "defaultKeyFieldMapping": {
    "type": "FormFieldUpdateMapping",
    "sourceFormFieldId": "361",
    "targetEntityFieldId": "100001"
  },
  "elements": [
    {
      "type": "FormFieldGroup",
      "id": "13",
      "depth": "complete",
      "name": "StarBoat Registration Form",
      "instructions": "",
      "style": "{\"textType\":\"header\",\"fieldSize\":\"large\",\"guid\":\"458B537B18ACAE11D710FBCF031E75CE\"}"
    },
    {
      "type": "FormField",
      "id": "361",
      "name": "Email Address",
      "instructions": "Email Address is mandatory",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"123F7A81ED022F9E9938A113F61439BC\"}",
      "createdFromContactFieldId": "100001",
      "dataType": "text",
      "displayType": "text",
      "fieldMergeId": "23",
      "htmlName": "emailAddress",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2491",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "IsRequiredCondition"
          },
          "isEnabled": "true",
          "message": "This field is required"
        },
        {
          "type": "FieldValidation",
          "id": "2492",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "IsEmailAddressCondition"
          },
          "isEnabled": "true",
          "message": "A valid email address is required"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "362",
      "name": "Title",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"C60D1397DC89B2D18D42FAEC4EC29018\"}",
      "createdFromContactFieldId": "100016",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "title",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2493",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2494",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2495",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "363",
      "name": "First Name",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"83CE0C20A8A22AB7C7275FD02BFE7EB9\"}",
      "createdFromContactFieldId": "100002",
      "dataType": "text",
      "displayType": "text",
      "fieldMergeId": "20",
      "htmlName": "firstName",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2496",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2497",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2498",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "364",
      "name": "Last Name",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"822D594DA8FA303A2238120797C5363F\"}",
      "createdFromContactFieldId": "100003",
      "dataType": "text",
      "displayType": "text",
      "fieldMergeId": "22",
      "htmlName": "lastName",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2499",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2500",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2501",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "365",
      "name": "Address 1",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"CE34A7044925A57BD26788BD4ADE622C\"}",
      "createdFromContactFieldId": "100006",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "address1",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2502",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2503",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2504",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "366",
      "name": "Address 2",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"7FAA0B6BDFF31E233515326F8352ADF3\"}",
      "createdFromContactFieldId": "100007",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "address2",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2505",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2506",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2507",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "367",
      "name": "Zip or Postal Code",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"BC956DFF1D9424DC654EB9984E8B6880\"}",
      "createdFromContactFieldId": "100011",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "zipPostal",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2508",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2509",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2510",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "368",
      "name": "Country",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"260621010D842233140A97737DB59FF5\"}",
      "createdFromContactFieldId": "100012",
      "dataType": "text",
      "displayType": "singleSelect",
      "fieldMergeId": "4",
      "htmlName": "country",
      "optionListId": "4",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2511",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2512",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "369",
      "name": "Business Phone",
      "instructions": "Business Phone is mandatory",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"2585D2949B8F474696D3CD71662B4391\"}",
      "createdFromContactFieldId": "100013",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "busPhone",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2513",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2514",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2515",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        },
        {
          "type": "FieldValidation",
          "id": "2516",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "IsRequiredCondition"
          },
          "isEnabled": "true",
          "message": "This field is required"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "370",
      "name": "Fax",
      "style": "{\"fieldSize\":\"large\",\"guid\":\"DC199F7974BE280AB64A44C0F362B5D4\"}",
      "createdFromContactFieldId": "100015",
      "dataType": "text",
      "displayType": "text",
      "htmlName": "fax",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        {
          "type": "FieldValidation",
          "id": "2517",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventUrlCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any URL's"
        },
        {
          "type": "FieldValidation",
          "id": "2518",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "PreventXSSCondition"
          },
          "isEnabled": "true",
          "message": "Value must not contain any HTML"
        },
        {
          "type": "FieldValidation",
          "id": "2519",
          "depth": "complete",
          "description": "Form Field Validation Rule",
          "name": "Form Field Validation Rule",
          "condition": {
            "type": "TextLengthCondition",
            "maximum": "35",
            "minimum": "0"
          },
          "isEnabled": "true",
          "message": "Invalid length for field value"
        }
      ]
    },
    {
      "type": "FormField",
      "id": "360",
      "name": "GO",
      "style": "{\"fieldSize\":\"large\",\"submitButtonStyleType\":\"standard\",\"guid\":\"A2A6EDD6022207653BD0EE7749ABF133\",\"submitButtonAlignStyle\":\"center\"}",
      "dataType": "text",
      "displayType": "submit",
      "htmlName": "submit",
      "useGlobalSubscriptionStatus": "False",
      "validations": [
        
      ]
    }
  ],
  "formJson": "{\"type\":\"responsiveForm\",\"version\":\"1\"}",
  "htmlName": "DemoDesignEditor",
  "isHidden": "false",
  "isResponsive": "true",
  "processingSteps": [
    {
      "type": "FormStepCreateUpdateContactFromFormField",
      "id": "243",
      "name": "Create / Update Contact, Prospect or Company",
      "execute": "always",
      "keyFieldId": "100001",
      "mappings": [
        {
          "type": "FormFieldUpdateMapping",
          "sourceFormFieldId": "370",
          "targetEntityFieldId": "100015",
          "updateType": "useFieldRule"
        }
      ]
    },
    {
      "type": "FormStepRedirectToWebPage",
      "id": "244",
      "name": "Redirect to Webpage",
      "execute": "always",
      "landingPageId": {
        "type": "ProcessingStepValueWithLookup",
        "constantValue": "7",
        "valueType": "constant"
      }
    }
  ],
  "processingType": "externalWebsite",
  "size": {
    "type": "Size",
    "width": "0",
    "height": "0"
  },
  "style": "{\"fieldSize\":\"medium\",\"labelPosition\":\"top\"}",
  "submitFailedLandingPageId": "6"
}
			

cURL Example

Here is the same example in cURL given an instance with the name APITest, username API.User, and POD of 3.


curl --user "APITest\API.User" --request GET https://secure.p03.eloqua.com/api/rest/2.0/assets/form/63
			
Back to Top