Maepaysoh Endpoint Documentations

GET All Location

Get All Location

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get District Location without geometry string
per_page
optional
15 Get District Location per request Int
page
optional
2 Get District Location Paginate Int

Additional Params

Get Location By Region

st_name
optional
Ayeyarwady Get District Location By State Name String
dt_name
optional
Hinthada Get District Location By District Name String

Get Location By OBJECTID [ OBJECTID of Geo Json ]

object_id
optional
1 Get District Location By OBJECTID Int

Get Location By PCODE

st_pcode
optional
MMR017 Get District Location By State PCODE String
dt_pcode
optional
MMR017D002 Get District Location By District PCODE String
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "OBJECTID": 1,
                "ST": "Ayeyarwady",
                "ST_PCODE": "MMR017",
                "DT": "Hinthada",
                "DT_PCODE": "MMR017D002",
                "Shape_Leng": 4.94490045094,
                "Shape_Area": 0.597080590429,
                "DT_Mya": "?????????????",
                "Myanmar3": "ဟင်္သာတခရိုင်",
                "ZawGyiOne": "ဟၤသာတခရိုင္",
                "state_name": "ဧရာဝတီတိုင်းဒေသကြီး"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
        ...
    ],
    "meta": {
        "pagination": {
            "total": 72,
            "count": 15,
            "per_page": 15,
            "current_page": 1,
            "total_pages": 5,
            "links": {
                "next": "/?page=2"
            }
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET District Location By Longitude and Latitude

Get District Location By Longitude and Latitude.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
lon
required
96.253221147838 Longitude of Location Float
lat
required
26.1248220476 Latitude of Location Float
no_geo
optional
true Get District Location without geometry string
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "OBJECTID": 1,
                "ST": "Ayeyarwady",
                "ST_PCODE": "MMR017",
                "DT": "Hinthada",
                "DT_PCODE": "MMR017D002",
                "Shape_Leng": 4.94490045094,
                "Shape_Area": 0.597080590429,
                "DT_Mya": "?????????????",
                "Myanmar3": "ဟင်္သာတခရိုင်",
                "ZawGyiOne": "ဟၤသာတခရိုင္",
                "state_name": "ဧရာဝတီတိုင်းဒေသကြီး"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
    ]
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET Single District Location By Mongo Id

Get Single District Location By Mongo Id.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get District Location without geometry string
                                            
{
    data": {
        "id": "55a64c0eab5d4d297a0e9ccc",
        "type": "Feature",
        "properties": {
            "OBJECTID": 1,
            "ST": "Ayeyarwady",
            "ST_PCODE": "MMR017",
            "DT": "Hinthada",
            "DT_PCODE": "MMR017D002",
            "Shape_Leng": 4.94490045094,
            "Shape_Area": 0.597080590429,
            "DT_Mya": "?????????????",
            "Myanmar3": "ဟင်္သာတခရိုင်",
            "ZawGyiOne": "ဟၤသာတခရိုင္",
            "state_name": "ဧရာဝတီတိုင်းဒေသကြီး"
        },"geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        95.126367502558,
                        18.505117378065
                    ],
                    [
                        95.129693702702,
                        18.503786106244
                    ],
                    [
                        95.130174348068,
                        18.50288589207
                    ],
                    ...
                ]
            ]
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Resource not found!",
    }
}

                                             
                                        

GET All Upper House Location

Get All Upper House Location

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get Upper House Location without geometry string
per_page
optional
15 Get Upper House Location per request Int
page
optional
2 Get Upper House Location Paginate Int

Additional Params

Get Upper House Location By Region

st_name
optional
Ayeyarwady Get Upper House Location By State Name String

Get Location By PCODE

st_pcode
optional
MMR017 Get Upper House Location By State PCODE String
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "ST": "Ayeyarwady",
                "constituency_name_en": "Ayeyarwady",
                "constituency_name_my": "ဧရာဝတီတိုင်းဒေသကြီး",
                "ST_PCODE": "MMR017",
                "constituency_number": 1,
                "AM_PCODE": "MMR017HLA001"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
        ...
    ],
    "meta": {
        "pagination": {
            "total": 72,
            "count": 15,
            "per_page": 15,
            "current_page": 1,
            "total_pages": 5,
            "links": {
                "next": "/?page=2"
            }
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET Upper House Location By Longitude and Latitude

Get Upper House Location By Longitude and Latitude.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
lon
required
96.253221147838 Longitude of Location Float
lat
required
26.1248220476 Latitude of Location Float
no_geo
optional
true Get Upper House Location without geometry string
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "ST": "Ayeyarwady",
                "constituency_name_en": "Ayeyarwady",
                "constituency_name_my": "ဧရာဝတီတိုင်းဒေသကြီး",
                "ST_PCODE": "MMR017",
                "constituency_number": 1,
                "AM_PCODE": "MMR017HLA001"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
    ]
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET Single Upper House Location By Mongo Id

Get Single Upper House Location By Mongo Id.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get Upper House Location without geometry string
                                            
{
    data": {
        "id": "55a64c0eab5d4d297a0e9ccc",
        "type": "Feature",
        "properties": {
            "ST": "Ayeyarwady",
            "constituency_name_en": "Ayeyarwady",
            "constituency_name_my": "ဧရာဝတီတိုင်းဒေသကြီး",
            "ST_PCODE": "MMR017",
            "constituency_number": 1,
            "AM_PCODE": "MMR017HLA001"
        },"geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        95.126367502558,
                        18.505117378065
                    ],
                    [
                        95.129693702702,
                        18.503786106244
                    ],
                    [
                        95.130174348068,
                        18.50288589207
                    ],
                    ...
                ]
            ]
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Resource not found!",
    }
}

                                             
                                        

GET Single Upper House Location AM_PCODE

Get Single Upper House Location By AM_PCODE.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
am_pcode
required
MMR017HLA001 AM_PCODE of Geo Location String
no_geo
optional
true Get Upper House Location without geometry string
                                            
{
    data": {
        "id": "55a64c0eab5d4d297a0e9ccc",
        "type": "Feature",
        "properties": {
            "ST": "Ayeyarwady",
            "constituency_name_en": "Ayeyarwady",
            "constituency_name_my": "ဧရာဝတီတိုင်းဒေသကြီး",
            "ST_PCODE": "MMR017",
            "constituency_number": 1,
            "AM_PCODE": "MMR017HLA001"
        },"geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        95.126367502558,
                        18.505117378065
                    ],
                    [
                        95.129693702702,
                        18.503786106244
                    ],
                    [
                        95.130174348068,
                        18.50288589207
                    ],
                    ...
                ]
            ]
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Resource not found!",
    }
}

                                             
                                        
                                            
                                                
{
    "error": {
        "message": "Require am_pcode param",
    }
}

                                             
                                        

GET All Lower House Location

Get All Lower House Location

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get Lower House Location without geometry string
per_page
optional
15 Get Lower House Location per request Int
page
optional
2 Get Lower House Location Paginate Int

Additional Params

Get Lower House Location By Region

st_name
optional
Ayeyarwady Get Lower House Location By State Name String
dt_name
optional
Labutta Get Lower House Location By District Name String
ts_name
optional
Mawlamyinegyun Get Lower House Location By Township Name String

Get Location By OBJECTID [ OBJECTID of Geo Json ]

object_id
optional
1 Get Lower House Location By OBJECTID Int

Get Location By PCODE

st_pcode
optional
MMR017 Get Lower House Location By State PCODE String
dt_pcode
optional
MMR017D004 Get Lower House Location By District PCODE String
ts_pcode
optional
MMR017018 Get Lower House Location By Township PCODE String

Get Location By Party

by_party
optional
NLD Get Lower House Location By Party String
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "OBJECTID": 4,
                "ST": "Ayeyarwady",
                "ST_PCODE": "MMR017",
                "DT": "Labutta",
                "DT_PCODE": "MMR017D004",
                "TS": "Mawlamyinegyun",
                "TS_MYA": "armfvNrdKifuRef;",
                "TS_PCODE": "MMR017018",
                "ST_2": "Ayeyarwady Region",
                "Area": 1217.7478853,
                "Label2": "Mawlamyinegyun\n339083",
                "Sr": 4,
                "State": "Ayeyarwady",
                "StateName": "Ayeyarwady Region",
                "st_pcode_1": "MMR017",
                "District": "Labutta",
                "dt_pcode_1": "MMR017D004",
                "Township": "Mawlamyinegyun",
                "ts_pcode_1": "MMR017018",
                "ZawGyiOne": "ေမာ္လၿမိဳင္ကၽြန္း",
                "Myanmar3": "မော်လမြိုင်ကျွန်း",
                "KPP": null,
                "CPP": null,
                "CNP": null,
                "UDPKS": null,
                "TPNP": null,
                "NUP": null,
                "PNO": null,
                "PSDP": null,
                "AMRDP": null,
                "RNDP": null,
                "SNDP": null,
                "WDP": null,
                "NDF": null,
                "Inn": null,
                "Danu": null,
                "NNDP": null,
                "USDP": "USDP",
                "NLD": null,
                "Summary": "USDP"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
        ...
    ],
    "meta": {
        "pagination": {
            "total": 72,
            "count": 15,
            "per_page": 15,
            "current_page": 1,
            "total_pages": 5,
            "links": {
                "next": "/?page=2"
            }
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET Lower House Location By Longitude and Latitude

Get Lower House Location By Longitude and Latitude.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
lon
required
96.253221147838 Longitude of Location Float
lat
required
26.1248220476 Latitude of Location Float
no_geo
optional
true Get District Location without geometry string
                                            
{
    data": [

        {
            "id": "55a64c0eab5d4d297a0e9ccc",
            "type": "Feature",
            "properties": {
                "OBJECTID": 4,
                "ST": "Ayeyarwady",
                "ST_PCODE": "MMR017",
                "DT": "Labutta",
                "DT_PCODE": "MMR017D004",
                "TS": "Mawlamyinegyun",
                "TS_MYA": "armfvNrdKifuRef;",
                "TS_PCODE": "MMR017018",
                "ST_2": "Ayeyarwady Region",
                "Area": 1217.7478853,
                "Label2": "Mawlamyinegyun\n339083",
                "Sr": 4,
                "State": "Ayeyarwady",
                "StateName": "Ayeyarwady Region",
                "st_pcode_1": "MMR017",
                "District": "Labutta",
                "dt_pcode_1": "MMR017D004",
                "Township": "Mawlamyinegyun",
                "ts_pcode_1": "MMR017018",
                "ZawGyiOne": "ေမာ္လၿမိဳင္ကၽြန္း",
                "Myanmar3": "မော်လမြိုင်ကျွန်း",
                "KPP": null,
                "CPP": null,
                "CNP": null,
                "UDPKS": null,
                "TPNP": null,
                "NUP": null,
                "PNO": null,
                "PSDP": null,
                "AMRDP": null,
                "RNDP": null,
                "SNDP": null,
                "WDP": null,
                "NDF": null,
                "Inn": null,
                "Danu": null,
                "NNDP": null,
                "USDP": "USDP",
                "NLD": null,
                "Summary": "USDP"
            },"geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            95.126367502558,
                            18.505117378065
                        ],
                        [
                            95.129693702702,
                            18.503786106244
                        ],
                        [
                            95.130174348068,
                            18.50288589207
                        ],
                        ...
                    ]
                ]
            }
        }
    ]
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Error message text",
    }
}

                                             
                                        

GET Single Lower House Location By Mongo Id

Get Single Lower House Location By Mongo Id.

token
required
lmeiOxzUTQFOfIANfS3oFQ631YXqLqBt Api key of your applicaion String
no_geo
optional
true Get Lower House Location without geometry string
                                            
{
    data": {
        "id": "55a64c0eab5d4d297a0e9ccc",
        "type": "Feature",
        "properties": {
            "OBJECTID": 6,
            "ST": "Yangon",
            "ST_PCODE": "MMR013",
            "DT": "Yangon (East)",
            "DT_PCODE": "MMR013D002",
            "TS": "Pazundaung",
            "TS_MYA": "ykZGefawmif",
            "TS_PCODE": "MMR013016",
            "ST_2": "Yangon Region",
            "Area": 1.06807592674,
            "Label2": "Pazundaung\n46672",
            "Sr": 6,
            "State": "Yangon",
            "StateName": "Yangon Region",
            "st_pcode_1": "MMR013",
            "District": "Yangon (East)",
            "dt_pcode_1": "MMR013D002",
            "Township": "Pazundaung",
            "ts_pcode_1": "MMR013016",
            "ZawGyiOne": "ေမာ္လၿမိဳင္ကၽြန္း",
            "Myanmar3": "မော်လမြိုင်ကျွန်း",
            "KPP": null,
            "CPP": null,
            "CNP": null,
            "UDPKS": null,
            "TPNP": null,
            "NUP": null,
            "PNO": null,
            "PSDP": null,
            "AMRDP": null,
            "RNDP": null,
            "SNDP": null,
            "WDP": null,
            "NDF": "NDF",
            "Inn": null,
            "Danu": null,
            "NNDP": null,
            "USDP": null,
            "NLD": null,
            "Summary": "NDF"
        },"geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        95.126367502558,
                        18.505117378065
                    ],
                    [
                        95.129693702702,
                        18.503786106244
                    ],
                    [
                        95.130174348068,
                        18.50288589207
                    ],
                    ...
                ]
            ]
        }
    }
}
                                            
                                        
                                            
                                                
{
    "error": {
        "message": "Resource not found!",
    }
}