Adding property images
In order to add images to a property, you'll need to use the PropertyImages.AddPropertyImageAsync method on the API client:
var response = await client.PropertyImages.AddPropertyImageAsync(new AddPropertyImageRequest
{
PropertyId = propertyId,
Url = "https://www.example.com/image.jpg"
});
This will return a AddPropertyImageResponse object, which will indicate success or failure of the operation, and return the ImageId of the image that was added.
Validation
The PropertyId must be the Id of a property that is associated to the partner agent that is making the request.
The Url must be a valid URL to an image file, and must be publicly accessible.