Boomi Platform API Reference (1.0.0) - DocumentCountAccountGroup
The Document Count Account Group object represents accessible data that corresponds to the data through the Document Count gadget in the Account Dashboard.
This data is the total number of documents processed across all accounts in an account group on a particular date. The calculation of the document count is done by adding the total number of inbound documents and the total number of outbound documents. QUERY operations retrieve this data as XML by default. After retrieving the documents, you can import the data into a reporting tool for analysis.
Note: Retrieved document counts are raw data that might differ from the counts reported by the Document Count gadget.
Required Privileges
Write access
- N/A
Read access
- API — Use the Boomi Platform API to access account data.
- DASHBOARD — Access the integration account dashboards.
Queries for a DocumentCountAccountGroup object(s)
- You can use the EQUALS operator only with the
accountGroupIdfilter parameter. - The authenticating user for a QUERY operation must have the Dashboard privilege.
For general information about the structure of QUERY filters, their sample payloads, and how to handle the paged results, refer to Query filters and Query paging.
Authorizations:
Request Body schema: optional
Possible properties include: accountGroupId, processDate
required | object | ||||||||||
| |||||||||||
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (DocumentCountAccountGroup) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "operator": "and",
- "nestedExpression": [
- {
- "argument": [
- "fedcba98-7654-3210-fedc-ba9876543210"
], - "operator": "EQUALS",
- "property": "accountGroupId"
}, - {
- "argument": [
- "2016-05-01",
- "2016-08-31"
], - "operator": "BETWEEN",
- "property": "processDate"
}
]
}
}
}Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 100,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "DocumentCountAccountGroup",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "accountId": "account-123456",
- "date": "2016-05-14",
- "value": 43133
}, - {
- "@type": "DocumentCountAccountGroup",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "accountId": "account-123456",
- "date": "2016-08-21",
- "value": 2599
}
]
}Retrieves additional results for a DocumentCountAccountGroup query
To learn about using queryMore, refer to the topic Query paging.
Authorizations:
Request Body schema: text/plainrequired
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (DocumentCountAccountGroup) |
Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 100,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "DocumentCountAccountGroup",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "accountId": "account-123456",
- "date": "2016-05-14",
- "value": 43133
}, - {
- "@type": "DocumentCountAccountGroup",
- "atomId": "3456789a-bcde-f0123-4567-89abcdef012",
- "accountId": "account-123456",
- "date": "2016-08-21",
- "value": 2599
}
]
}