WebApi

<back to all web services

VehicleImageBatchUpdateRequest

The following routes are available for this service:
PUT/ilots/{InventoryLotId}/vehicles/{Vin}/batchphotosPerforms a batch update to image metadata.DEPRECATED: prefer the new AttachPhotos endpoint.
OPTIONS/ilots/{InventoryLotId}/vehicles/{Vin}/batchphotos
POST/proxy/v1/vehicle-sets/{InventoryLotId}/vehicles/{Vin}/batch-image-detailsPerforms a batch update to image metadata.DEPRECATED: prefer the new AttachPhotos endpoint.

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/VehicleImageBatchUpdateRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: text/jsv
Content-Length: length

{
	InventoryLotId: 0,
	Vin: String,
	ImageUpdateRequests: 
	[
		{
			ImageFileName: String,
			ImagePosition: 0,
			PhotoPackageGuideDefinitionXrefID: 0,
			PhotoGuideDefinitionCaption: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		ImageFileName: String,
		IsVehicleDeleted: False,
		IsVehicleImageDeleted: False,
		ResponseMessageKind: None
	}
]