Associate Images
The Image Association API enables users to associate an image already stored in the PMS with a property within the PMS.
Image Association for Property
This API is used to associate or connect images with a specific property.
Endpoint
POST

https://connect-sandbox.su-api.com/SUAPI/jservice/imageAssociation
Attributes
hotelid
string (Required)
Hotel id for which you want to associate an image.
imageid
string (Required)
Id assigned to a specific image within the PMS.
pmsimageid
string (Required)
Id assigned to a specific image within the PMS.
Sample Request
Request sample for the image associated with imageid for property:
{
"hotelid":"111",
"images": [
{
"imageid": "100"
},
{
"imageid": "200"
},
{
"imageid": "111"
}
]
}
Request sample for the image associate with imageid for room:
{
"hotelid":"111",
"roomid":"RM1"
"images": [
{
"imageid": "300"
},
{
"imageid": "122"
},
{
"imageid": "333"
}
]
}
Request sample for the image associate with pms_imageid for property:
{
"hotelid":"111",
"images": [
{
"pms_imageid": "111wing"
},
{
"pms_imageid": "222"
},
{
"pms_imageid": "522"
}
]
}
Request sample for the image associate with pms_imageid for room:
{
"hotelid":"111",
"roomid":"RM1",
"images": [
{
"pms_imageid": "666"
},
{
"pms_imageid": "968"
},
{
"pms_imageid": "266"
}
]
}
Response
Sample Success Response
{
"Status": "Success"
}
Last updated
Was this helpful?