v1
latestOpenAPI 3.0.12026-07-245277551.2 MBGet stock reports based on search results
Get stock reports filtered by different search criteria
Notes:
- Rows are returned if title contains values (case-insensitive comparison)
- The API returns 200 even if no results are found.
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
A text string to search for in any of the search column fields
Filter by published status
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"
}
]
}
]
}