younifyd
Menu

Get Answer

Preview an answer submission

GET/data/submitanswer.json

Use it in a workflow

  1. Add a step and choose the Bazaarvoice connector.
  2. Pick the Get Answer action (under submission).
  3. Fill in the fields below, then reference the result from later steps as {{getAnswer.response.data}}.

Request

Query parameters

ApiVersionstringrequired

The API version, e.g. 5.4.

QuestionIdstringrequired

The id of the question that this answer is being submitted on.

Actionstring

The submission action to take

AnswerTextstringrequired

Contains the text of the answer.

agreedtotermsandconditionsboolean

Boolean indicating whether or not the user agreed to the terms and conditions. Required depending on the client's settings.

UserIdstring

User's external ID. This value should come from your authentication system. See Client-Mastered Authentication for more information. Alert Do not use an email address for this value.

PassKeystringrequired

API key is required to authenticate API user and check permission to access particular client's data.

Response

Returns 200 with an object. Read it in later steps with {{getAnswer.response.data.<field>}}.

Localestring
Answerobject
SubmissionTimestring
SubmissionIdstring
AnswerTextstring
TypicalHoursToPoststring
Idstring
SendEmailAlertWhenPublishedboolean
Errorsarray<string>
Formarray<object>
Typestring
Idstring
FormErrorsobject
SubmissionIdstring
Dataobject
Fieldsobject
Groupsobject
FieldsOrderarray<string>
GroupsOrderarray<string>
TypicalHoursToPostinteger
AuthorSubmissionTokenstring
HasErrorsboolean
json
{
  "Locale": "string",
  "Answer": {
    "SubmissionTime": "string",
    "SubmissionId": "string",
    "AnswerText": "string",
    "TypicalHoursToPost": "string",
    "Id": "string",
    "SendEmailAlertWhenPublished": false
  },
  "Errors": [
    "string"
  ],
  "Form": [
    {
      "Type": "string",
      "Id": "string"
    }
  ],
  "FormErrors": {},
  "SubmissionId": "string",
  "Data": {
    "Fields": {}
  },
  "Groups": {},
  "FieldsOrder": [
    "string"
  ],
  "GroupsOrder": [
    "string"
  ],
  "TypicalHoursToPost": 0,
  "AuthorSubmissionToken": "string"
}

Need more? See the Bazaarvoice guide for connection setup and behaviour shared by every action.

Was this page helpful?