Create a daily recap question

Use the createDailyRecapEntry mutation to add a question with its corresponding answer for a specific date.

After adding the daily recap entry, use the dailyRecaparrow-up-right query to list it.

Required Arguments

Argument Name

Type

Description

questionId

String

Unique question ID. Use the dailyRecapQuestions arrow-up-rightquery to get the Id of the questions.

answerId

String

Unique answer ID. Use the dailyRecapQuestions arrow-up-rightquery to get the Id of the answers.

date

Date

Date when the question and the answer are created.

Available Fields

The following fields will be displayed in the response:

Field

Type

Description

success

Boolean

True if the daily recap entry has been added successfully. Otherwise, False

Message

String

Description of the result

Example

{
mutation {
  createDailyRecapEntry(
    answerId: "RGFpbHlRdWVzdGlvbjo3Y2E4YzAxZS1kZDRjLTRlODktYjA3NS04ZGZmNzhlZDlhZTE="
    questionId: "QW5zd2VyOmZjYTNhYjEwLWU4NDAtNGExZS05NzkyLTc4OTE0NzhmMTE1Zg=="
    date: "2022-02-23"
  ) {
    success
    message
  }
}

Last updated

Was this helpful?