{
  "opencollection": "1.0.0",
  "info": {
    "name": "Marketo Engage Rest Approve Email  Templates API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Email  Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Marketo Get Email Template by Name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/byName.json",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "name"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Retrieves and email template record by the given name. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Template by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Returns an email template record by its id. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Email Template Metadata",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Updates the metadata for the designated email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Approve Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/approveDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Approves the current draft of the email template. Required Permissions: Approve Assets"
        },
        {
          "info": {
            "name": "Marketo Clone Email Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/clone.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Clones the designated email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Update Email Template Content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/content.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Updates the content of the given email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Delete Email Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/delete.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Deletes the designated email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Discard Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/discardDraft.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Discards the current draft of the email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Unapprove Email Template Draft",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplate/:id/unapprove.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Unapproves the current approved version of the Email Template. Required Permissions: Approve Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplates.json",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Integer offset for paging"
              },
              {
                "name": "maxReturn",
                "value": "",
                "type": "query",
                "description": "Maximum number of channels to return. Max 200, default 20"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status filter for draft or approved versions"
              }
            ]
          },
          "docs": "Returns a list of email template records accessible in the target instance. Required Permissions: Read-Only Assets, Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Create Email Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplates.json",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Creates a new email template. Required Permissions: Read-Write Assets"
        },
        {
          "info": {
            "name": "Marketo Get Email Template Used By",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8080/rest/asset/v1/emailTemplates/:id/usedBy.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the email template"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Integer offset for paging"
              },
              {
                "name": "maxReturn",
                "value": "",
                "type": "query",
                "description": "Maximum number of channels to return. Max 200, default 20"
              }
            ]
          },
          "docs": "Returns a list of email records which depend on a given email template. Required Permissions: Read-Only Assets, Read-Write Assets"
        }
      ]
    }
  ],
  "bundled": true
}