Download History

/download-histories

Body
application/json
given_name_th
required
string
family_name_th
required
string
phone_number
required
string
ip_address
required
string
layer_names
required
string
address_code
required
string
address_province
required
string
address_district
string
address_subdistrict
string
important_place_name
string
Responses
  • 200

    The request has succeeded.

POST/download-histories
Shell cURL
curl --request POST \
  --url https://dpt-openapi.finema.dev/download-histories \
  --header 'Content-Type: application/json' \
  --data '{
  "given_name_th": "",
  "family_name_th": "",
  "phone_number": "",
  "ip_address": "",
  "layer_names": "",
  "address_code": "",
  "address_province": "",
  "address_district": "",
  "address_subdistrict": "",
  "important_place_name": ""
}'
{
  "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
  "given_name_th": "…",
  "family_name_th": "…",
  "phone_number": "…",
  "ip_address": "…",
  "layer_names": "…",
  "address_code": "…",
  "address_province": "…",
  "address_district": "…",
  "address_subdistrict": "…",
  "important_place_name": "…",
  "created_at": "…",
  "created_by_id": "…"
}

/download-histories

Body
application/json
created_from
required
string date

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

created_to
required
string date

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

layer_name
required
string
address_province
required
string
address_district
required
string
address_subdistrict
required
string
Responses
  • 200

    The request has succeeded.

GET/download-histories
Shell cURL
curl --request GET \
  --url https://dpt-openapi.finema.dev/download-histories \
  --header 'Content-Type: application/json' \
  --data '{
  "created_from": "",
  "created_to": "",
  "layer_name": "",
  "address_province": "",
  "address_district": "",
  "address_subdistrict": ""
}'
{
  "page": 1,
  "total": 1,
  "limit": 1,
  "count": 1,
  "items": [
    {
      "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
      "given_name_th": "…",
      "family_name_th": "…",
      "phone_number": "…",
      "ip_address": "…",
      "layer_names": "…",
      "address_code": "…",
      "address_province": "…",
      "address_district": "…",
      "address_subdistrict": "…",
      "important_place_name": "…",
      "created_at": "…",
      "created_by_id": "…"
    }
  ]
}
0.0.0
OAS 3.0.0

Map Layer API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More

Download History

/download-histories

Body
application/json
given_name_th
required
string
family_name_th
required
string
phone_number
required
string
ip_address
required
string
layer_names
required
string
address_code
required
string
address_province
required
string
address_district
string
address_subdistrict
string
important_place_name
string
Responses
  • 200

    The request has succeeded.

POST/download-histories
Shell cURL
curl --request POST \
  --url https://dpt-openapi.finema.dev/download-histories \
  --header 'Content-Type: application/json' \
  --data '{
  "given_name_th": "",
  "family_name_th": "",
  "phone_number": "",
  "ip_address": "",
  "layer_names": "",
  "address_code": "",
  "address_province": "",
  "address_district": "",
  "address_subdistrict": "",
  "important_place_name": ""
}'
{
  "id": "c667df88-4de8-442b-a64a-5fbce59086f0",
  "given_name_th": "…",
  "family_name_th": "…",
  "phone_number": "…",
  "ip_address": "…",
  "layer_names": "…",
  "address_code": "…",
  "address_province": "…",
  "address_district": "…",
  "address_subdistrict": "…",
  "important_place_name": "…",
  "created_at": "…",
  "created_by_id": "…"
}