Plan

{} Plan
id
required
allOf
plan_type
required
string enum
  • town
  • policy
  • specific
plan_level
required
string enum
  • country
  • region
  • province
name
required
string

ชื่อผังเมือง

province_code
string

จังหวัด

district_code
string

อำเภอ

sub_district_code
string

ตำบล

region
string enum
  • north
  • south
  • central
  • bangkok
  • east
  • northeast
  • other
region_other
string
province
required
string
read-only
district
required
string
read-only
sub_district
required
string
read-only
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
updated_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

updated_by_id
required
string
read-only

PlanCreate

{} PlanCreate
plan_type
required
string enum
  • town
  • policy
  • specific
plan_level
required
string enum
  • country
  • region
  • province
name
required
string

ชื่อผังเมือง

province_code
string

จังหวัด

district_code
string

อำเภอ

sub_district_code
string

ตำบล

region
string enum
  • north
  • south
  • central
  • bangkok
  • east
  • northeast
  • other
region_other
string

PlanCreateOrUpdate

{} PlanCreateOrUpdate
plan_type
required
string enum
  • town
  • policy
  • specific
plan_level
required
string enum
  • country
  • region
  • province
name
required
string

ชื่อผังเมือง

province_code
string

จังหวัด

district_code
string

อำเภอ

sub_district_code
string

ตำบล

region
string enum
  • north
  • south
  • central
  • bangkok
  • east
  • northeast
  • other
region_other
string
0.0.0
OAS 3.0.0

DPT12 API

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

Public: รายการประกาศ

Public: แสดงความเห็นประกาศ

Public: ประวัติทำรายการ

Public: แสดงรายการชั้นข้อมูลแผนที่

/public/map-layers

เลือกข้อมูล MapLayer ที่ status = true มาแสดงตาม province_code

Query Parameters
  • province_code
    required
    string
Responses
  • 200

    The request has succeeded.

GET/public/map-layers
Shell cURL
curl --request GET \
  --url 'https://dpt-openapi.finema.dev/public/map-layers?province_code=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "url": "…",
    "layer_id": 1,
    "layer_name": "…",
    "plan_name": "…"
  }
]

Backoffice: จัดการชื่อผัง

Backoffice: จัดการประกาศ

Backoffice: รายงานสรุปผล

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

Backoffice: จัดการชั้นข้อมูลแผนที่

Backoffice: จัดการลิ้งค์ข้อมูลแผนที่