POST /courses/questions/{courseId}

Path parameters

  • courseId string Required
application/json

Body

object object

Responses

  • 200

    Successful response

POST /courses/questions/{courseId}
curl \
 -X POST swift.croissant-rouge.org.tn/api/v1/courses/questions/025f1946-bccd-40ef-bcbe-1da2460921b3 \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"questions":[{"language":"FR","question":"Avez vous une question","questionType":"SHORT_REPLY"},{"language":"FR","question":"Avez vous une question 2","questionType":"SHORT_REPLY"}]}'
Request example
{
  "questions": [
    {
      "language": "FR",
      "question": "Avez vous une question",
      "questionType": "SHORT_REPLY"
    },
    {
      "language": "FR",
      "question": "Avez vous une question 2",
      "questionType": "SHORT_REPLY"
    }
  ]
}
Request examples
{
  "questions": [
    {
      "language": "FR",
      "question": "Avez vous une question",
      "questionType": "SHORT_REPLY"
    },
    {
      "language": "FR",
      "question": "Avez vous une question 2",
      "questionType": "SHORT_REPLY"
    }
  ]
}