v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Answer

createFundraisingPageAnswer

Create an Answer for a Fundraising Page

post/fundraising-pages/{fundraising_page}/answers

Path parameters

fundraising_pageinteger required
Example:2173528

The specified Fundraising Page ID

Request body

answerstring

Answer content

question_idinteger required

Primary identifier of associated Question

Example request

{
  "answer": "Example answer test",
  "question_id": 45678
}

Response

Success

answerstring

Answer content

answerable_idinteger nullable

Primary identifier of associated Fundraising Entity object. Required with answerable_type

answerable_type'fundraising_team' | 'fundraising_page' | 'transaction' | 'campaign_registration' nullable

Type of associated Fundraising Entity. Required with answerable_id

campaign_idinteger

Primary identifier of associated Campaign

created_atstring date-time

Date/time of initial record creation

idinteger

Primary identifier of record

member_idinteger

Primary identifier of associated Member

question_idinteger

Primary identifier of associated Question

updated_atstring date-time nullable

Date/time of last record update

Example response

{
  "answer": "Example answer test",
  "answerable_id": 3245,
  "answerable_type": "fundraising_team",
  "campaign_id": 227362,
  "created_at": "2021-04-23T08:23:21Z",
  "id": 32459,
  "member_id": 2012,
  "question_id": 45678,
  "updated_at": "2021-04-23T10:25:03Z"
}