Retrieve a content section

get

/api/REST/1.0/assets/contentSection/{id}

Retrieves a content section 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 : ContentSection
Type: object
Title: ContentSection
Show Source
Nested Schema : forms
Type: array
A list of associated Form assets.
Show Source
Nested Schema : images
Type: array
A list of associated Image assets.
Show Source
Nested Schema : Size
Type: object
Title: Size
Show Source
Nested Schema : Form
Type: object
Title: Form
Show Source
Nested Schema : elements
Type: array
Array consisting of form elements.
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, FormStepWebTracking, FormStepGlobalSubscribe, and FormStepSmsPhoneNumberOptInOptOut.
Show Source
Nested Schema : FormElement
Type: object
Title: FormElement
Show Source
Nested Schema : FormProcessingStep
Type: object
Title: FormProcessingStep
Show Source
Nested Schema : Hyperlink
Type: object
Title: Hyperlink
Show Source
Nested Schema : ImageFile
Type: object
Title: ImageFile
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

Retrieve the content section asset with Id #2:


GET /api/REST/1.0/assets/contentSection/2?depth=complete
			

Response:


{
    "type":"ContentSection",
    "id":"5",
    "createdAt":"1402929831",
    "createdBy":"10",
    "depth":"complete",
    "folderId":"320",
    "name":"BP - Right Column Top (No Theme)",
    "updatedAt":"1402929831",
    "updatedBy":"10",
    "contentHtml":"<table><tr><td>Example text.</td></tr></table>",
    "contentText":"Example text.",
    "forms":[],
    "hyperlinks":[],
    "images":[
        {
            "type":"ImageFile",
            "currentStatus":"unmatched",
            "id":"-1",
            "name":"image.jpg",
            "fullImageUrl":"image.jpg"
        }
    ],
    "scope":"global",
    "size":{
        "type":"Size",
        "width":"0",
        "height":"0"
    }
}
			
Back to Top