SortOrder'
/Archive/:
post:
tags:
- Archive
summary: Adding an email to archive
operationId: post__archive
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Add an email to archive page\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| EmailID | \r\nRequired | \r\nID of the Email which want to add as archive | \r\n \r\n\r\n \r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Return value | String | 1 if su"
requestBody:
content:
application/json:
schema:
type: object
patch:
tags:
- Archive
summary: Update archive home page data
operationId: patch__archive
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Update archieve home page data like Page Title ,logo,header,footer etc\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nType | \r\n \r\n\r\n\r\n\r\n| data | \r\nRequired | \r\nArchiveHomePageData | \r\n \r\n\r\n \r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description"
requestBody:
content:
application/json:
schema:
type: object
/Archive/{ID}:
delete:
tags:
- Archive
summary: Delete email from archive
operationId: delete__archive__id
parameters:
- name: ID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Delete an email from archive\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| {{ID}} | \r\nRequired | \r\nArchive ID | \r\n \r\n\r\n \r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Return value | String | 1 if success, -1 if error | \r\n\r\n "
/Archive/Domain:
get:
tags:
- Archive
summary: Get details about Archive Page
operationId: get__archive_domain
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: 'Getting details about Archive Page
Response body parameters
| Key | Type | Description |
| ArchiveURL | String | Archive URL |
| Share | String | Share |
| SharePanel | String | Share Panel |
| Domain | String | Domain |
| ArchiveRootURL | String | Archive Root URL |
| Image | String | '
/Archive/AddDomain:
post:
tags:
- Archive
summary: Adding or Updating archive domain
operationId: post__archive_adddomain
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Add / Update archive domain\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| Domain | \r\nRequired | \r\nName of the Archive Domain | \r\n \r\n\r\n "
requestBody:
content:
application/json:
schema:
type: object
/Archive/{mode}:
get:
tags:
- Archive
summary: Get HTML for button
operationId: get__archive__mode
parameters:
- name: mode
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: 'Get HTML for button
URL Parameters
| Key |
Required |
Description |
| {{Mode}} |
Required |
ID of the button selected for archive(eg. 1,2,3,4,5,6,1000 etc) |
Response body parameters
| Key |
Type |
Description |
| Code |
String |
HTML of button |
| ArchiveURL |
S'
/Archive/Image/{mode}:
get:
tags:
- Archive
summary: Get image for button
operationId: get__archive_image__mode
parameters:
- name: mode
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: 'Get HTML for button
URL Parameters
| Key |
Required |
Description |
| {{Mode}} |
Required |
ID of the button selected for archive(eg. 1,2,3,4,5,6,1000 etc) |
Response body parameters
| Key |
Type |
Description |
| Image |
String |
URL of the image |
| Status |
In'
/Archive/ArchivePages:
get:
tags:
- Archive
summary: Getting list of archive pages
operationId: get__archive_archivepages
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: 'Response body parameters
| Key |
Type |
Description |
| Count |
Int |
Count of the archive pages |
| Status |
String |
1 if success, -1 if error |
| HideThumbnail |
String |
Whether the thumbnail should be hidden or not |
| ArchiveIDs |
String |
Comma separated list of archive IDs |
| Data |
<'
/Archive/AddArchiveHome:
post:
tags:
- Archive
summary: Update the Archive Home Page
operationId: post__archive_addarchivehome
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Update the Archive Home Page\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| SelArchiveIDs | \r\nRequired | \r\nID of the Email which want to add as archive | \r\n \r\n\r\n| Vieworders | \r\nRequired | \r\nview order for email | \r\n \r\n\r\n| chkHide | \r\nRequired | \r\ninclude thumbnail or not either true or false | \r\n \r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Status | String | 1 if success, -1 if error | \r\n| Data | ArchiveHomePageData | Array | \r\n\r\n "
/Archive/{ArchiveID}/Detail:
get:
tags:
- Archive
summary: Get the details of archive email
operationId: get__archive__archiveid__detail
parameters:
- name: ArchiveID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: 'Get the details of archive email which id is pass
URL Parameters
| Key |
Required |
Description |
| {{ArchiveID}} |
Required |
Archive ID |
Response body parameters
| Key |
Type |
Description |
| ArchiveRootURL |
String |
Archive main URL |
| EmailID |
String | Body Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nType | \r\n \r\n\r\n\r\n\r\n| ArchiveID | \r\nRequired | \r\nArchive ID | \r\n \r\n\r\n| data | \r\nRequired | \r\nArchiveData | \r\n \r\n\r\n \r\nResponse body parameters\r\n\r\n\r\n"
requestBody:
content:
application/json:
schema:
type: object
/Archive/ArchiveHome/{Domain}/{Type}:
get:
tags:
- Archive
summary: Get Archive Home Data
operationId: get__archive_archivehome__domain___type
parameters:
- name: Domain
in: path
required: true
schema:
type: string
- name: Type
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Get the details of archive email which id is pass\r\n\r\nURL Parameters\r\n\r\n\r\n| Key | Required | Description | \r\n\r\n\r\n| Domain | Required | Archive Domain | \r\n| Type | Required | Type\r\nHome - Home\r\nImage - Image | \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n<"
/Archive/ArchiveEmail/{Domain}:
post:
tags:
- Archive
summary: Get HTML for Archive Newsletter
operationId: post__archive_archiveemail__domain
parameters:
- name: Domain
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Get HTML for Archive Newsletter\r\n\r\nURL Parameters\r\n\r\n\r\n| Key | Required | Description | \r\n\r\n\r\n| Domain | Required | Archive Domain | \r\n\r\n \r\n\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n| Key | Required | Description | \r\n\r\n\r\n| ArchiveURL | Required | Archive URL | \r\n| Archive ID | "
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: AuthToken
description: API token obtained from https://ui.benchmarkemail.com/Integrate#API
| | | | | |