REST API - Email Headers

Version 2

    The REST API supports create, update, retrieve and delete operations for Email Headers.

     

    Accessing Email Headers

    • GET     /assets/email/header/{id}?depth={depth}

     

    Response

    The response for this call looks as follows :

     

    {
      "type": "EmailHeader",
      "id": "29",
      "createdAt": "1323382631",
      "createdBy": "126",
      "depth": "complete",
      "folderId": "314",
      "name": "Eloqua header",
      "permissions": "fullControl",
      "updatedAt": "1353508276",
      "updatedBy": "149",
      "body": "<div align=\"center\"><img src=\"http:\/\/img.en25.com\/EloquaImages\/clients\/FSTest\/EloquaLogo_BottomTag_250w.png\"><br><\/div>",
      "text": ""
    }
    

     

    Properties

     

    Name

    Type

    Description

    Notes

    Validations

    type"EmailHeader"
    bodyString
    fieldMergesList of FieldMergeReadOnly
    hyperlinksList of HyperlinkReadOnly
    textstring
    accessedAtintegerDateRequirement
    createdAtintegerReadOnlyDateRequirement
    createdByintegerReadOnlyIdRequirement
    currentStatusstring
    depthRequestDepthEnumRequirement
    descriptionstring
    folderIdintegerIdRequirement
    idintegerThe unique identifier for the Email HeaderIdRequirement
    namestring
    permissionsInstance
    Permissions
    EnumRequirement
    updatedAtintegerReadOnlyDateRequirement
    updatedByintegerReadOnlyIdRequirement

     

    Related Operations

    • POST :  /assets/email/header
    • PUT :  /assets/email/header/{id}
    • DELETE :  /assets/email/header/{id}
    • GET (list) :  /assets/email/headers?depth={depth}&count={count}&page={page}&search={search}&orderBy={orderBy}&lastUpdatedAt={lastUpdatedAt}

     

    We hope that you find this helpful and please let us know if you need more information.

     

    Thanks,

    Fred