Rate

Rate

{} Rate
id
required
allOf
ip
required
string
rate
required
number enum
  • 1
  • 2
  • 3
  • 4
  • 5
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

RateCreate

{} RateCreate
ip
required
string
rate
required
number enum
  • 1
  • 2
  • 3
  • 4
  • 5

Service

{} Service
id
required
allOf
name
required
string
url
required
string uri
service_group
required
string enum
  • townplan
  • building
  • engineering
  • development
  • central
image_url
required
string uri
seq
required
integer int32
read-only

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

is_active
required
boolean
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
0.0.0
OAS 3.0.0

Common API

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

User Management

จัดการบริการประชาชน

File upload service

Master Address

/master/addresses

Get all master data address (จังหวัด/อำเภอ/ตำบล/รหัสปณ.)

Query Parameters
  • province
    string

    Filter ด้วยชื่อจังหวัด

  • district
    string

    Filter ด้วยชื่ออำเภอ

  • sub_district
    string

    Filter ด้วยชื่อตำบล

  • province_code
    string

    Filter ด้วยโค้ดจังหวัด

  • district_code
    string

    Filter ด้วยโค้ดอำเภอ

  • sub_district_code
    string

    Filter ด้วยโค้ดตำบล

Responses
  • 200

    The request has succeeded.

GET/master/addresses
Shell cURL
curl --request GET \
  --url https://dpt-api.finema.dev/master/addresses
[
  {
    "code": "104202",
    "province_code": "10",
    "district_code": "1042",
    "sub_district_code": "104202",
    "province": "กรุงเทพมหานคร",
    "district": "สายไหม",
    "sub_district": "ออเงิน",
    "postal_code": "10220"
  }
]

Rating คะแนนความพึงพอใจ