OEXPRESS API DOCUMENTATION
    OEXPRESS API DOCUMENTATION
    • Introduction
    • Webhoook - Tracking
    • Webhook - Ticket Message
    • Tickets
      • Get Ticket & Details
        GET
      • Update Ticket Messages
        POST
      • Create/Update Ticket
        POST
      • Update Status Ticket
        PUT
      • Get Group Status Ticket
        GET
    • Wallets
      • Get Balance
        GET
    • Auth
      • Me
        GET
    • List Couriers
      GET
    • Get Subdistrict
      GET
    • Get Shipping Cost
      GET
    • Get Shipping Cost All
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Retry Order
      POST
    • [Sandbox Only] Update Status
      POST
    • Track Order
      GET
    • Get Shipping Label
      GET
    • Logistic RTS
      GET
    • List Shipment
      GET
    • Detail Shipment
      GET

      Get Subdistrict

      GET
      /open/1.0/shipment/subdistrict
      Last modified:2024-06-21 00:22:18
      Members can use the Get Subdistrict method to retrieve subdistrict data on the system. There are parameters keyword.
      EXAMPLE
      KEYVALUE
      keywordbandung

      Request

      Query Params
      keyword
      string 
      required
      Example:
      bandung
      Header Params
      X-API-KEY
      string 
      optional
      Example:
      {{ ApiKey }}

      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 '/open/1.0/shipment/subdistrict?keyword=bandung' \
      --header 'X-API-KEY: {{ ApiKey }}'

      Responses

      🟠400400 Keyword Required
      application/json
      Body
      data
      null 
      required
      message
      string 
      required
      error_code
      integer 
      required
      errors
      object 
      required
      keyword
      array[string]
      required
      Example
      {
        "data": null,
        "message": "The keyword field is required.",
        "error_code": 0,
        "errors": {
          "keyword": [
            "The keyword field is required."
          ]
        }
      }
      🟢200200 - Get Subdistrict
      🟢200deprecated (old) 200 - Get Subdistrict
      Previous
      List Couriers
      Next
      Get Shipping Cost
      Built with