GET /datainsights/v1.1/stock_reports
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
The difference between start of the data and the start of the response data
The maximum number of results in the response
Sort stock_reports
Filter by Report IDs
Filter by Stock Report title
Filter by Report description
Dataset IDs
Flag to determine if response should include all cloudbeds reports, regardless of property access. Restricted by permission. Bad request exception if used with property_country_only.
Flag to determine if response should only include stock reports that are specified to the property country, stock reports without a designated country will not be included. Bad request exception if used with include_cloudbeds.
Filter by Folder IDs
Headers
Property id of the client
Response
OK
Example response
{
"limit": 5,
"total": 42,
"stock_reports": [
{
"title": "Report title",
"description": "Report description",
"dataset_id": 1,
"rules": {
"feature_ids": [
"1"
],
"country_codes": [
"US"
]
},
"published": true,
"custom_cdfs": [
{
"column": "full_address",
"name": "Full address",
"description": "CDF with the full address information",
"kind": "String",
"format": "currency"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.