eBay Trading APIVersion 1349
 

SiteHostedPictureDetailsType

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

Type that uses SiteHostedPictureDetailsType:

Call that uses SiteHostedPictureDetailsType:

Fields



BaseURL ( anyURI ) [0..1]
This is the truncated version of the full URL.
See the Field Index to learn which calls use BaseURL.

ExternalPictureURL ( anyURI ) [0..1]
The URL of the external Web site hosting the uploaded photo. This field is returned if an ExternalPictureURL is provided in the call request.
See the Field Index to learn which calls use ExternalPictureURL.

FullURL ( anyURI ) [0..1]
This is the full URL for the uploaded picture on the EPS server. This value should be stored by the seller, as this URL will be needed when create, revise, or relist an item and add this image to the listing. This URL will also be needed for unpublished pictures whose expiration date must be extended through an ExtendSiteHostedPictures call.
See the Field Index to learn which calls use FullURL.

PictureFormat ( PictureFormatCodeType ) [0..1]
This enumeration value indicates the image format of the generated image, such as JPG, GIF, or PNG.
See the Field Index to learn which calls use PictureFormat.

PictureName ( string ) [0..1]
The seller-defined name for the picture. This field is only returned if a PictureName value was specified in the request. A name for a picture can make it easier to track than an arbitrary, eBay-assigned URL.
See the Field Index to learn which calls use PictureName.

PictureSet ( PictureSetCodeType ) [0..1]
This enumeration value indicates the size of the generated picture. This value may differ from the one specified in the request (e.g. if a Supersize image cannot be generated).
See the Field Index to learn which calls use PictureSet.

PictureSetMember ( PictureSetMemberType ) [0..*]
The URL and size information for each generated image.
See the Field Index to learn which calls use PictureSetMember.

UseByDate ( dateTime ) [0..1]
This timestamp indicates when the picture must be uploaded with an eBay listing before it is purged from the EPS server.

By default, unpublished pictures (not associated with an active eBay listing) are kept on the EPS server for five days, but a seller can use the ExtensionInDays field in the request to make the expiration date further into the future (a maximum of 30 days). The seller can also use the ExtendSiteHostedPictures to extend the expiration date of the picture.
See the Field Index to learn which calls use UseByDate.