Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Document Management
  • Auth Request
    • Auth Token
      POST
  • Document Management
    • Validate Documents
      • Validate Documents Json
    • Delivery Service
      • Delivery Service Resend
    • Create Document JSON
      POST
    • List Sellers
      GET
    • Create Tax Invoice
      POST
    • Update Tax Invoice
      PUT
    • Create Debit Note
      POST
    • Create Credit Note
      POST
    • Create Invoice
      POST
    • Create Receipt
      POST
    • Create Invoice and Tax Invoice
      POST
    • Create Receipt and Tax Invoice
      POST
    • Create Delivery Order and Tax Invoice
      POST
    • Create Abbreviated Tax Invoice
      POST
    • Create Receipt Abbreviated Tax Invoice
      POST
    • Document Raw Data
      POST
    • Download Document
      POST
    • Download Document By Id
      GET
    • Get Batch By Id
      GET
    • List Provinces
      GET
    • List Districts
      GET
    • List Sub Districts
      GET
    • List Posts
      GET
  1. Document Management

List Districts

GET
https://api.gofive.co.th/etaxgo/Documents/Province/{provinceCode}/Districts
Documents

Request

Path Params
provinceCode
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.gofive.co.th/etaxgo/Documents/Province//Districts'

Responses

🟢200Success
application/json
Body
array of:
DistrictCode
string 
required
DistrictName
string 
required
Example
[
  {
    "districtCode": "1001",
    "districtName": "พระนคร"
  },
  {
    "districtCode": "1002",
    "districtName": "ดุสิต"
  },
  {
    "districtCode": "1003",
    "districtName": "หนองจอก"
  }
]
🟠401Unauthorized
🟠403Forbidden
🟠401User authentication required V2.
Previous
List Provinces
Next
List Sub Districts
Built with