WebApi

<back to all web services

AttachPhotosRequest

The following routes are available for this service:
PUT/proxy/v2/vehicle-sets/{vehicleSetId}/vehicles/{vehicleId}/attach-photosAttaches photos to a vehicle.Please use this endpoint after all images have been uploaded in the SnapLot API.
OPTIONS/proxy/v2/vehicle-sets/{vehicleSetId}/vehicles/{vehicleId}/attach-photos

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

HTTP + XML

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

POST /xml/oneway/AttachPhotosRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/xml
Content-Length: length

<AttachPhotosRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
  <Images xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">
    <AttachSinglePhotoRequest>
      <PhotoGuideDefinitionCaption>String</PhotoGuideDefinitionCaption>
      <Uri>String</Uri>
    </AttachSinglePhotoRequest>
  </Images>
  <VehicleId xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">String</VehicleId>
  <VehicleSetId xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">String</VehicleSetId>
</AttachPhotosRequest>