return to the map

Parse water information code

Parse water information code into structured data, including proprietary, standard, and extended parts

GET
/api/ma/resolve

Query Parameters

mastring

MA string to parse.

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/ma/resolve?ma=MA.1002.3261.101201%2F3261001.0.1715%2FHS0701.OPE1062035N0380739.RV"
{
  "original": "MA.1002.3261.101201/3261001.0.1715/HS0701.OPE1062035N0380739.RV",
  "proprietary": {
    "field": "value"
  },
  "standard": {
    "basincode": 3261,
    "subbasincd": "001"
  },
  "extensions": {}
}
{
  "detail": "Invalid MA format"
}
{
  "detail": "Server error"
}
Parse water information code - Global Drainage Network Data Platform