-
Notifications
You must be signed in to change notification settings - Fork 0
Property Images
ipro-dave edited this page May 3, 2024
·
3 revisions
Request Url: /apis/property/{propertyId}/images
-
propertyId
is the property id, it is integer.
When using the image URL as returned by the API with no parameters you will get the full size image. If you are using large images iPRO can resize them by including a few optional parameters on the URL to specify the width and height. For example, if you wanted an image to be resized to be 600x420 you would add ?width=600&height=420&mode=crop
to the end of the URL, so the full URL would look like https://www.iprodemo.co.uk/media/1779102/green-grass-near-shoreline-beside-sea-under-blue-sky-132339.jpg?width=600&height=420&mode=crop
Response:
[
{
"Id": 9124,
"Name": "js57_IMG_2197.jpg",
"Url": "http://www.iprodemo.co.uk/media/350142/js57_IMG_2197.jpg",
"HostUrl": "http://demo.ipro.cn/media/350142/js57_IMG_2197.jpg",
"ModifiedDate": "18/04/2013 12:07:37"
},
{
"Id": 8853,
"Name": "js1080_IMG_2210.jpg",
"Url": "http://www.iprodemo.co.uk/media/343971/js1080_IMG_2210.jpg",
"HostUrl": "http://demo.ipro.cn/media/343971/js1080_IMG_2210.jpg",
"ModifiedDate": "15/04/2013 07:32:42"
},
{
"Id": 9129,
"Name": "js57_IMG_2209.jpg",
"Url": "http://www.iprodemo.co.uk/media/350187/js57_IMG_2209.jpg",
"HostUrl": "http://demo.ipro.cn/media/350187/js57_IMG_2209.jpg",
"ModifiedDate": "18/04/2013 12:08:41"
},
{
"Id": 9131,
"Name": "js57_IMG_2217.jpg",
"Url": "http://www.iprodemo.co.uk/media/350205/js57_IMG_2217.jpg",
"HostUrl": "http://demo.ipro.cn/media/350205/js57_IMG_2217.jpg",
"ModifiedDate": "18/04/2013 12:09:07"
},
{
"Id": 8854,
"Name": "js1080_IMG_2211.jpg",
"Url": "http://www.iprodemo.co.uk/media/343980/js1080_IMG_2211.jpg",
"HostUrl": "http://demo.ipro.cn/media/343980/js1080_IMG_2211.jpg",
"ModifiedDate": "15/04/2013 07:33:15"
},
{
"Id": 8855,
"Name": "js1080_IMG_2212.jpg",
"Url": "http://www.iprodemo.co.uk/media/343989/js1080_IMG_2212.jpg",
"HostUrl": "http://demo.ipro.cn/media/343989/js1080_IMG_2212.jpg",
"ModifiedDate": "15/04/2013 07:34:02"
},
{
"Id": 9123,
"Name": "js57_IMG_2195.jpg",
"Url": "http://www.iprodemo.co.uk/media/350133/js57_IMG_2195.jpg",
"HostUrl": "http://demo.ipro.cn/media/350133/js57_IMG_2195.jpg",
"ModifiedDate": "18/04/2013 12:07:24"
},
{
"Id": 9125,
"Name": "js57_IMG_2198.jpg",
"Url": "http://www.iprodemo.co.uk/media/350151/js57_IMG_2198.jpg",
"HostUrl": "http://demo.ipro.cn/media/350151/js57_IMG_2198.jpg",
"ModifiedDate": "18/04/2013 12:07:50"
},
{
"Id": 9127,
"Name": "js57_IMG_2201.jpg",
"Url": "http://www.iprodemo.co.uk/media/350169/js57_IMG_2201.jpg",
"HostUrl": "http://demo.ipro.cn/media/350169/js57_IMG_2201.jpg",
"ModifiedDate": "18/04/2013 12:08:14"
},
{
"Id": 9126,
"Name": "js57_IMG_2200.jpg",
"Url": "http://www.iprodemo.co.uk/media/350160/js57_IMG_2200.jpg",
"HostUrl": "http://demo.ipro.cn/media/350160/js57_IMG_2200.jpg",
"ModifiedDate": "18/04/2013 12:08:03"
},
{
"Id": 9128,
"Name": "js57_IMG_2206.jpg",
"Url": "http://www.iprodemo.co.uk/media/350178/js57_IMG_2206.jpg",
"HostUrl": "http://demo.ipro.cn/media/350178/js57_IMG_2206.jpg",
"ModifiedDate": "18/04/2013 12:08:29"
},
{
"Id": 9130,
"Name": "js57_IMG_2215.jpg",
"Url": "http://www.iprodemo.co.uk/media/350196/js57_IMG_2215.jpg",
"HostUrl": "http://demo.ipro.cn/media/350196/js57_IMG_2215.jpg",
"ModifiedDate": "18/04/2013 12:08:52"
}
]
- Get Started
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications