{ "opencollection": "1.0.0", "info": { "name": "Marketo Engage Rest Approve Page API", "version": "1.0" }, "items": [ { "info": { "name": "Page", "type": "folder" }, "items": [ { "info": { "name": "Marketo Get Landing Page by Name", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/byName.json", "params": [ { "name": "name", "value": "", "type": "query", "description": "Name of the landing page" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" }, { "name": "maxReturn", "value": "", "type": "query", "description": "Maximum number of channels to return. Max 200, default 20" }, { "name": "offset", "value": "", "type": "query", "description": "Integer offset for paging" } ] }, "docs": "Returns the landing page record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page by Id", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/: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 the landing record for the given id. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Metadata", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates the metadata for the targe landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Approve Landing Page Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/approveDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Approves the current draft of the landing page. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Clone Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/clone.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Clones the target landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Content", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" } ] }, "docs": "Retrieves the list of content sections in the target landing page. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Add Landing Page Content Section", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Adds a content section to the target landing page. Parameters must be sent as application/x-www-form-urlencoded (not JSON). Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Content Section", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content/:contentId.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of landing page" }, { "name": "contentId", "value": "", "type": "path", "description": "Id of landing page content section" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates a content section the landing page. Parameters must be sent as application/x-www-form-urlencoded (not JSON). Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Delete Landing Page Content Section", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/content/:contentId/delete.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of landing page" }, { "name": "contentId", "value": "", "type": "path", "description": "Id of landing page content section" } ] }, "docs": "Removes the target content section from the parent landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Delete Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/delete.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Deletes the target landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Discard Landing Page Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/discardDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Discards the current draft of the landing page. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Dynamic Content", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/dynamicContent/:contentId.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of landing page" }, { "name": "contentId", "value": "", "type": "path", "description": "Id of landing page dynamic content section" } ] }, "docs": "Retrieves the dynamic content from the target section. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Dynamic Content Section", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/dynamicContent/:contentId.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the landing page" }, { "name": "contentId", "value": "", "type": "path", "description": "Id of the landing page dynamic content" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates the content of the target dynamic content section. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Unapprove Landing Page", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/unapprove.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Unapproves the landing page, reverting it to a draft-only state. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Update Landing Page Variable", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/variable/:variableId.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "variableId", "value": "", "type": "path", "description": "variableId" }, { "name": "value", "value": "", "type": "query", "description": "New value of the variable" } ] }, "docs": "Updates the value of the given variable. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Variables", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/variables.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the landing page" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" } ] }, "docs": "Marketo Get Landing Page Variables" }, { "info": { "name": "Marketo Get Landing Page Template by Name", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/byName.json", "params": [ { "name": "name", "value": "", "type": "query", "description": "Name of the landing page template" } ] }, "docs": "Retrieves the landing page template record for the given name. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Template by Id", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" } ] }, "docs": "Retrieves the record for the target landing page template. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Template Metadata", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates the metadata for the target landing page template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Approve Landing Page Template Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/approveDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Approves the current landing page template draft. This will delete the current approved version of the template if there is one. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Clone Landing Page Template", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/clone.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Clones the target landing page template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Template Content", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/content.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" } ] }, "docs": "Retrieves the content of the target landing page. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Update Landing Page Template Content", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/content.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "multipart-form", "data": [ { "name": "content", "type": "text", "value": "" } ] } }, "docs": "Updates the content for the target landing page template. This update is destructive for the draft version of the template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Delete Landing Page Template", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/delete.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Deletes the target landing page template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Discard Landing Page Template Draft", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/discardDraft.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Discrads the current draft of the landing page template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Unapprove Landing Page Template", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplate/:id/unapprove.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ] }, "docs": "Unapproves the landing page template and reverts it to a draft-only state. Required Permissions: Approve Assets" }, { "info": { "name": "Marketo Get Landing Page Templates", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplates.json", "params": [ { "name": "maxReturn", "value": "", "type": "query", "description": "Maximum number of channels to return. Max 200, default 20" }, { "name": "offset", "value": "", "type": "query", "description": "Integer offset for paging" }, { "name": "status", "value": "", "type": "query", "description": "Status filter for draft or approved versions" }, { "name": "folder", "value": "", "type": "query", "description": "JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'" } ] }, "docs": "Retrieves the list of accessible landing page templates from the target instance. Required Permissions: Read-Only Assets, Read-Write Assets" }, { "info": { "name": "Marketo Create Landing Page Template", "type": "http" }, "http": { "method": "POST", "url": "https://localhost:8080/rest/asset/v1/landingPageTemplates.json", "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Creates a new landing page template. Required Permissions: Read-Write Assets" }, { "info": { "name": "Marketo Get Landing Page Full Content", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPage/:id/fullContent.json", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id of the landing page." }, { "name": "leadId", "value": "", "type": "query", "description": "The lead id to impersonate. Landing page is rendered as though it was viewed by this lead." }, { "name": "segmentation", "value": "", "type": "query", "description": "JSON array of of segmentations. Each segmentation must be a JSON object with members 'segmentationId', and 'segmentId'.
Example: [{\"segmentationId\":1030,\"segmentId\":1103}]" } ] }, "docs": "Returns the serialized HTML version of the landing page. Required Permissions: Read-Only Assets, Read-Write Assets. If leadId is passed in the request: Read-Only Lead, Read-Write Lead." }, { "info": { "name": "Marketo Get Landing Page Domains", "type": "http" }, "http": { "method": "GET", "url": "https://localhost:8080/rest/asset/v1/landingPageDomains.json", "params": [ { "name": "maxReturn", "value": "", "type": "query", "description": "Maximum number of landing page domains and domain aliases to return. Max 200, default 20" }, { "name": "offset", "value": "", "type": "query", "description": "Integer offset for paging" } ] }, "docs": "Retrieves a list of landing page domain and domain aliases. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules" } ] } ], "bundled": true }