GET api/amphurs/by_province?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of amphur
NameDescriptionTypeAdditional information
id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

record_status_id

integer

None.

title

string

None.

prov_id

integer

None.

prov_amphur_id

integer

None.

prov_code

string

None.

amphur_code

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "create_time": "2024-11-21T16:00:13.5484746+07:00",
    "modify_time": "2024-11-21T16:00:13.5484746+07:00",
    "modify_by": 1,
    "record_status_id": 2,
    "title": "sample string 3",
    "prov_id": 4,
    "prov_amphur_id": 5,
    "prov_code": "sample string 6",
    "amphur_code": "sample string 7"
  },
  {
    "id": 1,
    "create_time": "2024-11-21T16:00:13.5484746+07:00",
    "modify_time": "2024-11-21T16:00:13.5484746+07:00",
    "modify_by": 1,
    "record_status_id": 2,
    "title": "sample string 3",
    "prov_id": 4,
    "prov_amphur_id": 5,
    "prov_code": "sample string 6",
    "amphur_code": "sample string 7"
  }
]