Menu
Upload Photo
Upload a photo
POST
/data/uploadphoto.jsonUse it in a workflow
- Add a step and choose the Bazaarvoice connector.
- Pick the Upload Photo action (under submission).
- Fill in the fields below, then reference the result from later steps as
{{uploadPhoto.response.data}}.
Request
Query parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"Locale": "en_US",
"Photo": "-F 'Photo=@/path/to/your_image.jpg'",
"PhotoUrl": "https://upload.wikimedia.org/wikipedia/commons/b/ba/Flower_jtca001.jpg",
"User": "4d8f70f72a69b170556ecd0cbec0ee1e646174653d3230323330393132267573657269643d746573743126757365726e616d653d736b616872266d61786167653d3439",
"UserId": "testi2"
}
Response
Returns 200 with an object. Read it in later steps with {{uploadPhoto.response.data.<field>}}.
{
"Data": {},
"HasErrors": false,
"Form": [
{}
],
"AuthorSubmissionToken": "string",
"FormErrors": {},
"TypicalHoursToPost": {},
"SubmissionId": "string",
"Locale": "string",
"Errors": [
{}
],
"Photo": {
"Caption": "string",
"Sizes": {
"thumbnail": {
"Url": "string",
"Id": "string"
},
"normal": {
"Url": "string",
"Id": "string"
}
},
"SizesOrder": [
"string"
],
"Id": "string"
}
}
Need more? See the Bazaarvoice guide for connection setup and behaviour shared by every action.
Was this page helpful?