{ "opencollection": "1.0.0", "info": { "name": "Benchmark Email RESTful API v3.0 ABTest Creation Segments API", "version": "3.0.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Segments", "type": "folder" }, "items": [ { "info": { "name": "Creating segment from contact IDs", "type": "http" }, "http": { "method": "POST", "url": "https://clientapi.benchmarkemail.com/Contact/:ListID/Segments", "params": [ { "name": "ListID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "

Creates segment from contact IDs

\r\n

URL Parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredDescription
{{ListID}}requiredID of the list
\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" }, { "info": { "name": "Getting a list of segments", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Contact/Segments" }, "docs": "

Get Segments

\r\n\r\n\r\n

Query String parameters

\r\n
KeyRequiredDescription
ContactIDsrequiredIDs of the contacts to be inserted
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
PageNumberoptionalint Page Number
PageSizerequiredint Number of rows on the page
Filterrequiredstring Filter value
OrderByrequiredstring Order By Column (" }, { "info": { "name": "Get segment by ID", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Contact/Segments/:SegmentID", "params": [ { "name": "SegmentID", "value": "", "type": "path" } ] }, "docs": "

Get an existing segment by ID

\r\n

URL Parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{SegmentID}}requiredstringID of the segment
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nUpdate Segment\r\n

URL Parameters

\r\n
KeyTypeDescription
Statusstring1 if successful, -1 if error
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{SegmentID}}requiredstringID of the segment
\r\n\r\n

Body Parameters (To be passed as a JSON string)

\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
DataoptionalDeletes an existing segment\r\n

URL Parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
required{{SegmentID}}stringID of the segment
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n" }, { "info": { "name": "Get Segment Details", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Contact/Segments/:SegmentID/SegmentDetails", "params": [ { "name": "SegmentID", "value": "", "type": "path" }, { "name": "PageNumber", "value": "", "type": "query" }, { "name": "PageSize", "value": "", "type": "query" }, { "name": "OrderBy", "value": "", "type": "query" }, { "name": "SortOrder", "value": "", "type": "query" }, { "name": "SearchFilter", "value": "", "type": "query" }, { "name": "SearchType", "value": "", "type": "query" }, { "name": "SearchField", "value": "", "type": "query" } ] }, "docs": "

Get Segment Details

\n

URL Parameters

\n
KeyTypeDescription
statusstring1 if successful, -1 if error
\n\n\n\n\n\n\n\n
KeyRequiredTypeDescription
{{SegmentID}}requiredstringID of the segment
\n\n

Query String Parameters

\n\n\n\n\n\n\n\n
KeyRequiredTypeDescription
PageNumberoptionalintPage Number
PageSiz" }, { "info": { "name": "Get Segment Auto Generate Name", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Contact/Segments/Name/:ListID", "params": [ { "name": "ListID", "value": "", "type": "path" } ] }, "docs": "

Get Segment Auto Generate Name

\r\n

URL Parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{ListID}}requiredstringID of the list
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nCreate a new Segments Criteria\r\n

URL Parameters

\r\n
KeyTypeDescription
Statusstring1 if successful, -1 if error
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{SegmentID}}requiredstringID of the segment
\r\n\r\n

Body Parameters (To be passed as a JSON string)

\r\n\r\n\r\n\r\n\r\n\r\n\r\n<" }, { "info": { "name": "Delete the Segment Criteria", "type": "http" }, "http": { "method": "DELETE", "url": "https://clientapi.benchmarkemail.com/Contact/Segments/:SegmentID/Criteria", "params": [ { "name": "SegmentID", "value": "", "type": "path" } ] }, "docs": "

Delete Segment

\r\n

URL Parameters

\r\n
KeyRequiredTypeDescription
Criteriarequired
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{SegmentID}}requiredstringID of the segment
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyTypeDescription
Statusstring1 if successful, -1 if error
ErrorData" }, { "info": { "name": "Get Segment List", "type": "http" }, "http": { "method": "GET", "url": "https://clientapi.benchmarkemail.com/Contact/:ListID/SegmentLists", "params": [ { "name": "ListID", "value": "", "type": "path" } ] }, "docs": "

Get Segment List

\r\n

URL Parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{ListID}}requiredstringID of the list
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nGet download segment data\r\n

URL Parameters

\r\n
KeyTypeDescription
Statusstring1 if successful, -1 if error
Count
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyRequiredTypeDescription
{{ID}}requiredstringIDs of the segment
\r\n\r\n

Response body parameters

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
KeyTypeDescription
Statusstring1 if successful, -1 error
Segment" } ] } ], "bundled": true }