0.0.0
OAS 3.0.0

DPT11 API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More
Authentication
Bearer Authentication (BearerAuth)

Public: ​LUP Request

/public/requests

รายการคำขอเฉพาะของ user ที่ authen อยู่

Query Parameters
  • q
    string
  • limit
    integer int32

    Signed 32-bit integers (commonly used integer type).

  • page
    integer int32

    Signed 32-bit integers (commonly used integer type).

  • created_start
    string date

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

  • created_end
    string date

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

  • status
    string enum
    • wait_process
    • wait_process_edited
    • wait_edit
    • wait_attach_result
    • rejected
    • done
Responses
  • 200

    The request has succeeded.

GET/public/requests
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/public/requests \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "page": 1,
  "total": 1,
  "limit": 1,
  "count": 1,
  "items": [
    {
      "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
      "request_no": "…",
      "user_title": "…",
      "user_firstname": "…",
      "user_lastname": "…",
      "user_age": 1,
      "user_identification_number": "…",
      "user_card_address": "…",
      "user_card_address_code": "…",
      "user_current_address": "…",
      "user_current_address_code": "…",
      "user_email": "…",
      "user_phone_number": "…",
      "juristic_name_th": "…",
      "juristic_name_en": "…",
      "juristic_identification_number": "…",
      "juristic_tax_number": "…",
      "objective": "…",
      "status": "wait_process",
      "form_path": "…",
      "province_code": "10",
      "province": "กรุงเทพ",
      "approved_at": "…",
      "approved_by_id": "…",
      "resulted_at": "…",
      "resulted_by_id": "…",
      "created_at": "…",
      "created_by_id": "…",
      "updated_at": "…",
      "updated_by_id": "…"
    }
  ]
}