Adds an image to the authenticated user's list of branding images
Adds an image to the authenticated user's list of branding images. These photos can be used when listing a classified. Branding images are only supported for Job listings.
At the moment, only the following image types are supported:- Logo
- Banner
- Square
- JPEG or JPG
- PNG
- GIF
URL: | https://api.trademe.co.nz/v1/Member/{memberId}/BrandingImages.{file_format} |
---|---|
HTTP Method: | POST |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
memberId | Integer (required) | |||||
---|---|---|---|---|---|---|
file_format | Enumeration (required) | The format of the response. | ||||
|
POST Data
<UploadBrandingRequest>
FileName | String (required) |
File name (including the extension of the file to upload.) |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BrandingImageType | Enumeration (required) |
Branding image type |
||||||||||||||||||
|
||||||||||||||||||||
ImageData | String (required) |
The actual image data which is base64 encoded. |
Returns
<UploadBrandingResponse>
Information about the uploaded branding
Success | Boolean |
Indicates whether the operation was successful. |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BrandingImageDetails | <BrandingImageDetails> or null |
The uploaded image information |
|||||||||||||
|
|||||||||||||||
Links | Collection of <Link> or null |
Links to related operations |
|||||||||||||
|