| OrderBy | required | string | 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\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{SegmentID}} | required | string | ID of the segment | \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| Status | string | 1 if successful, -1 if error | \r\nUpdate Segment\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{SegmentID}} | required | string | ID of the segment | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| Data | optional | Deletes an existing segment\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| required | {{SegmentID}} | string | ID of the segment | \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| status | string | 1 if successful, -1 if error | \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\nURL Parameters\n\n\n\n| Key | Required | Type | Description | \n\n\n| {{SegmentID}} | required | string | ID of the segment | \n\n \n\nQuery String Parameters\n\n\n\n| Key | Required | Type | Description | \n\n\n| PageNumber | optional | int | Page Number | \nPageSiz"
},
{
"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\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \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| Status | string | 1 if successful, -1 if error | \r\nCreate a new Segments Criteria\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{SegmentID}} | required | string | ID of the segment | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| Criteria | required | <"
},
{
"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\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{SegmentID}} | required | string | ID of the segment | \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| Status | string | 1 if successful, -1 if error | \r\nErrorData"
},
{
"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\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \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| Status | string | 1 if successful, -1 if error | \r\n| Count | Get download segment data\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | IDs of the segment | \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| Status | string | 1 if successful, -1 error | \r\n| Segment"
}
]
}
],
"bundled": true
} | | | | | | |