Skip to main content

PhotoDto

urlstringrequired

Photo URL

Example: http://r-ec.bstatic.com/images/hotel/max500/149/14959242.jpg
positioninteger<int32>required

Position of the photo to be shown to the customer

Possible values: >= 1

Example: 1
contentLengthinteger<int64>

File size of the photo in bytes

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"
    }
    ]
    }