SiteHostedPictureDetailsType

Type defining the SiteHostedPictureDetails container that is returned in an UploadSiteHostedPictures call.

Types that use SiteHostedPictureDetailsType:

Call that uses one or more fields of SiteHostedPictureDetailsType:

Fields

BaseURL ( anyURI )
ExternalPictureURL ( anyURI )
FullURL ( anyURI )
PictureFormat ( PictureFormatCodeType )
PictureName ( string )
PictureSet ( PictureSetCodeType )
PictureSetMember ( PictureSetMemberType )
UseByDate ( dateTime )

BaseURL ( anyURI ) [1]
Truncated version of FullURL.
See the Field Index to learn which calls use BaseURL.

ExternalPictureURL ( anyURI ) [0..1]
The URL for an external picture hosting website will be included in the response, if it is provided in the UploadSiteHostedPictures request.

Providing an external picture-hosting URL will allow you to include a picture in your listing that is not hosted on the eBay servers.
See the Field Index to learn which calls use ExternalPictureURL.

FullURL ( anyURI ) [1]
The URL for the uploaded picture. Store this value for association with an item listing. That is, after you use UploadSiteHostedPictures to upload an image, use the value in FullURL to associate the image with an item (specify the value in Item.PictureDetails.PictureURL in AddItem, ReviseItem, or RelistItem) prior to the UseByDate returned in the response.
See the Field Index to learn which calls use FullURL.

PictureFormat ( see PictureFormatCodeType for possible values ) [1]
The format into which an uploaded picture has been converted. This value is usually JPG, but may be GIF.
See the Field Index to learn which calls use PictureFormat.

PictureName ( string ) [0..1]
Corresponds to the PictureName input value that you specified in the request. You can use the PictureName output field to confirm that the UploadSiteHostedPictures response corresponds to a specific UploadSiteHostedPictures request.
See the Field Index to learn which calls use PictureName.

PictureSet ( see PictureSetCodeType for possible values ) [1]
The size of images generated. This value may differ from the one requested, e.g. if a Supersize image cannot be generated.
See the Field Index to learn which calls use PictureSet.

PictureSetMember ( PictureSetMemberType ) [1..*]
URL and size information for each generated and stored size. This data is not necessarily needed by your application, but is provided for use in picture previews. This data is used for display control for specific pictures in the generated imageset. This data is supplied for all generated pictures.
See the Field Index to learn which calls use PictureSetMember.

UseByDate ( dateTime ) [1]
The UseByDate is the last date that the picture can be associated with an item.

If the image is used in a listing, the image is kept for 90 days plus the duration length of the listing (e.g. 90 + 7). If the image is used in another listing while it is still being kept on the server, the image will be kept until 90 days after the end of the newest listing.
See the Field Index to learn which calls use UseByDate.

Copyright © 2005–2013 eBay, Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.