NAV

နိဒါန္း

Zeo route planner သည် ရေယာဉ်ပိုင်ရှင်များအား ၎င်းတို့၏ ယာဉ်မောင်းများအတွက် လမ်းကြောင်းများ ဖန်တီးကာ အကောင်းဆုံးဖြစ်အောင် ကူညီပေးသည်။ ရေယာဉ်ပိုင်ရှင်များ သို့မဟုတ် ဒေသတွင်းနောက်ဆုံးမိုင်အရောက်ပို့ဆောင်မှုပြုလုပ်သည့် အသေးစားစီးပွားရေးလုပ်ငန်းသည် ပို့ဆောင်မှုအခြေအနေ၊ ယာဉ်မောင်းများ၏ တိုက်ရိုက်တည်နေရာကို ခြေရာခံနိုင်ပြီး သုံးစွဲသူများထံ အချိန်နှင့်တပြေးညီ အပ်ဒိတ်များ ပေးပို့နိုင်ပါသည်။ Zeo ၏ ပေးပို့မှုယာဉ်မောင်းများအတွက် မိုဘိုင်းအက်ပ်များတွင် waze၊ tomtom၊ Google မြေပုံများစသည်ဖြင့် လူကြိုက်များသောလမ်းကြောင်းပြကိရိယာအားလုံးနှင့် ချောမွေ့စွာပေါင်းစပ်မှုများ တပ်ဆင်ထားပါသည်။ Driver တွင် အရေးကြီးသောအသေးစိတ်အချက်များအားလုံးကို မှတ်စုများ၊ ဖောက်သည်အသေးစိတ်များနှင့် ပါဆယ်ထုပ်အရေအတွက်များအပါအဝင် ၎င်း၏လက်ချောင်းထိပ်များတွင် အရေးကြီးသောအသေးစိတ်အချက်များ ပါရှိသည်။ Zeo သည် ဒိုင်းနမစ်လိပ်စာ ပေါင်းထည့်ခြင်းနှင့် ဖျက်ခြင်းတို့ကို ကိုင်တွယ်ပြီး အကောင်းမွန်ဆုံးလမ်းကြောင်းကို ပေးဆောင်ရန် အတွဲလိုက်ကို ပြန်ပြောင်းပေးသည်။ Zeo ရေယာဉ်ပိုင်ရှင်များနှင့်အတူ ယာဉ်မောင်းတစ်ဦးလျှင် တစ်လလျှင် $200 အထိ သက်သာပြီး ပေးပို့မှုအထောက်အထား၊ လက်မှတ်များနှင့် ပေးပို့မှုအချိန်တံဆိပ်ခေါင်းများကဲ့သို့သော အရည်အသွေးမြင့်အစီရင်ခံစာများကို ဝင်ရောက်ကြည့်ရှုနိုင်သည်

Authentication ကို

ZeoRoutePlanner သည် API သို့ဝင်ရောက်ခွင့်ပြုရန် API သော့များကိုအသုံးပြုသည်။ ကျွန်ုပ်တို့၏ပလပ်ဖောင်းတွင် API သော့အသစ်ကို မှတ်ပုံတင်နိုင်သည် (https://zeorouteplanner.com/app/team/settings/genrate-token).

ZeoRoutePlanner သည် အောက်ပါပုံသဏ္ဍာန်ရှိသည့် ဘောင်များတွင် ဆာဗာထံ API တောင်းဆိုမှုများအားလုံးတွင် API သော့ကို ထည့်သွင်းရန် မျှော်လင့်သည်-

api_key: api_key

စတိုးဆိုင်ပိုင်ရှင် Api's

ရပ်တန့်မှုများဖန်တီးပါ။

curl --location --request POST '{{base_url}}/api/v5/route_stop' \
--header 'Content-Type: application/json' \
--data-raw '{
    "api_key": "api_key",
    "stops": [
        {
            "address": "Gwalior Madhaya Predesh",
            "latitude": 0,
            "longitude": 0.0,
            "notes": "dsf",
            "optimize_status": "normal",
            "stop_duration": 5,
            "stop_date": "2022-03-10",
            "parcel_count": 2,
            "arrive_start": "now",
            "arrive_end": "anytime",
            "earliest": 0,
            "latest": 0,
            "driver_id": "",
            "stop_type": "delivery",
            "customer_name": "nishu",
            "customer_mobile_number": "+911234567890",
            "customer_email": "",
            "metadata": [{}]
        }
    ]
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "Stops added successfully"
}

ဤအဆုံးမှတ်သည် ယာဉ်မောင်းအားလုံးကို ထုတ်ယူသည်။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v5/route_stop

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
မှတ်တိုင်များ [{}] Array ရပ်သည်။

Object Parameters များကို ရပ်ပါ။

parameter ပျက်ကွက် ဖေါ်ပြချက်
လိပ်စာ "" ရပ်ရန်လိပ်စာ
လတီ္တတွဒ် "" လိပ်စာ
လောင်ဂျီတွဒ် "" လိပ်စာ လောင်ဂျီကျူ
မှတ်စု "" ထည့်ရန် မက်ဆေ့ချ် တစ်ခုခု
optimize_status "ပုံမှန်"
ရပ်နားချိန် "မှတ်တိုင်မှာနေပါ"
ဆိုက်ရောက်_စသည် "" "အခု"
ဆိုက်ရောက် "" "အချိန်မရွေး"
အစောဆုံး ""
နောက်ဆုံး ""
stop_type "" (ပေးပို့/လာယူ)
ဖောက်သည်_အမည် "" ဖောက်သည်အမည်
customer_mobile_နံပါတ် "" ဝယ်ယူသူဆက်သွယ်ရန်နံပါတ်
driver_id "" ယာဉ်မောင်း ID
ရပ်ရန်_ရက်စွဲ "" ရပ်ရက်စွဲ
ပါဆယ်ထုပ်_အရေအတွက် 1 ပါဆယ်ထုပ်အရေအတွက်
metadata ကို [] စိတ်ကြိုက်အကွက်

Drivers အားလုံးကို ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v5/drivers?api_key=api_key'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "success",
  "data": {
    "drivers": [
      {
        "id": 44914,
        "email": "0f12ebdd@gmail.com",
        "name": "nishu jain",
        "address": null,
        "phone_no": "8959294300",
        "active": true
      }
    ]
  }
}

ဤအဆုံးမှတ်သည် ယာဉ်မောင်းအားလုံးကို ထုတ်ယူသည်။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v5/drivers

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး

Driver ဖန်တီးပါ။

curl --location -g --request POST '{{base_url}}/api/v5/drivers' \
--header 'Content-Type: application/json' \
--data-raw '{
  "api_key": "api_key",
  "email": "nishu.jain396@gmail.com",
  "address": "Netaji Subhash Marg, Lal Qila, Chandni Chowk, New Delhi, Delhi 110006",
  "password": "12345678",
  "name": "nishu jain",
  "phone_no": " "
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "Driver created successfully",
  "data": {
    "driver": {
      "id": 44953,
      "email": "testthird1@gmail.com",
      "name": "test",
      "address": "Netaji Subhash Marg, Lal Qila, Chandni Chowk, New Delhi, Delhi 110006",
      "phone_no": "+918959294300",
      "active": true
    }
  }
}

ဤအဆုံးမှတ်သည် ယာဉ်မောင်းကို ဖန်တီးသည်။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v5/drivers

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
အီးမေးလ်က "" ယာဉ်မောင်းအီးမေးလ်
လိပ်စာ "" ယာဉ်မောင်းလိပ်စာ
စကားဝှက်ကို "" ယာဉ်မောင်းအကောင့်အတွက် စကားဝှက်
နာမတျောကို "" ယာဉ်မောင်းအမည်
ဖုန်းနံပါတ် "" ဆက်သွယ်ရန်နံပါတ်

ယာဉ်မောင်းကိုအပ်ဒိတ်လုပ်

curl --location -g --request PUT '{{base_url}}/api/v5/drivers/:driver_id' \
--header 'Content-Type: application/json' \
--data-raw '{
  "api_key": "api_key",
  "name": "nishu jain",
    "address": "",
  "phone_no": "8959294300"
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "Driver updated successfully",
  "data": {
    "driver": {
      "id": 44953,
      "name": "nishu jain",
      "phone_no": "8959294300",
      "address": "dlehi",
      "email": "testthird1@gmail.com",
      "active": true
    }
  }
}

ဤအဆုံးမှတ်ကို အပ်ဒိတ်ဒရိုက်ဗာအသေးစိတ်။

HTTP တောင်းခံမှု

PUT {{base_url}}/api/v5/drivers/:driver_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
လိပ်စာ "" ယာဉ်မောင်းလိပ်စာ
နာမတျောကို "" ယာဉ်မောင်းအမည်
ဖုန်းနံပါတ် "" ယာဉ်မောင်းနံပါတ်ကို ဆက်သွယ်ပါ။
driver_id "" Driver id အားလုံးကို driver api မှရရှိသည်။

Driver ကိုဖျက်ပါ။

curl --location -g --request DELETE '{{base_url}}/api/v5/drivers/:driver_id' \
--header 'Content-Type: application/json' \
--data-raw '{
  "api_key": "api_key"
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "Driver deleted successful"
}

ဤအဆုံးမှတ်ကို ဖျက်ရန် ဒရိုက်ဘာ။

HTTP တောင်းခံမှု

DELETE {{base_url}}/api/v5/drivers/:driver_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
driver_id "" Driver id အားလုံးကို driver api မှရရှိသည်။

လမ်းကြောင်းဖန်တီးပါ။

curl --location -g --request POST '{{base_url}}/api/v5/routes' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "start_address"  :   "Monroe, NC, USA",
   "start_latitude"   : 0.0,
   "start_longitude"   :0.0,
   "end_address"  :   "Monroe, NC, USA",
   "end_latitude"   : 0.0,
   "end_longitude"   :0.0,
   "route_name"  :   "July 2020 Roadtrip",
   "driver_id": "44968",
   "orginal": true,
   "route_date": "",
   "stops"  : [
    {
    "address": "Gwalior Madhaya Predesh", 
    "latitude":106.672053, 
    "longitude":0.0, 
    "notes":"dsf", 
    "optimize_status":"normal",
    "stop_duration":5, 
    "parcel_count": "",
    "arrive_start":"now", 
    "arrive_end":"anytime", 
    "earliest":0, 
    "latest":0, 
    "stop_type":"delivery", 
    "customer_name":"nishu",
    "customer_mobile_number":"+911234567890",
    "metadata": [{}]
    }
  ]
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "success",
  "data": {
    "route": {
        "id": 103110,
        "start_address": "new york",
        "end_address": "new york",
        "start_latitude": 40.7128,
        "start_longitude": 74.006,
        "end_latitude": 40.7128,
        "end_longitude": 74.006,
        "created_at": "2021-07-21T04:07:41.000Z",
        "route_name": "test",
        "route_stops": [
          {
            "id": 222472903,
            "address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
            "latitude": 25.9330248,
            "longitude": -80.2445472,
            "notes": "GOod",
            "optimize_status": "normal",
            "stop_duration": 10,
            "customer_name": "",
            "customer_mobile_number": "",
            "street": "17475 NW 27th Ave, Miami Gardens, FL 33056, EE. UU.",
            "city": "Miami-Dade County",
            "state": "Florida",
            "country": "Estados Unidos",
            "postal_code": "33056",
            "customer_email": "",
            "order_number": "",
            "order_status": "route_created",
            "h_no": "",
            "locality": ""
         }
      ]
    }
  }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းကို ဖန်တီးသည်။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v5/routes

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
driver_id "" Driver id အားလုံးကို driver api မှရရှိသည်။
start_လိပ်စာ "" လမ်းကြောင်းစတင်ရန်လိပ်စာ
start_latitude "" လတ္တီတွဒ်လိပ်စာကို စတင်ပါ။
စတင်_လောင်ဂျီကျု "" လိပ်စာ လောင်ဂျီကျူ့ စတင်ပါ။
အဆုံး_လိပ်စာ "" လမ်းကြောင်းအဆုံးလိပ်စာ
အဆုံး_လတ္တီတွဒ် "" အဆုံးသတ်လိပ်စာ
အဆုံး_လောင်ဂျီကျု "" အဆုံးသတ်လိပ်စာ လောင်ဂျီကျူ
လမ်းကြောင်း_အမည် "" လမ်းကြောင်းအမည်
driver_id "" လမ်းကြောင်းသတ်မှတ်ရန် Driver Id
မူလ ""
မှတ်တိုင်များ [] လမ်းကြောင်းများကြားတွင် ရပ်ပါ။
လမ်းကြောင်း_ရက်စွဲ '' လမ်းကြောင်းရက်စွဲ

Object Parameters များကို ရပ်ပါ။

parameter ပျက်ကွက် ဖေါ်ပြချက်
လိပ်စာ "" ရပ်ရန်လိပ်စာ
လတီ္တတွဒ် "" လိပ်စာ
လောင်ဂျီတွဒ် "" လိပ်စာ လောင်ဂျီကျူ
မှတ်စု "" ထည့်ရန် မက်ဆေ့ချ် တစ်ခုခု
optimize_status "ပုံမှန်"
ရပ်နားချိန် "မှတ်တိုင်မှာနေပါ"
ဆိုက်ရောက်_စသည် "" "အခု"
ဆိုက်ရောက် "" "အချိန်မရွေး"
အစောဆုံး ""
နောက်ဆုံး ""
stop_type "" (ပေးပို့/လာယူ)
ဖောက်သည်_အမည် "" ဖောက်သည်အမည်
customer_mobile_နံပါတ် "" ဝယ်ယူသူဆက်သွယ်ရန်နံပါတ်
ပါဆယ်ထုပ်_အရေအတွက် 1 ပါဆယ်ထုပ်အရေအတွက်
metadata ကို [{}] စိတ်ကြိုက်အကွက်

လမ်းကြောင်းအချက်အလက်ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v5/routes/:route_id' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "success",
  "data": {
    "route": {
      "id": 103110,
      "start_address": "new york",
      "end_address": "new york",
      "start_latitude": 40.7128,
      "start_longitude": 74.006,
      "end_latitude": 40.7128,
      "end_longitude": 74.006,
      "created_at": "2021-07-21T04:07:41.000Z",
      "route_name": "test",
      "route_stops": [
        {
          "id": 222472903,
          "address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
          "latitude": 25.9330248,
          "longitude": -80.2445472,
          "notes": "GOod",
          "optimize_status": "normal",
          "stop_duration": 10,
          "customer_name": "",
          "customer_mobile_number": "",
          "street": "17475 NW 27th Ave, Miami Gardens, FL 33056, EE. UU.",
          "city": "Miami-Dade County",
          "state": "Florida",
          "country": "Estados Unidos",
          "postal_code": "33056",
          "customer_email": "",
          "order_number": "",
          "order_status": "route_created",
          "h_no": "",
          "locality": ""
        }
      ]
    }
  }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအချက်အလက်ကို ရယူပါ။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v5/routes/:route_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
route_id "" လမ်းကြောင်းစာရင်းမှ ကျွန်ုပ်တို့ရရှိသော လမ်းကြောင်း ID
driver_id "" လမ်းကြောင်း၏ Driver Id

လမ်းကြောင်းကို အကောင်းဆုံးဖြစ်အောင် ပြုလုပ်ထားသော အချက်အလက်ကို ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v5/routes/:route_id/optimize_route' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "optimized": true,
        "legs": [
            {
                "distance": {
                    "text": "0 km",
                    "value": 0
                },
                "duration": {
                    "text": "",
                    "value": 0
                },
                "end_address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
                "start_address": "new york",
                "start_location": {
                    "lat": 25.9330248,
                    "lng": -80.2445472
                },
                "end_location": {
                    "lat": 25.9330248,
                    "lng": -80.2445472
                },
                "stop_id": "222473116",
                "optimize_status": "normal",
                "stop_type": "delivery",
                "arr_time": 0,
                "end_time": 600,
                "optimize_order": 1,
                "stop_order": null,
                "share_stop_id": null,
                "address_typed": {},
                "overview_polyline": "cah}CnwwhN"
            },
            {
                "distance": {
                    "text": "0 km",
                    "value": 0
                },
                "duration": {
                    "text": "10 mins",
                    "value": 600
                },
                "end_address": "new york",
                "start_address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
                "start_location": {
                    "lat": 25.9330248,
                    "lng": -80.2445472
                },
                "end_location": {
                    "lat": 25.9330248,
                    "lng": -80.2445472
                },
                "stop_id": null,
                "optimize_status": "normal",
                "stop_type": "normal",
                "arr_time": 600,
                "end_time": 0,
                "optimize_order": 2,
                "stop_order": 2000,
                "share_stop_id": 0,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "cah}CnwwhN"
            }
        ]
    }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအချက်အလက်ကို ရယူပါ။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v5/routes/:route_id/optimize_route

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
driver_id "" လမ်းကြောင်း၏ Driver Id

လမ်းကြောင်းဖျက်ပါ

curl --location -g --request DELETE '{{base_url}}/api/v5/routes/:route_id' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "Route deleted successfully"
}

ဤအဆုံးမှတ်ကို ဖျက်သည့်လမ်းကြောင်း။

HTTP တောင်းခံမှု

DELETE {{base_url}}/api/v5/routes/:route_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
route_id "" လမ်းကြောင်းစာရင်းမှ ကျွန်ုပ်တို့ရရှိသော လမ်းကြောင်း ID
driver_id "" လမ်းကြောင်း၏ Driver Id

Driver လမ်းကြောင်းအားလုံးကို ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v5/routes' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "limit": 10,
   "offset": 10,
   "driver_id": "driver_id"
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "success",
  "data": {
    "routes": [
      {
        "id": 103110,
        "start_address": "new york",
        "end_address": "new york",
        "start_latitude": 40.7128,
        "start_longitude": 74.006,
        "end_latitude": 40.7128,
        "end_longitude": 74.006,
        "created_at": "2021-07-21T04:07:41.000Z",
        "route_name": "test",
        "route_stops": [
          {
            "id": 222472903,
            "address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
            "latitude": 25.9330248,
            "longitude": -80.2445472,
            "notes": "GOod",
            "optimize_status": "normal",
            "stop_duration": 10,
            "customer_name": "",
            "customer_mobile_number": "",
            "street": "17475 NW 27th Ave, Miami Gardens, FL 33056, EE. UU.",
            "city": "Miami-Dade County",
            "state": "Florida",
            "country": "Estados Unidos",
            "postal_code": "33056",
            "customer_email": "",
            "order_number": "",
            "order_status": "route_created",
            "h_no": "",
            "locality": ""
          }
        ]
      }
    ],
    "total_routes": 1
  }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအားလုံးကို ထုတ်ယူသည်။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v5/routes

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
ကန့်သတ် 50 မှတ်တမ်းများ ပြန်တင်ရန်
offset 0 နောက်တစ်ခုက မှတ်တမ်းတွေ ပြန်ပေးတယ်။
driver_id ယာဉ်မောင်း ID

စတိုးဆိုင်ပိုင်ရှင် လမ်းကြောင်းများအားလုံးကို ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v5/routes/all_routes' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "limit": 10,
   "offset": 10,
   "start_date": dd-mm-yyyy,
   "end_date": dd-mm-yyyy
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "success",
  "data": {
    "routes": [
      {
        "id": 103110,
        "start_address": "new york",
        "end_address": "new york",
        "start_latitude": 40.7128,
        "start_longitude": 74.006,
        "end_latitude": 40.7128,
        "end_longitude": 74.006,
        "created_at": "2021-07-21T04:07:41.000Z",
        "route_name": "test",
        "route_stops": [
          {
            "id": 222472903,
            "address": "17475 Northwest 27th Avenue, Miami Gardens, FL, USA",
            "latitude": 25.9330248,
            "longitude": -80.2445472,
            "notes": "GOod",
            "optimize_status": "normal",
            "stop_duration": 10,
            "customer_name": "",
            "customer_mobile_number": "",
            "street": "17475 NW 27th Ave, Miami Gardens, FL 33056, EE. UU.",
            "city": "Miami-Dade County",
            "state": "Florida",
            "country": "Estados Unidos",
            "postal_code": "33056",
            "customer_email": "",
            "order_number": "",
            "order_status": "route_created",
            "h_no": "",
            "locality": ""
          }
        ]
      }
    ],
    "total_routes": 1
  }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအားလုံးကို ထုတ်ယူသည်။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v5/routes/all_routes

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
ကန့်သတ် 50 မှတ်တမ်းများ ပြန်တင်ရန်
offset 0 နောက်တစ်ခုက မှတ်တမ်းတွေ ပြန်ပေးတယ်။
စတင်သည့်ရက်စွဲ nil လမ်းကြောင်းစတင်သည့်ရက်စွဲ (dd-mm-yyyy)
အဆုံး_ရက်စွဲ nil လမ်းကြောင်း အဆုံး ရက်စွဲ (dd-mm-yyyy)

စတိုးပိုင်ရှင်မှ ယာဉ်မောင်းအတွက် လမ်းကြောင်းဖန်တီးပါ။

curl --location --request POST '{{base_url}}/api/v5/routes/import_orders' \
--header 'Content-Type: multipart/form-data' \
--form 'start_address=""' \
--form 'end_address=""' \
--form 'driver_email="\"\""' \
--form 'api_key="\"\""' \
--form 'file=@"/path/to/file"'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "route": {
            "id": 104244,
            "start_address": "Delhi",
            "end_address": "Delhi",
            "start_latitude": 28.7040592,
            "start_longitude": 77.1024902,
            "end_latitude": 28.7040592,
            "end_longitude": 77.1024902,
            "created_at": "2021-09-27T06:18:29.000Z",
            "route_name": "2021-Sep-09",
            "route_stops": [
                {
                    "id": 16921825,
                    "address": "Delhi",
                    "latitude": 28.7040592,
                    "longitude": 77.1024902,
                    "notes": "test",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "ayush",
                    "customer_mobile_number": "7838479870",
                    "street": "",
                    "city": "",
                    "state": "Delhi",
                    "country": "India",
                    "postal_code": "",
                    "customer_email": "ayush@gmail.com",
                    "order_number": null,
                    "order_status": "route_created",
                    "h_no": "",
                    "locality": ""
                }
            ]
        }
    }
}

ယာဉ်မောင်းအတွက် လမ်းကြောင်းဖန်တီးရန်အတွက် ဤအဆုံးမှတ်ကို အသုံးပြုသည်။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v5/routes/import_orders

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး (စာမျက်နှာသို့သွားပါ။ ဝဘ်ဆိုဒ် url စတိုးပိုင်ရှင်အကောင့်သို့ ဝင်ရောက်ပြီးနောက် စာမျက်နှာသို့သွားပါ။ ချိန်ညှိချက်များစာမျက်နှာget api တိုကင်ကိုရွေးပြီး api_key ကိုထုတ်ပေးပါ)
start_လိပ်စာ "" လမ်းကြောင်း၏အစလိပ်စာ
အဆုံး_လိပ်စာ "" လမ်းကြောင်း၏အဆုံးလိပ်စာ
driver_အီးမေးလ် "" ယာဉ်မောင်း၏အီးမေးလ်
ဖိုင် "" ဖိုင်ကို xlsx ဖော်မတ်ဖြင့် အပ်လုဒ်လုပ်ရန် လင့်ခ်ကိုနှိပ်ခြင်းဖြင့် ဒေါင်းလုဒ်လုပ်နိုင်သည်(နမူနာဖိုင်လင့်ခ်)

သယ်ယူ ပို့ဆောင်ခြင်း။

လမ်းကြောင်းဖန်တီးပါ။

curl -X POST \
  {{base_url}}/api/v6/routes/ \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: 5c922b4b-faf5-ea12-5660-518110acc248' \
  -d '{
  "api_key": "**************",
  "driver_id": 11111111111111,
  "start_address":"Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
  "start_latitude":19.1190749,
  "start_longitude":72.8951151,
  "end_address":"Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
  "end_latitude":19.1190749,
  "end_longitude":72.8951151,
  "route_name":"04-Jan-2022",
  "stops":[
    {
      "id":1633502641818,
      "address":"Taj Mahal pikcup",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"pickup",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":0,
      "address_typed":{
        "delivery_count":1
      },
      "stop_duration": 2,
      "stop_order": 1,
      "metadata": [{}]
    },
    {
      "id":0,
      "address":"Taj Mahal pickup link delivery",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"delivery",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":1633502641818,
      "address_typed":{
        "delivery_count":0
      },
      "stop_duration": 2,
      "stop_order": 2
    },
    {
      "id":0,
      "address":"Taj Mahal seperate delivery",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"delivery",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":0,
      "address_typed":{
        "delivery_count":0
      },
      "stop_duration": 2,
      "stop_order": 2
    }
  ]
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "route": {
            "id": 103169,
            "route_name": "04-Jan-2022",
            "start_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "end_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "start_latitude": 19.1190749,
            "start_longitude": 72.8951151,
            "end_latitude": 19.1190749,
            "end_longitude": 72.8951151,
            "created_at": "2022-01-11T11:48:16.000Z",
            "route_stops": [
                {
                    "id": 222473230,
                    "address": "Taj Mahal seperate delivery",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 2,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 222473231,
                    "address": "Taj Mahal pickup",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 1
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 1,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 222473232,
                    "address": "Taj Mahal pickup linked delivery",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 2,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 222473231
                }
            ]
        }
    }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းကို ဖန်တီးသည်။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v6/routes

Query Parameters

parameter ဒေတာအမျိုးအစား ပျက်ကွက် ဖေါ်ပြချက်
driver_id int (*) လမ်းကြောင်းဖန်တီးရန်အတွက် driver_id လိုအပ်သည်။
start_လိပ်စာ စာတန်း (*) လမ်းကြောင်းစတင်သည့်နေရာမှလိပ်စာ
start_latitude ဒမ 0 start_address သို့မဟုတ် start_latitude၊start_longitude တစ်ခုခု လိုအပ်သည်။
စတင်_လောင်ဂျီကျု ဒမ 0 start_address သို့မဟုတ် start_latitude၊start_longitude တစ်ခုခု လိုအပ်သည်။
အဆုံး_လိပ်စာ ကြိုး လမ်းကြောင်း၏အဆုံးတည်နေရာ
အဆုံး_လတ္တီတွဒ် ဒမ end_address သို့မဟုတ် end_latitude၊end_longitude တစ်ခုခု လိုအပ်သည်။
အဆုံး_လောင်ဂျီကျု ဒမ end_address သို့မဟုတ် end_latitude၊end_longitude တစ်ခုခု လိုအပ်သည်။
လမ်းကြောင်း_အမည် စာတန်း (*) လက်ရှိရက်စွဲ (dd/mm/yy) လမ်းကြောင်းအမည်
မှတ်တိုင်များ အရာဝတ္ထုများ၏ ခင်းကျင်းမှု (*) အရာဝတ္ထု၏ array တွင် အချက်အလက်ကို ရပ်သည်။

Object Parameters များကို ရပ်ပါ။

parameter ဒေတာအမျိုးအစား ပျက်ကွက် ဖေါ်ပြချက်
id INT (*) 0 1. stop_type သည် ပေးပို့ခြင်းဖြစ်ပါက ID ပေးပို့ရန်မလိုအပ်ပါ။
2. stop_type တက်လာပါက ဂဏန်း 20 ID ပေးပို့ရန် လိုအပ်ပါသည်။
stop_order int (*) 0 ရပ်တန့်မှုအမိန့်ကိုထည့်ပါ။
share_stop_id int 0 1. stop_type ပေါ်လာပါက ၎င်းကို မူရင်းအတိုင်းထားလိုက်ပါ။
2. stop_type သည် ပေးပို့ခြင်းဖြစ်ပြီး လာယူခြင်းနှင့် ချိတ်ဆက်ခြင်းမပြုလိုပါက ၎င်းကို မူရင်းအတိုင်းထားခဲ့ပါ။
3. မည်သည့် pickup နှင့်မဆို လင့်ခ်ချိတ်လိုပါက ထို pickup stop id ၏ ID ကိုထည့်ပါ။
stop_type ကြိုး ပို့ခြင်း တန်ဖိုးများသည် ပို့ဆောင်ခြင်းနှင့် လာယူခြင်းတို့ ဖြစ်သင့်သည်။
လိပ်စာ ကြိုး လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
လတီ္တတွဒ် ဒမ 0 လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
လောင်ဂျီတွဒ် ဒမ 0 လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
မှတ်စု ကြိုး ဆက်စပ်အချက်အလက်များကို ရပ်ပါ။
ရပ်နားချိန် int 2 ဖောက်သည်ဆိုက်တွင် မည်မျှကြာကြောင်း ဆိုလိုသည်မှာ မိနစ်အတွင်း ရပ်နားသည့်ကြာချိန်ကို သတ်မှတ်သည်။
ဖောက်သည်_အမည် ကြိုး ဖောက်သည်အချက်အလက်
customer_mobile_နံပါတ် ကြိုး ဖောက်သည်အချက်အလက်
customer_အီးမေးလ် ကြိုး ဖောက်သည်အချက်အလက်
လိပ်စာ_ရိုက်ထားသည်။ {} {} 1. stop_type သည် လာယူမည်ဆိုပါက သော့သည် delivery_count ဖြစ်ပြီး တန်ဖိုးသည် int စုစုပေါင်းပေးပို့မှုအရေအတွက်တွင် ဤထုတ်ယူမှုနှင့် ချိတ်ဆက်ထားသည်။
2. stop_type သည် ပေးပို့ခြင်းဖြစ်ပါက ၎င်းကို မူရင်းအတိုင်းထားလိုက်ပါ။

လမ်းကြောင်းကို အပ်ဒိတ်လုပ်ပါ။

curl -X POST \
  {{base_url}}/api/v6/routes/:route_id \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: 5c922b4b-faf5-ea12-5660-518110acc248' \
  -d '{
  "api_key": "**************",
  "driver_id": 11111111111111,
  "start_address":"Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
  "start_latitude":19.1190749,
  "start_longitude":72.8951151,
  "end_address":"Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
  "end_latitude":19.1190749,
  "end_longitude":72.8951151,
  "route_name":"04-Jan-2022",
  "stops":[
    {
      "id":1633502641818,
      "address":"Taj Mahal pikcup",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"pickup",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":0,
      "address_typed":{
        "delivery_count":1
      },
      "stop_duration": 2,
      "stop_order": 1
    },
    {
      "id":0,
      "address":"Taj Mahal pickup link delivery",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"delivery",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":1633502641818,
      "address_typed":{
        "delivery_count":0
      },
      "stop_duration": 2,
      "stop_order": 2
    },
    {
      "id":0,
      "address":"Taj Mahal seperate delivery",
      "latitude":18.9225854,
      "longitude":72.83315429999999,
      "notes":"parsal in the left site",
      "stop_type":"delivery",
      "customer_name":"any",
      "customer_mobile_number":"0123456789",
      "customer_email":"example@gmail.com",
      "share_stop_id":0,
      "address_typed":{
        "delivery_count":0
      },
      "stop_duration": 2,
      "stop_order": 2
    }
  ]
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "route": {
            "id": 103169,
            "route_name": "04-Jan-2022",
            "start_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "end_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "start_latitude": 19.1190749,
            "start_longitude": 72.8951151,
            "end_latitude": 19.1190749,
            "end_longitude": 72.8951151,
            "created_at": "2022-01-11T11:48:16.000Z",
            "route_stops": [
                {
                    "id": 222473230,
                    "address": "Taj Mahal seperate delivery",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 2,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 222473231,
                    "address": "Taj Mahal pickup",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 1
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 1,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 222473232,
                    "address": "Taj Mahal pickup linked delivery",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "parsal in the left site",
                    "optimize_status": "normal",
                    "stop_duration": 2,
                    "customer_name": "any",
                    "customer_mobile_number": "0123456789",
                    "street": "",
                    "city": "",
                    "state": "",
                    "country": "",
                    "postal_code": "",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "example@gmail.com",
                    "order_number": null,
                    "order_status": null,
                    "stop_order": 2,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 222473231
                }
            ]
        }
    }
}

ဤအဆုံးမှတ်ကို အပ်ဒိတ်လမ်းကြောင်း။

HTTP တောင်းခံမှု

POST {{base_url}}/api/v6/routes/:route_id

Query Parameters

Query Parameters

parameter ဒေတာအမျိုးအစား ပျက်ကွက် ဖေါ်ပြချက်
driver_id int (*) လမ်းကြောင်းဖန်တီးရန်အတွက် driver_id လိုအပ်သည်။
start_လိပ်စာ စာတန်း (*) လမ်းကြောင်းစတင်သည့်နေရာမှလိပ်စာ
start_latitude ဒမ 0 start_address သို့မဟုတ် start_latitude၊start_longitude တစ်ခုခု လိုအပ်သည်။
စတင်_လောင်ဂျီကျု ဒမ 0 start_address သို့မဟုတ် start_latitude၊start_longitude တစ်ခုခု လိုအပ်သည်။
အဆုံး_လိပ်စာ ကြိုး လမ်းကြောင်း၏အဆုံးတည်နေရာ
အဆုံး_လတ္တီတွဒ် ဒမ end_address သို့မဟုတ် end_latitude၊end_longitude တစ်ခုခု လိုအပ်သည်။
အဆုံး_လောင်ဂျီကျု ဒမ end_address သို့မဟုတ် end_latitude၊end_longitude တစ်ခုခု လိုအပ်သည်။
လမ်းကြောင်း_အမည် စာတန်း (*) လက်ရှိရက်စွဲ (dd/mm/yy) လမ်းကြောင်းအမည်
မှတ်တိုင်များ အရာဝတ္ထုများ၏ ခင်းကျင်းမှု (*) အရာဝတ္ထု၏ array တွင် အချက်အလက်ကို ရပ်သည်။

Object Parameters များကို ရပ်ပါ။

parameter ဒေတာအမျိုးအစား ပျက်ကွက် ဖေါ်ပြချက်
id INT (*) 0 1. stop_type သည် ပေးပို့ခြင်းဖြစ်ပါက ID ပေးပို့ရန်မလိုအပ်ပါ။
2. stop_type တက်လာပါက ဂဏန်း 20 ID ပေးပို့ရန် လိုအပ်ပါသည်။
stop_order int (*) 0 ရပ်တန့်မှုအမိန့်ကိုထည့်ပါ။
share_stop_id int 0 1. stop_type ပေါ်လာပါက ၎င်းကို မူရင်းအတိုင်းထားလိုက်ပါ။
2. stop_type သည် ပေးပို့ခြင်းဖြစ်ပြီး လာယူခြင်းနှင့် ချိတ်ဆက်ခြင်းမပြုလိုပါက ၎င်းကို မူရင်းအတိုင်းထားခဲ့ပါ။
3. မည်သည့် pickup နှင့်မဆို လင့်ခ်ချိတ်လိုပါက ထို pickup stop id ၏ ID ကိုထည့်ပါ။
stop_type ကြိုး ပို့ခြင်း တန်ဖိုးများသည် ပို့ဆောင်ခြင်းနှင့် လာယူခြင်းတို့ ဖြစ်သင့်သည်။
လိပ်စာ ကြိုး လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
လတီ္တတွဒ် ဒမ 0 လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
လောင်ဂျီတွဒ် ဒမ 0 လိပ်စာ သို့မဟုတ် လတ္တီတွဒ်၊ လောင်ဂျီတွဒ် တစ်ခုခု လိုအပ်သည်။
မှတ်စု ကြိုး ဆက်စပ်အချက်အလက်များကို ရပ်ပါ။
ရပ်နားချိန် int 2 ဖောက်သည်ဆိုက်တွင် မည်မျှကြာကြောင်း ဆိုလိုသည်မှာ မိနစ်အတွင်း ရပ်နားသည့်ကြာချိန်ကို သတ်မှတ်သည်။
ဖောက်သည်_အမည် ကြိုး ဖောက်သည်အချက်အလက်
customer_mobile_နံပါတ် ကြိုး ဖောက်သည်အချက်အလက်
customer_အီးမေးလ် ကြိုး ဖောက်သည်အချက်အလက်
လိပ်စာ_ရိုက်ထားသည်။ {} {} 1. stop_type သည် လာယူမည်ဆိုပါက သော့သည် delivery_count ဖြစ်ပြီး တန်ဖိုးသည် int စုစုပေါင်းပေးပို့မှုအရေအတွက်တွင် ဤထုတ်ယူမှုနှင့် ချိတ်ဆက်ထားသည်။
2. stop_type သည် ပေးပို့ခြင်းဖြစ်ပါက ၎င်းကို မူရင်းအတိုင်းထားလိုက်ပါ။

လမ်းကြောင်းအချက်အလက်ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v6/routes/:route_id' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "route": {
            "id": 104248,
            "start_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "end_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
            "start_latitude": 19.1190749,
            "start_longitude": 72.8951151,
            "end_latitude": 19.1190749,
            "end_longitude": 72.8951151,
            "created_at": "2021-12-30T07:32:10.000Z",
            "route_name": "06-Oct-2021",
            "route_stops": [
                {
                    "id": 16921846,
                    "address": "Taj Mahal Tower, Mumbai, PJ Ramchandani Marg, Apollo Bandar, Colaba, Mumbai, Maharashtra, India",
                    "latitude": 18.9225854,
                    "longitude": 72.8331543,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "PJ Ramchandani Marg, Apollo Bandar, Colaba, Mumbai, Maharashtra 400001, India",
                    "city": "Mumbai",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400001",
                    "address_typed": {
                        "delivery_count": 2
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 16921847,
                    "address": "Juhu Beach, Mumbai, Maharashtra",
                    "latitude": 19.1095171,
                    "longitude": 72.8241298,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "Juhu Beach, Juhu, Mumbai, Maharashtra 400049, India",
                    "city": "Mumbai Suburban",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400049",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 16921846
                },
                {
                    "id": 16921848,
                    "address": "JW Marriott Mumbai Juhu, Juhu Road, Juhu Tara, Juhu, Mumbai, Maharashtra, India",
                    "latitude": 19.1018504,
                    "longitude": 72.8262233,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "Juhu Rd, Juhu Tara, Juhu, Mumbai, Maharashtra 400049, India",
                    "city": "Mumbai Suburban",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400049",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 16921846
                },
                {
                    "id": 16921849,
                    "address": "Hotel Sea Princess, Juhu Road, near Juhu Beach, Airport Area, Juhu, Mumbai, Maharashtra, India",
                    "latitude": 19.09326,
                    "longitude": 72.8281264,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "Juhu Rd, near Juhu Beach, Airport Area, Juhu, Mumbai, Maharashtra 400049, India",
                    "city": "Mumbai Suburban",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400049",
                    "address_typed": {
                        "delivery_count": 2
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 0
                },
                {
                    "id": 16921850,
                    "address": "Standard Chartered Mumbai 23-25 M G Road, Mumbai Branch, 23-25, Mahatma Gandhi Road, Azad Maidan, Fort, Mumbai, Maharashtra, India",
                    "latitude": 18.9339261,
                    "longitude": 72.8313813,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "23-25, Mahatma Gandhi Road, Azad Maidan, Fort, Mumbai, Maharashtra 400001, India",
                    "city": "Mumbai",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400001",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 16921849
                },
                {
                    "id": 16921851,
                    "address": "Horniman Circle Garden, Homji Street, Kala Ghoda, Fort, Mumbai, Maharashtra, India",
                    "latitude": 18.93197,
                    "longitude": 72.8350343,
                    "notes": "",
                    "optimize_status": "normal",
                    "stop_duration": 5,
                    "customer_name": "",
                    "customer_mobile_number": "",
                    "street": "Horniman Circle Garden, 11, Homji St, Kala Ghoda, Fort, Mumbai, Maharashtra 400001, India",
                    "city": "Mumbai",
                    "state": "Maharashtra",
                    "country": "India",
                    "postal_code": "400001",
                    "address_typed": {
                        "delivery_count": 0
                    },
                    "customer_email": "",
                    "order_number": null,
                    "order_status": null,
                    "h_no": "",
                    "locality": "",
                    "share_stop_id": 16921849
                }
            ]
        }
    }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအချက်အလက်ကို ရယူပါ။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v6/routes/:route_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
route_id "" လမ်းကြောင်းစာရင်းမှ ကျွန်ုပ်တို့ရရှိသော လမ်းကြောင်း ID
driver_id "" လမ်းကြောင်း၏ Driver Id

လာယူပို့ဆောင်မှုလမ်းကြောင်းကို ဖျက်ပါ။

curl --location -g --request DELETE '{{base_url}}/api/v6/routes/:route_id' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် JSON ကို ဤကဲ့သို့ တည်ဆောက်ထားသည့်အတိုင်း ပြန်ပေးသည်-

{
  "code": 200,
  "status": true,
  "message": "Route deleted successfully"
}

ဤအဆုံးမှတ်ကို ဖျက်သည့်လမ်းကြောင်း။

HTTP တောင်းခံမှု

DELETE {{base_url}}/api/v6/routes/:route_id

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
route_id "" လမ်းကြောင်းစာရင်းမှ ကျွန်ုပ်တို့ရရှိသော လမ်းကြောင်း ID
driver_id "" လမ်းကြောင်း၏ Driver Id

လမ်းကြောင်းကို အကောင်းဆုံးဖြစ်အောင် ပြုလုပ်ထားသော အချက်အလက်ကို ရယူပါ။

curl --location -g --request GET '{{base_url}}/api/v6/routes/:route_id/optimize_route' \
--header 'Content-Type: application/json' \
--data-raw '{
   "api_key"  :   "api_key",
   "driver_id": 44968
}'

အထက်ဖော်ပြပါ command သည် optimize:true ဖြစ်လျှင် ဤကဲ့သို့ဖွဲ့စည်းထားသော JSON ကို ပြန်ပေးသည် ။

{
    "code": 200,
    "status": true,
    "message": "success",
    "data": {
        "optimized": true,
        "legs": [
            {
                "distance": {
                    "text": "11 km",
                    "value": 11545
                },
                "duration": {
                    "text": "22 mins 55 secs",
                    "value": 1375
                },
                "end_address": "Hotel Sea Princess, Juhu Road, near Juhu Beach, Airport Area, Juhu, Mumbai, Maharashtra, India",
                "start_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 19.1190749,
                    "lng": 72.8951151
                },
                "end_location": {
                    "lat": 19.09326,
                    "lng": 72.8281264
                },
                "stop_id": "16921855",
                "optimize_status": "normal",
                "stop_type": "pickup",
                "arr_time": 1375,
                "end_time": 1675,
                "optimize_order": 1,
                "stop_order": 4,
                "share_stop_id": 0,
                "address_typed": {
                    "delivery_count": 2
                },
                "overview_polyline": "ieusByg|{L|@Dj@N\\Nb@d@`@h@HRF`@MnAFvBL\\|APhA[NK^LXCj@WvBUh@EZXb@BbACh@K`AdAhAvAZjBDx@z@xAhD|ElA~Dz@nAn@LhBf@rCv@`BP|DX~BL`A?n@GrCy@l@Cx@@dBHv@NbAf@hFnCr@h@e@r@}@dA_DjCyBdBiB|Ak@n@_@j@k@xAQz@Gv@SvHEl@Mv@YhAg@bBsBvHu@|C_IlYw@hDkAhGgCtNs@nEo@jDn@t@f@bAb@hAPbAbAxK^dDAbABj@AjAM`AcAdD]tAMz@]tCOzAmBlIcCjJ?j@JT\\ZvUxCMfAQx@C^m@vBm@vAqAvB{EzGzDvB~BhAbUbHXPj@jGcAxMCpBb@xN@~AKlApCj@jBZpBNjNClAI@R}E`OyC~QoDtWaC|O?LFXJLPFZBlI]lHy@nCg@tFk@pBOT?^FXRHR\\hBBHFFD@X?~B[dCYHCHGFO@SEaA@WFQHKXMT@vEYxG[x@ADf@"
            },
            {
                "distance": {
                    "text": "21 km",
                    "value": 21458
                },
                "duration": {
                    "text": "34 mins 46 secs",
                    "value": 2086
                },
                "end_address": "Taj Mahal Tower, Mumbai, PJ Ramchandani Marg, Apollo Bandar, Colaba, Mumbai, Maharashtra, India",
                "start_address": "Hotel Sea Princess, Juhu Road, near Juhu Beach, Airport Area, Juhu, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 19.09326,
                    "lng": 72.8281264
                },
                "end_location": {
                    "lat": 18.9225854,
                    "lng": 72.8331543
                },
                "stop_id": "16921852",
                "optimize_status": "normal",
                "stop_type": "pickup",
                "arr_time": 3461,
                "end_time": 3761,
                "optimize_order": 2,
                "stop_order": 1,
                "share_stop_id": 0,
                "address_typed": {
                    "delivery_count": 2
                },
                "overview_polyline": "gdpsBufo{LEg@~C?`@DZLZTh@j@h@Xb@JtNx@`BXz@FrBEn@?t@SnDZHEHONg@^kDhAyHfBuIf@mCx@}LdLLbCFvIB~r@pAtBF~CTtIfAbA@zAC~AW|JwCxBk@~EyAzD{AfBi@pAa@tJsC|Ai@rK`@p@?fAE~@Sv@_@vCcB^QXK~E]xBg@xGq@lAGrRC`JGzAUlTkIrPuGzEuA|AYbHo@bIMpFNbERpI\\fUtCxGx@zDb@`APh@`@hEgBv@_@rBqDd@e@f@SbAQ`B?TCpA[j@YXMZWf@w@bOaXNo@KUCWBWHULQRKZGZBXNNTHX?XFTLLnA~@`MpIjHlE~@v@rHlE~LvGbBj@zEjApBv@nBdA`CzAdA~@n@r@p@f@l@Zn@Pv@Nr@ZrCj@fGz@|Cv@`B\\|Dh@l@PpANlE?nABbAZ|DbBfB`@fALrOh@~@Hn@RlCvAl@Vn@Jb@?zDWzCI`C?rBJrTrAnBTbBXbFdAvEdA|LhBbGl@tATfAJr@A|AI|AMxB[|BOf@H|Bf@n@NrAx@lAdAv@\\t@JvEBfFI`HQR?d@Fp@ExCFvAHvGjAr@J`@JhETdFHhBHvC@h@DvB\\f@BlD@jAExBa@t@IlAG^G\\ObAkA\\Q`@GxE_@tDS~AUXO\\[`AgAb@]f@[p@U`JaB~@K`AAjAGdAOl@Md@OjBq@~@a@t@Sn@Ef@?tCTbC`@nFtAbAb@`@L\\DZ?|WwArBEfBAxBh@vBt@nEfA|Cp@dBl@p@\\~LfIVTTb@TXh@HTNbCMpHKjICxH@tACz@Qt@]bAeAXg@?Q@QFOJMLGPEN?N@rB{@|C_CfA{@J?@BJFt@dANNN@J?tAgALGVA~E|ATRYAoE}AUEKDiAx@"
            },
            {
                "distance": {
                    "text": "1 km",
                    "value": 1314
                },
                "duration": {
                    "text": "6 mins 4 secs",
                    "value": 364
                },
                "end_address": "Horniman Circle Garden, Homji Street, Kala Ghoda, Fort, Mumbai, Maharashtra, India",
                "start_address": "Taj Mahal Tower, Mumbai, PJ Ramchandani Marg, Apollo Bandar, Colaba, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 18.9225854,
                    "lng": 72.8331543
                },
                "end_location": {
                    "lat": 18.93197,
                    "lng": 72.8350343
                },
                "stop_id": "16921857",
                "optimize_status": "normal",
                "stop_type": "delivery",
                "arr_time": 3825,
                "end_time": 4125,
                "optimize_order": 3,
                "stop_order": 6,
                "share_stop_id": 16921855,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "aznrBmgp{Lc@XICoAgBKG_GtEi@l@S^@TCPOXMJQFS?[IOMIMCQ?Q@QFOGUEa@[gASq@q@o@[QiASyAKmDc@uEsAmAc@s@a@y@i@_BuAi@OoF_@"
            },
            {
                "distance": {
                    "text": "1 km",
                    "value": 1082
                },
                "duration": {
                    "text": "6 mins 33 secs",
                    "value": 393
                },
                "end_address": "Standard Chartered Mumbai 23-25 M G Road, Mumbai Branch, 23-25, Mahatma Gandhi Road, Azad Maidan, Fort, Mumbai, Maharashtra, India",
                "start_address": "Horniman Circle Garden, Homji Street, Kala Ghoda, Fort, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 18.93197,
                    "lng": 72.8350343
                },
                "end_location": {
                    "lat": 18.9339261,
                    "lng": 72.8313813
                },
                "stop_id": "16921856",
                "optimize_status": "normal",
                "stop_type": "delivery",
                "arr_time": 4218,
                "end_time": 4518,
                "optimize_order": 4,
                "stop_order": 5,
                "share_stop_id": 16921855,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "isprB{up{LcAIVKzAJn@v@Pn@Ar@I^QZWV[N_@Ha@A[E[OGJSFkHu@sBjKqBxIxBS|B["
            },
            {
                "distance": {
                    "text": "20 km",
                    "value": 20984
                },
                "duration": {
                    "text": "35 mins 42 secs",
                    "value": 2142
                },
                "end_address": "JW Marriott Mumbai Juhu, Juhu Road, Juhu Tara, Juhu, Mumbai, Maharashtra, India",
                "start_address": "Standard Chartered Mumbai 23-25 M G Road, Mumbai Branch, 23-25, Mahatma Gandhi Road, Azad Maidan, Fort, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 18.9339261,
                    "lng": 72.8313813
                },
                "end_location": {
                    "lat": 19.1018504,
                    "lng": 72.8262233
                },
                "stop_id": "16921854",
                "optimize_status": "normal",
                "stop_type": "delivery",
                "arr_time": 6360,
                "end_time": 6660,
                "optimize_order": 5,
                "stop_order": 3,
                "share_stop_id": 16921852,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "y_qrB_zo{LrDc@Yk@Y[w@c@cK}GoAm@qA_@cJuB_Cy@kBa@eB?uBD_ThAoBHe@?SAu@WaA]qFwA_AQ_AOuCSc@Am@Du@R}@^mBr@e@Nm@LgANmAF_AB_AH_J~Am@Tg@Xc@\\_AfA_@\\]N_BVwDRyE^]FYNeAhAa@Ra@FmAFs@H{B`@mADoDAg@CwB]g@EwCAkBIeFIiEUoAM_HoAsBK{EGaDLoJNcACuCC{@M{@a@mAcAsAw@i@Q_Cg@a@E}BLsBXaBNaAFsABiAKsAUgE_@{@Q}LkBuEiAaFeAeBWmBUqTsAsBK_C?{CH{DVg@Aq@Ko@WmCwAm@S}@GqOi@kAMiBa@}DeB_AYmAEqE?qAOs@@}Dk@wBa@sA]oB_@iAQaC]uCk@w@GgASe@Qu@]u@k@i@m@gAcAiC_BcB}@uBy@_B]_D}@_A[}Aw@aH{Du@q@aC{AqDsBgAg@mHkE_MkImBmAQCSDSASE]\\_FpIiHlM[n@O`@Kb@EhBGVKJKBMAu@k@c@Wa@Wu@K_A?_ANc@Rc@`@sBrDyG`DcB_AyMcBmBSsCc@_M_BeW}@aILaHn@{AXwEtAiK|DgDvAmTnIaBV{]Fy@DeHv@_CLOHaCXmARi@RqDtBe@NaATiBFiLc@OB_C|@mDjAyJvCoC`A}C|@wD~@_IjC_B^gAHcBB}@CmJkAqF]sNMmFKg\\w@wIFaCMcDAqFMm@vIU|BaC|Ly@bFi@|DKvAIZOJUAoD[u@Ro@?sBD{@GaBYuNy@c@Ki@Yi@k@[U[Ma@EyE@yGZwEX[TORCXDnAEREFSNyGdAS@OCMIIM_@sBEIQOYKuDVqIdAw@L}@HB\\XHHF@LAHEHw@J"
            },
            {
                "distance": {
                    "text": "1 km",
                    "value": 1040
                },
                "duration": {
                    "text": "7 mins 48 secs",
                    "value": 468
                },
                "end_address": "Juhu Beach, Mumbai, Maharashtra",
                "start_address": "JW Marriott Mumbai Juhu, Juhu Road, Juhu Tara, Juhu, Mumbai, Maharashtra, India",
                "start_location": {
                    "lat": 19.1018504,
                    "lng": 72.8262233
                },
                "end_location": {
                    "lat": 19.1095171,
                    "lng": 72.8241298
                },
                "stop_id": "16921853",
                "optimize_status": "normal",
                "stop_type": "delivery",
                "arr_time": 6828,
                "end_time": 7128,
                "optimize_order": 6,
                "stop_order": 2,
                "share_stop_id": 16921852,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "_zqsB_}n{Le@HM?MGEGCOBKRME]cBVkBL}H^QEyDb@wHXMRE\\Bj@GLOPYHqA?]DUXAfBmC~@WRJdA"
            },
            {
                "distance": {
                    "text": "9 km",
                    "value": 9969
                },
                "duration": {
                    "text": "26 mins 34 secs",
                    "value": 1594
                },
                "end_address": "Raheja Vihar, Chandivali, Powai, Mumbai, Maharashtra, India",
                "start_address": "Juhu Beach, Mumbai, Maharashtra",
                "start_location": {
                    "lat": 19.1095171,
                    "lng": 72.8241298
                },
                "end_location": {
                    "lat": 19.1190749,
                    "lng": 72.8951151
                },
                "stop_id": null,
                "optimize_status": "normal",
                "stop_type": "normal",
                "arr_time": 8422,
                "end_time": 0,
                "optimize_order": 7,
                "stop_order": 2000,
                "share_stop_id": 0,
                "address_typed": {
                    "delivery_count": 0
                },
                "overview_polyline": "ogssBenn{LKeAVSlC_A@gBKBAaAGaA@u@CQX@JUCY{@Bg@E[GeEwByFgDs@m@kAsAu@UdBqDsC@_ICyKBU?DeSJgCEoGLuC@y@E{EGe@MmDIYGc@KuD@mDG]GsEAwGBeD@Y|@cE`@wBL{@\\sFr@{EB_@?]GwABkCP_Cf@iBvCuGpBeDv@kDn@{DrEyQp@gDVeBV{BZiBnAuEPw@Fo@@}@GoAkA{M[{CY_A[w@g@u@UUWc@pH_c@z@kDhEuOxBsIj@oBxDoNJy@Dy@JcFHgB\\gBXs@l@mAb@g@r@s@zCgChEgDhAyASKSUiFwC_@Mu@Qy@GkAEi@@i@F}@XmAVm@Hq@@qAE{Gc@cAOwC{@mBe@_@IEU{@oAmA_EiD}E{@yAEy@[kBiAwAaAeAi@JcABc@C[Yi@DwBTk@VYB_@MOJiAZ}AQM]GwBLoAGa@ISa@i@c@e@]Ok@O}@E"
            }
        ]
    }
}

အထက်ဖော်ပြပါ command သည် optimize:false- ဖြစ်ပါက ဤကဲ့သို့ဖွဲ့စည်းထားသော JSON ကို ပြန်ပေးသည် ။

{
    "code": 200,
    "status": true,
    "message": "Some stops is not settled in route optimization",
    "data": {
        "optimized": false,
        "legs": [],
        "route_stops": [
          {
            "id": 17019017,
            "address": "New York",
            "latitude": 40.7128,
            "longitude": 74.006,
            "optimized": false,
            "errors": [
                "Could not found nearest road"
            ]
          }
        ]
    }
}

ဤအဆုံးမှတ်သည် လမ်းကြောင်းအချက်အလက်ကို ရယူပါ။

HTTP တောင်းခံမှု

GET {{base_url}}/api/v6/routes/:route_id/optimize_route

Query Parameters

parameter ပျက်ကွက် ဖေါ်ပြချက်
api_key "" Api Access ကီး
driver_id "" လမ်းကြောင်း၏ Driver Id

WebHooks

ZeoRoutePlanner သည် သင့်အား အဖြစ်အပျက်များအကြောင်း ကျွန်ုပ်တို့ အသိပေးနိုင်သည့် webhook ကို အသုံးပြုရန် ခွင့်ပြုပါသည်။ ကျွန်ုပ်တို့၏ platform တွင် webhook အသစ်တစ်ခုကို မှတ်ပုံတင်နိုင်သည် ("https://zeorouteplanner.com/app/team/settings/genrate-token").

ဖြစ်ရပ်များ

မှားယွင်းမှုများ

Zeo Route Planner API သည် အောက်ပါအမှားအယွင်းကုဒ်များကို အသုံးပြုသည်-

အမှားကုတ် အဓိပ်ပာယျ
400 တောင်းဆိုမှုမကောင်းပါ - သင့်တောင်းဆိုချက်သည် မမှန်ကန်ပါ။
401 ခွင့်ပြုချက်မရှိဘဲ -- သင့် API သော့မှားနေပါသည်။
404 ရှာမတွေ့ပါ -- သတ်မှတ်ထားသော တောင်းဆိုချက်ကို ရှာမတွေ့ပါ။
500 အတွင်းပိုင်းဆာဗာ အမှား -- ကျွန်ုပ်တို့ ဆာဗာတွင် ပြဿနာရှိနေသည်။ နောက်မှ ထပ်စမ်းကြည့်ပါ။
503 ဝန်ဆောင်မှုမရနိုင်ပါ -- ပြုပြင်ထိန်းသိမ်းရန်အတွက် ကျွန်ုပ်တို့သည် ယာယီအော့ဖ်လိုင်းဖြစ်နေပါသည်။ နောက်မှ ထပ်စမ်းကြည့်ပါ။