RequestWitnessCreateItem
firstname
string
ชื่อพยาน
lastname
string
นามสกุลพยาน
address
string
ที่อยู่พยาน
address_code
string
phone_number
string
เบอร์โทรศัพท์พยาน
email
string
อีเมลพยาน
detail
string
รายละเอียดพยาน / พยานเอกสาร
ชื่อพยาน
นามสกุลพยาน
ที่อยู่พยาน
เบอร์โทรศัพท์พยาน
อีเมลพยาน
รายละเอียดพยาน / พยานเอกสาร
ยื่นข้อเสนอแนะ ไม่บังคับ 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.