{
"opencollection": "1.0.0",
"info": {
"name": "Bench AccountActivities AccountGroupings API",
"version": "1.0"
},
"items": [
{
"info": {
"name": "AccountGroupings",
"type": "folder"
},
"items": [
{
"info": {
"name": "Gets the groupings for the given account",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://bench.gobridgit.com/rp/api/v1/accounts/:accountId/groupings",
"params": [
{
"name": "accountId",
"value": "",
"type": "path",
"description": "The Account ID"
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "Offset for pagination"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Maximum number of results in the resultset"
}
]
},
"docs": "
Permissions
Account: Read"
},
{
"info": {
"name": "Adds a grouping on the given account.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://bench.gobridgit.com/rp/api/v1/accounts/:accountId/groupings",
"params": [
{
"name": "accountId",
"value": "",
"type": "path",
"description": "The Account ID"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "
Permissions
Account: Write"
},
{
"info": {
"name": "Gets the the specified grouping for the given account by ID",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://bench.gobridgit.com/rp/api/v1/accounts/:accountId/groupings/:id",
"params": [
{
"name": "accountId",
"value": "",
"type": "path",
"description": "The Account ID"
},
{
"name": "id",
"value": "",
"type": "path",
"description": "The grouping's ID"
}
]
},
"docs": "
Permissions
Account: Read"
},
{
"info": {
"name": "Updates a grouping for the given account",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://bench.gobridgit.com/rp/api/v1/accounts/:accountId/groupings/:id",
"params": [
{
"name": "accountId",
"value": "",
"type": "path",
"description": "The Account ID"
},
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of the grouping to update"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "
Permissions
Account: Write"
},
{
"info": {
"name": "Deletes a grouping from the given account",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://bench.gobridgit.com/rp/api/v1/accounts/:accountId/groupings/:id",
"params": [
{
"name": "accountId",
"value": "",
"type": "path",
"description": "The Account ID"
},
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of the grouping to remove"
}
]
},
"docs": "
Permissions
Account: Write"
}
]
}
],
"bundled": true
}