NoticeDetail

NoticeDetail

{} NoticeDetail
id
required
allOf
plan_id
required
string uuid
plan_type
required
string enum
read-only
  • town
  • policy
  • specific
plan_sub_type
string enum
read-only
  • new_plan
  • edit_plan
plan_level
string enum
read-only
  • country
  • region
  • province
notice_type
required
string enum

ประเภทประกาศ

  • pr
  • annoucement
  • result
notice_period
string enum

ระดับผัง (ประเภทวันปิดประกาศ)

  • 15
  • 30
  • 90
name
required
string
notice_start
string date

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

notice_end
string date

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

cover_image_path
required
string

รูปภาพประกาศ

objective
required
string

วัตถุประสงค์

map_service_url
string

Map Service URL

detail
required
string

รายละเอียด

is_opinion_enable
boolean
is_advice_enable
boolean
is_petition_enable
boolean
is_purpose_enable
boolean
is_appeal_enable
boolean
comment_durations
array object[]
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
attachments
array object[]
draft_plan_notice_id
read-only
allOf
draft_plan_notice
object
plan
required
read-only
allOf

NoticeDetailCreate

{} NoticeDetailCreate
plan_id
required
string uuid
notice_type
required
string enum

ประเภทประกาศ

  • pr
  • annoucement
  • result
notice_period
string enum

ระดับผัง (ประเภทวันปิดประกาศ)

  • 15
  • 30
  • 90
name
required
string
notice_start
string date

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

notice_end
string date

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

cover_image_path
required
string

รูปภาพประกาศ

objective
required
string

วัตถุประสงค์

map_service_url
string

Map Service URL

detail
required
string

รายละเอียด

is_opinion_enable
boolean
is_advice_enable
boolean
is_petition_enable
boolean
is_purpose_enable
boolean
is_appeal_enable
boolean
comment_durations
array object[]
attachments
array object[]
draft_plan_notice
object

NoticeDetailCreateOrUpdate

{} NoticeDetailCreateOrUpdate
plan_id
required
string uuid
notice_type
required
string enum

ประเภทประกาศ

  • pr
  • annoucement
  • result
notice_period
string enum

ระดับผัง (ประเภทวันปิดประกาศ)

  • 15
  • 30
  • 90
name
required
string
notice_start
string date

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

notice_end
string date

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

cover_image_path
required
string

รูปภาพประกาศ

objective
required
string

วัตถุประสงค์

map_service_url
string

Map Service URL

detail
required
string

รายละเอียด

is_opinion_enable
boolean
is_advice_enable
boolean
is_petition_enable
boolean
is_purpose_enable
boolean
is_appeal_enable
boolean
comment_durations
array object[]
attachments
array object[]
draft_plan_notice
object
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: จัดการลิ้งค์ข้อมูลแผนที่