Submit Form

submit form

post
/v1/form/form/answer

submit form

Authorizations
AuthorizationstringRequired
Query parameters
responseIdstringOptional

id of response

Body
Responses
200

Response

application/json
post
/v1/form/form/answer
POST /v1/form/form/answer HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "payloads": [
    {
      "answer": "text",
      "questionId": "text"
    }
  ]
}
200

Response

{
  "data": {
    "answers": [
      {
        "score": 1,
        "answer": "text",
        "isCorrect": true,
        "questionId": "text"
      }
    ],
    "formId": "text",
    "id": "text",
    "scored": true,
    "submitted": true,
    "userId": 1,
    "created_at": "text",
    "deadline": "text",
    "score": 1,
    "startTime": "text",
    "submitTime": "text",
    "updated_at": "text"
  },
  "message": "success",
  "status": true
}

Last updated