Retrieves all reports that match a query based on the report name, description, or data source name.
Reports are not required to have unique names or descriptions and so this search will typically return many report matches because of matches from multiple fields unless you specify a unique query keyword.
Optionally you can specify sorting on either the name
or the updated_on
fields.
The search is automatically limited to the first 50 results. If you want to query for the next 50, you have to set the searchStart
parameter to 50 and submit another request to get the next 50 results.
query required | string The query parameter value sets the search string used to search through all report names, data source names, and descriptions. The value
|
orderBy | string Sorts the results by |
searchStart | string Skips and excludes a specified number of reports from the query. |
namespace | string Specifies whether to use Search by Report Name with Insights Analysis. Set this parameter to ADVANCED to use Search by Report Name with Insights Analysis. Contact Zuora Global Support if you would like to use the Reporting API with Insights Analysis. |
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization required | string The value is in the |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you do not need to set this header. |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
OK
{- "success": true,
- "response": {
- "reports": [
- {
- "createdBy": "2c92c0f956bc8fcb0156f8eee04b4d54",
- "updatedBy": "2c92c0f956bc8fcb0156f8eee04b4d54",
- "createdOn": "2018-04-13T01:52:10+0000",
- "updatedOn": "2018-04-13T01:52:10+0000",
- "id": "ff8080816293d35b0162bcb3e7780a75",
- "deleted": false,
- "name": "Customer report",
- "number": "REP0000007",
- "type": "Common",
- "datasource": "Account",
- "dsName": "Account",
- "namespace": "BASIC",
- "definition": "...",
- "userId": "2c92c0f956bc8fcb0156f8eee04b4d54",
- "creator": "user@example.com",
- "updater": "user@example.com",
- "favorite": false,
- "shared": true,
- "zuora": false,
- "hidden": false
}
], - "count": 1
}
}