PhotoDto
urlstringrequired
Photo URL
Example:
http://r-ec.bstatic.com/images/hotel/max500/149/14959242.jpgpositioninteger<int32>required
Position of the photo to be shown to the customer
Possible values: >= 1
Example:
1contentLengthinteger<int64>
Size of the photo file in bytes, as reported by Holidu's photo download. Read-only and optional: it is missing until Holidu has downloaded the photo, can stay missing for photos downloaded earlier, and is never returned in the sandbox. Do not send it: photos are matched by URL, so publish a changed image under a new URL.
Possible values: >= 1
localizations object[]
Photo titles in different languages
Array [
languagestringrequired
ISO Language of the Photo Title
Possible values: >= 2 characters and <= 2 characters
titlestringrequired
Photo Title
]
PhotoDto
{
"url": "http://r-ec.bstatic.com/images/hotel/max500/149/14959242.jpg",
"position": 1,
"contentLength": 0,
"localizations": [
{
"language": "string",
"title": "string"
}
]
}