RequestPieQuery
- general
- damrongdhama
- corrupt
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
กลุ่มทำรายการ
ประเภทคำขอ
ด้านบริการ
เลขที่ทำรายการ
ชื่อ
นามสกุล
หัวข้อ
รายละเอียด
PDF คำขอ
สถานะ
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
กลุ่มทำรายการ
ประเภทคำขอ
ด้านบริการ
ชื่อ
นามสกุล
หัวข้อ
รายละเอียด
ยื่นข้อเสนอแนะ ไม่บังคับ auth ถ้ามีก็เก็บ(ชื่อสกุล) ถ้าไม่มีไม่ต้องเก็บ
กลุ่มทำรายการ
ประเภทคำขอ
ด้านบริการ
ชื่อ
นามสกุล
หัวข้อ
รายละเอียด
The request has succeeded.
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": "…"
}
]
}The request has succeeded.
Get all sectors in given group
The request has succeeded.
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": "…"
}
]The request has succeeded.
รายการเอกสารหน้า Landing ในกลุ่มที่ filter ทั้งหมด Array - No auth
The request has succeeded.
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": "…"
}
]The request has succeeded.