{ "opencollection": "1.0.0", "info": { "name": "Benchmark Email RESTful API v3.0 ABTest Creation Archive API", "version": "3.0.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Archive", "type": "folder" }, "items": [ { "info": { "name": "Get a list of emails for archive", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive", "params": [ { "name": "PageNumber", "value": "", "type": "query" }, { "name": "PageSize", "value": "", "type": "query" }, { "name": "Filter", "value": "", "type": "query" }, { "name": "OrderBy", "value": "", "type": "query" }, { "name": "SortOrder", "value": "", "type": "query" } ] }, "docs": "Get a list of emails for archive\n

Query String Parameter :

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyRequiredDescription
PageNumberoptionalPage Number
PageSizeoptionalNumber of records to show per page
FilteroptionalFilter for archive name
OrderByoptionalThe column to sort on
SortOrderBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
EmailIDRequiredID of the Email which want to add as archive
\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyTypeDescription
Return valueString1 if su" }, { "info": { "name": "Update archive home page data", "type": "http" }, "http": { "method": "PATCH", "url": "https://clientapi.benchmarkemail.com/Archive/", "body": { "type": "json", "data": "{}" } }, "docs": "Update archieve home page data like Page Title ,logo,header,footer etc\r\n

Body Parameters (to be encoded as a JSON string)

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredType
dataRequiredArchiveHomePageData
\r\n

Response body parameters

\r\n\r\n\r\n\r\n
KeyTypeDescriptionURL Parameters\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
{{ID}}RequiredArchive ID
\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyTypeDescription
Return valueString1 if success, -1 if error
" }, { "info": { "name": "Get details about Archive Page", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/Domain" }, "docs": "Getting details about Archive Page\n

Response body parameters

\n\n\n\n\n\n\n\n\n\n\n\n" }, { "info": { "name": "Adding or Updating archive domain", "type": "http" }, "http": { "method": "POST", "url": "https://clientapi.benchmarkemail.com/Archive/AddDomain", "body": { "type": "json", "data": "{}" } }, "docs": "Add / Update archive domain\r\n

Body Parameters (to be encoded as a JSON string)

\r\n
KeyTypeDescription
ArchiveURLStringArchive URL
ShareStringShare
SharePanelStringShare Panel
DomainStringDomain
ArchiveRootURLStringArchive Root URL
ImageString
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
DomainRequiredName of the Archive Domain
" }, { "info": { "name": "Get HTML for button", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/:mode", "params": [ { "name": "mode", "value": "", "type": "path" } ] }, "docs": "Get HTML for button\n

URL Parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyRequiredDescription
{{Mode}}RequiredID of the button selected for archive(eg. 1,2,3,4,5,6,1000 etc)
\n\n

Response body parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyTypeDescription
CodeStringHTML of button
ArchiveURLS" }, { "info": { "name": "Get image for button", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/Image/:mode", "params": [ { "name": "mode", "value": "", "type": "path" } ] }, "docs": "Get HTML for button\n

URL Parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyRequiredDescription
{{Mode}}RequiredID of the button selected for archive(eg. 1,2,3,4,5,6,1000 etc)
\n\n

Response body parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyTypeDescription
ImageStringURL of the image
StatusIn" }, { "info": { "name": "Getting list of archive pages", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/ArchivePages" }, "docs": "

Response body parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyTypeDescription
CountIntCount of the archive pages
StatusString1 if success, -1 if error
HideThumbnailStringWhether the thumbnail should be hidden or not
ArchiveIDsStringComma separated list of archive IDs
Data<" }, { "info": { "name": "Update the Archive Home Page", "type": "http" }, "http": { "method": "POST", "url": "https://clientapi.benchmarkemail.com/Archive/AddArchiveHome", "body": { "type": "json", "data": "{}" } }, "docs": "Update the Archive Home Page\r\n

Body Parameters (to be encoded as a JSON string)

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nResponse body parameters\r\n
KeyRequiredDescription
SelArchiveIDsRequiredID of the Email which want to add as archive
ViewordersRequiredview order for email
chkHideRequiredinclude thumbnail or not either true or false
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyTypeDescription
StatusString1 if success, -1 if error
DataArchiveHomePageDataArray
" }, { "info": { "name": "Get the details of archive email", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/:ArchiveID/Detail", "params": [ { "name": "ArchiveID", "value": "", "type": "path" } ] }, "docs": "Get the details of archive email which id is pass\n

URL Parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyRequiredDescription
{{ArchiveID}}RequiredArchive ID
\n\n

Response body parameters

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
KeyTypeDescription
ArchiveRootURLStringArchive main URL
EmailIDStringBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredType
ArchiveIDRequiredArchive ID
dataRequiredArchiveData
\r\n

Response body parameters

\r\n\r\n\r\n" }, { "info": { "name": "Get Archive Home Data", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Archive/ArchiveHome/:Domain/:Type", "params": [ { "name": "Domain", "value": "", "type": "path" }, { "name": "Type", "value": "", "type": "path" } ] }, "docs": "

Get the details of archive email which id is pass

\r\n\r\n

URL Parameters

\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
DomainRequiredArchive Domain
TypeRequiredType\r\nHome - Home\r\nImage - Image
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n<" }, { "info": { "name": "Get HTML for Archive Newsletter", "type": "http" }, "http": { "method": "POST", "url": "https://clientapi.benchmarkemail.com/Archive/ArchiveEmail/:Domain", "params": [ { "name": "Domain", "value": "", "type": "path" } ] }, "docs": "

Get HTML for Archive Newsletter

\r\n\r\n

URL Parameters

\r\n
KeyTypeDescription
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
DomainRequiredArchive Domain
\r\n\r\n

Body Parameters (to be encoded as a JSON string)

\r\n\r\n\r\n\r\n\r\n\r\n\r\n" } ] } ], "bundled": true }
KeyRequiredDescription
ArchiveURLRequiredArchive URL
Archive ID