Retrieve an email header

get

/api/REST/1.0/assets/email/header/{id}

Retrieves the email header 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 : EmailHeader
Type: object
Title: EmailHeader
Show Source
Nested Schema : fieldMerges
Type: array
A list of associated Field Merges.
Show Source
Nested Schema : FieldMerge
Type: object
Title: FieldMerge
Show Source
Nested Schema : Hyperlink
Type: object
Title: Hyperlink
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 email header asset with Id #11:


GET /api/REST/1.0/assets/email/header/11?depth=complete
			

Response:


{
    "type":"EmailHeader",
    "id":"11",
    "depth":"complete",
    "folderId":"1",
    "name":"Default Email Header",
    "permissions":"fullControl",
    "updatedAt":"1243267870",
    "body":"<TABLE width="550" class="emailheader" align="center"><TBODY><TR><TD align="middle"><FONT face="Arial" size="1">Header text.</FONT></TD></TR></TBODY></TABLE>",
    "fieldMerges":[],
    "hyperlinks":[],
    "text":"Header text."
}
			
Back to Top