{
"opencollection": "1.0.0",
"info": {
"name": "Marketo Engage Rest Approve Smart Lists API",
"version": "1.0"
},
"items": [
{
"info": {
"name": "Smart Lists",
"type": "folder"
},
"items": [
{
"info": {
"name": "Marketo Get Smart List by Id",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://localhost:8080/rest/asset/v1/smartList/:id.json",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of the smart list to retrieve"
},
{
"name": "includeRules",
"value": "",
"type": "query",
"description": "Set true to populate smart list rules. Default false"
}
]
},
"docs": "Retrieves a Smart List record by its id. Required Permissions: Read-Asset or Read-Write Asset"
},
{
"info": {
"name": "Marketo Delete Smart List",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://localhost:8080/rest/asset/v1/smartList/:id/delete.json",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of the smart list to delete"
}
]
},
"docs": "Deletes the designated Smart List. Required Permissions: Read-Write Asset"
},
{
"info": {
"name": "Marketo Get Smart Lists",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://localhost:8080/rest/asset/v1/smartLists.json",
"params": [
{
"name": "folder",
"value": "",
"type": "query",
"description": "JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'"
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "Integer offset for paging"
},
{
"name": "maxReturn",
"value": "",
"type": "query",
"description": "Maximum number of smart lists to return. Max 200, default 20."
},
{
"name": "earliestUpdatedAt",
"value": "",
"type": "query",
"description": "Exclude smart lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description."
},
{
"name": "latestUpdatedAt",
"value": "",
"type": "query",
"description": "Exclude smart lists after this date. Must be valid ISO-8601 string. See Datetime field type description."
}
]
},
"docs": "Retrieves a list of user created Smart List records. Required Permissions: Read-Asset or Read-Write Asset"
},
{
"info": {
"name": "Marketo Clone Smart List",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://localhost:8080/rest/asset/v1/smartList/:id/clone.json",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of smart list to clone"
}
],
"body": {
"type": "form-urlencoded",
"data": []
}
},
"docs": "Clones the designated Smart List. Required Permissions: Read-Write Asset"
}
]
}
],
"bundled": true
}