/survey-forms

Survey Form

/survey-forms

Body
application/json
anyOf
Responses
  • 200

    The request has succeeded.

POST/survey-forms
Shell cURL
curl --request POST \
  --url https://dpt-openapi.finema.dev/survey-forms \
  --header 'Content-Type: application/json' \
  --data null
anyOf
  1. {
      "title_name": "…",
      "given_name_th": "…",
      "family_name_th": "…",
      "email": "…",
      "phone_number": "…",
      "occupation": "…",
      "objective": "…",
      "objective_other": "…",
      "q1": 1,
      "q2": 1,
      "q3": 1,
      "q4": 1,
      "q5": 1,
      "suggestion": "…"
    }
  2. {
      "juristic_name_th": "…",
      "juristic_name_en": "…",
      "registration_id": "…",
      "tax_id": "…",
      "title_name": "…",
      "given_name_th": "…",
      "family_name_th": "…",
      "email": "…",
      "phone_number": "…",
      "identification_number": "…",
      "user_type_sector": "commercial",
      "user_type_sector_other": "…",
      "objective": "…",
      "objective_other": "…",
      "q1": 1,
      "q2": 1,
      "q3": 1,
      "q4": 1,
      "q5": 1,
      "suggestion": "…"
    }
0.0.0
OAS 3.0.0

Map Layer API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More

Survey Form

/survey-form-summary

Query Parameters
  • created_from
    required
    string date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • created_to
    required
    string date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Responses
  • 200

    The request has succeeded.

GET/survey-form-summary
Shell cURL
curl --request GET \
  --url 'https://dpt-openapi.finema.dev/survey-form-summary?created_from=&created_to='
{
  "page": 1,
  "total": 1,
  "limit": 1,
  "count": 1,
  "items": [
    {
      "summary": {
        "score": 1,
        "maxScore": 1,
        "totalUsers": 1
      },
      "questions": [
        {
          "score": 1,
          "maxScore": 1,
          "totalUsers": 1,
          "title": "…",
          "description": "…"
        }
      ]
    }
  ]
}