RequestVideoAttachmentCreateItem

RequestVideoAttachmentCreateItem

{} RequestVideoAttachmentCreateItem
code
required
string
seq
required
integer int32

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

file_title
required
string
file_name
required
string
file_path
required
string
file_size
required
number decimal
action
required
string enum
  • create
  • update
  • delete

RequestWitness

{} RequestWitness
id
required
allOf
request_id
required
read-only
allOf
firstname
string

ชื่อพยาน

lastname
string

นามสกุลพยาน

address
string

ที่อยู่พยาน

address_code
string
phone_number
string

เบอร์โทรศัพท์พยาน

email
string

อีเมลพยาน

detail
string

รายละเอียดพยาน / พยานเอกสาร

created_at
required
string date-time
read-only

the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

created_by_id
required
string
read-only

RequestWitnessCreateItem

{} RequestWitnessCreateItem
firstname
string

ชื่อพยาน

lastname
string

นามสกุลพยาน

address
string

ที่อยู่พยาน

address_code
string
phone_number
string

เบอร์โทรศัพท์พยาน

email
string

อีเมลพยาน

detail
string

รายละเอียดพยาน / พยานเอกสาร

0.0.0
OAS 3.0.0

DPT53 API

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

Public: ข้อเสนอแนะ

/public/requests/suggest

ยื่นข้อเสนอแนะ ไม่บังคับ auth ถ้ามีก็เก็บ(ชื่อสกุล) ถ้าไม่มีไม่ต้องเก็บ

Body
application/json
group_type
required
string enum

กลุ่มทำรายการ

  • general
  • damrongdhama
  • corrupt
request_type
required
string enum

ประเภทคำขอ

  • complain
  • suggest
service_type
string enum

ด้านบริการ

  • townplan
  • building
  • engineering
  • development
  • other
user_firstname
string

ชื่อ

user_lastname
string

นามสกุล

subject
string

หัวข้อ

detail
required
string

รายละเอียด

document_attachments
array object[]
Responses
  • 200

    The request has succeeded.

POST/public/requests/suggest
Shell cURL
curl --request POST \
  --url https://dpt-openapi.finema.dev/public/requests/suggest \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "group_type": "general",
  "request_type": "complain",
  "service_type": "townplan",
  "user_firstname": "",
  "user_lastname": "",
  "subject": "",
  "detail": "",
  "document_attachments": [
    {
      "code": "",
      "seq": 1,
      "file_title": "",
      "file_name": "",
      "file_path": "",
      "file_size": 1,
      "action": "create"
    }
  ]
}'
{
  "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
  "group_type": "general",
  "request_type": "complain",
  "service_type": "townplan",
  "request_no": "…",
  "user_firstname": "…",
  "user_lastname": "…",
  "subject": "…",
  "detail": "…",
  "doc_path": "…",
  "status": "wait_process",
  "created_at": "…",
  "created_by_id": "…",
  "updated_at": "…",
  "updated_by_id": "…",
  "document_attachments": [
    {
      "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
      "code": "…",
      "seq": 1,
      "file_title": "…",
      "file_name": "…",
      "file_path": "…",
      "file_size": 1,
      "request_id": "c667df88-4de8-442b-a64a-5fbce59086f0",
      "created_at": "…",
      "created_by_id": "…"
    }
  ]
}

Public: ข้อร้องเรียน

Public: Option รายการหน่วยงาน

/public/sectors/{group_type}

Get all sectors in given group

Path Parameters
  • group_type
    required
    string enum
    • general
    • damrongdhama
    • corrupt
Responses
  • 200

    The request has succeeded.

GET/public/sectors/{group_type}
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/public/sectors/__GROUP_TYPE__ \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
    "name": "…",
    "group_type": "general",
    "created_at": "…",
    "created_by_id": "…",
    "updated_at": "…",
    "updated_by_id": "…"
  }
]

Public: เอกสาร LandingPage

/public/landing-docs

รายการเอกสารหน้า Landing ในกลุ่มที่ filter ทั้งหมด Array - No auth

Query Parameters
  • group_type
    string enum
    • general
    • damrongdhama
    • corrupt
Responses
  • 200

    The request has succeeded.

GET/public/landing-docs
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/public/landing-docs
[
  {
    "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
    "group_type": "general",
    "code": "…",
    "seq": 1,
    "file_title": "…",
    "file_name": "…",
    "file_path": "…",
    "file_size": 1,
    "created_at": "…",
    "created_by_id": "…",
    "updated_at": "…",
    "updated_by_id": "…"
  }
]

Backoffice: จัดการคำขอ

Backoffice: จัดการรายการหน่วยงาน

Backoffice: จัดการเอกสาร LandingPage

Backoffice: สถิติ

Backoffice: จัดการสิทธิ์