Hotel
getFiles
Changed onReturns a list of files attached to a hotel or group profile, ordered by creation date
get/getFiles
Request
- Base URLhttps://api.cloudbeds.com/api/v1.3
- URLhttps://api.cloudbeds.com/api/v1.3/getFiles
- Auth
- API key in header x-api-key
- or OAuth 2Authorization codeScopes: read:hotel
Query parameters
propertyIDstring
Property ID
eventCodestring
The event (group profile) code, if the files are to be fetched from a group profile
sortBy'name' | 'type' | 'source' | 'date'
Sort By parameter
orderBy'desc' | 'asc'
Order response in DESCending or ASCending order, used together with sortBy
namestring
Filter filess by name. Include only with names containing specified string
pageNumberinteger
Results page number
pageSizeinteger
Results page size. Max = 100
Response
200 Response
Changes
- warning
deleted the
queryrequest parametergroupCode - info
added the new optional
queryrequest parametereventCode
- warning