അവതാരിക
Zeo റൂട്ട് പ്ലാനർ ഫ്ലീറ്റ് ഉടമകളെ അവരുടെ ഡ്രൈവർമാർക്കായി റൂട്ടുകൾ സൃഷ്ടിക്കാനും ഒപ്റ്റിമൈസ് ചെയ്യാനും സഹായിക്കുന്നു. പ്രാദേശിക ലാസ്റ്റ് മൈൽ ഡെലിവറി ചെയ്യുന്ന ഫ്ലീറ്റ് ഉടമകൾക്കോ ചെറുകിട ബിസിനസ്സുകൾക്കോ ഡെലിവറി നില, ഡ്രൈവർമാരുടെ തത്സമയ ലൊക്കേഷൻ എന്നിവ ട്രാക്ക് ചെയ്യാനും ഉപഭോക്താക്കൾക്ക് തത്സമയ അപ്ഡേറ്റുകൾ അയയ്ക്കാനും കഴിയും. ഡെലിവറി ഡ്രൈവർമാർക്കായുള്ള Zeo-യുടെ മൊബൈൽ ആപ്പുകൾ, waze, tomtom, Google Maps എന്നിവയുൾപ്പെടെ എല്ലാ ജനപ്രിയ നാവിഗേഷൻ ടൂളുകളുമായും തടസ്സമില്ലാത്ത സംയോജനം കൊണ്ട് സജ്ജീകരിച്ചിരിക്കുന്നു. കുറിപ്പുകളും ഉപഭോക്തൃ വിശദാംശങ്ങളും പാഴ്സൽ എണ്ണവും ഉൾപ്പെടെ എല്ലാ പ്രധാന വിശദാംശങ്ങളും ഡ്രൈവറുടെ വിരൽത്തുമ്പിൽ ഉണ്ട്. Zeo ഡൈനാമിക് അഡ്രസ് കൂട്ടിച്ചേർക്കലും ഇല്ലാതാക്കലും കൈകാര്യം ചെയ്യുന്നു കൂടാതെ ഏറ്റവും ഒപ്റ്റിമൈസ് ചെയ്ത റൂട്ട് നൽകുന്നതിന് ക്രമം റീറൂട്ട് ചെയ്യുന്നു. Zeo ഫ്ലീറ്റ് ഉടമകൾ ഒരു ഡ്രൈവർക്ക് പ്രതിമാസം 200$ വരെ ലാഭിക്കുകയും ഡെലിവറി തെളിവുകൾ, ഒപ്പുകൾ, ഡെലിവറി ടൈം സ്റ്റാമ്പുകൾ എന്നിവ പോലുള്ള ഉയർന്ന നിലവാരമുള്ള റിപ്പോർട്ടുകളിലേക്ക് ആക്സസ് നേടുകയും ചെയ്യുന്നു.
ആധികാരികത
API-ലേക്ക് ആക്സസ് അനുവദിക്കുന്നതിന് ZeoRoutePlanner API കീകൾ ഉപയോഗിക്കുന്നു. ഞങ്ങളുടെ പ്ലാറ്റ്ഫോമിൽ നിങ്ങൾക്ക് ഒരു പുതിയ API കീ രജിസ്റ്റർ ചെയ്യാം (https://zeorouteplanner.com/app/team/settings/genrate-token).
സെർവറിലേക്കുള്ള എല്ലാ API അഭ്യർത്ഥനകളിലും API കീ ഉൾപ്പെടുത്താൻ ZeoRoutePlanner പ്രതീക്ഷിക്കുന്നു, ഇനിപ്പറയുന്നതു പോലെ കാണപ്പെടുന്ന ഒരു പാരാം:
api_key: api_key
സ്റ്റോർ ഉടമ അപിയുടെ
സ്റ്റോപ്പുകൾ സൃഷ്ടിക്കുക
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": [{}]
}
]
}'
മുകളിലുള്ള കമാൻഡ് JSON ഘടനാപരമായ രീതിയിൽ നൽകുന്നു:
{
"code": 200,
"status": true,
"message": "Stops added successfully"
}
ഈ എൻഡ് പോയിന്റ് എല്ലാ ഡ്രൈവർമാരെയും വീണ്ടെടുക്കുന്നു.
HTTP അഭ്യർത്ഥന
POST {{base_url}}/api/v5/route_stop
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
നിർത്തുന്നു | [{}] | അറേ നിർത്തുന്നു |
ഒബ്ജക്റ്റ് പാരാമീറ്ററുകൾ നിർത്തുന്നു
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
വിലാസം | "" | സ്റ്റോപ്പ് വിലാസം |
അക്ഷാംശം | "" | വിലാസം Latitude |
രേഖാംശം | "" | വിലാസം രേഖാംശം |
കുറിപ്പുകൾ | "" | ചേർക്കാൻ എന്തെങ്കിലും സന്ദേശം |
optimize_status | "സാധാരണ" | |
സ്റ്റോപ്പ്_ഡ്യൂറേഷൻ | "സ്റ്റോപ്പിൽ നിൽക്കൂ" | |
എത്തിച്ചേരുക_ആരംഭിക്കുക | "" | "ഇപ്പോൾ" |
എത്തിച്ചേരൽ_അവസാനം | "" | "ഏതുസമയത്തും" |
ആദ്യകാല | "" | |
ഏറ്റവും പുതിയ | "" | |
stop_type | "" | (ഡെലിവറി/പിക്കപ്പ്) |
ഉപഭോക്താവിന്റെ പേര് | "" | ഉപഭോക്താവിന്റെ പേര് |
customer_mobile_number | "" | കസ്റ്റമർ കോൺടാക്റ്റ് നമ്പർ |
ഡ്രൈവർ_ഐഡി | "" | ഡ്രൈവർ ഐഡി |
സ്റ്റോപ്പ്_തീയതി | "" | സ്റ്റോപ്പ് തീയതി |
പാഴ്സൽ_എണ്ണം | 1 | പാഴ്സൽ എണ്ണം |
മെറ്റാഡാറ്റ | [] | കസ്റ്റം ഫീൽഡ് |
എല്ലാ ഡ്രൈവറുകളും നേടുക
curl --location -g --request GET '{{base_url}}/api/v5/drivers?api_key=api_key'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
ഡ്രൈവർ സൃഷ്ടിക്കുക
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": " "
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
ഇമെയിൽ | "" | ഡ്രൈവർ ഇമെയിൽ |
വിലാസം | "" | ഡ്രൈവർ വിലാസം |
പാസ്വേഡ് | "" | ഡ്രൈവർ അക്കൗണ്ടിനുള്ള പാസ്വേഡ് |
പേര് | "" | ഡ്രൈവറുടെ പേര് |
ഫോൺ നമ്പർ | "" | ബന്ധപ്പെടേണ്ട നമ്പർ |
ഡ്രൈവർ പരിഷ്കരിക്കുക
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"
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
വിലാസം | "" | ഡ്രൈവർ വിലാസം |
പേര് | "" | ഡ്രൈവറുടെ പേര് |
ഫോൺ നമ്പർ | "" | ഡ്രൈവറുടെ കോൺടാക്റ്റ് നമ്പർ |
ഡ്രൈവർ_ഐഡി | "" | എല്ലാ ഡ്രൈവർ എപിഐകളിൽ നിന്നും നമുക്ക് ലഭിക്കുന്ന ഡ്രൈവർ ഐഡി |
ഡ്രൈവർ ഇല്ലാതാക്കുക
curl --location -g --request DELETE '{{base_url}}/api/v5/drivers/:driver_id' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key": "api_key"
}'
മുകളിലുള്ള കമാൻഡ് JSON ഘടനാപരമായ രീതിയിൽ നൽകുന്നു:
{
"code": 200,
"status": true,
"message": "Driver deleted successful"
}
ഈ എൻഡ്പോയിന്റ് ഡ്രൈവർ ഇല്ലാതാക്കുന്നു.
HTTP അഭ്യർത്ഥന
DELETE {{base_url}}/api/v5/drivers/:driver_id
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | 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": [{}]
}
]
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
ഡ്രൈവർ_ഐഡി | "" | എല്ലാ ഡ്രൈവർ എപിഐകളിൽ നിന്നും നമുക്ക് ലഭിക്കുന്ന ഡ്രൈവർ ഐഡി |
ആരംഭ_വിലാസം | "" | റൂട്ട് ആരംഭ വിലാസം |
ആരംഭ_അക്ഷാംശം | "" | വിലാസം ആരംഭിക്കുക Latitude |
ആരംഭ_രേഖാംശം | "" | രേഖാംശ വിലാസം ആരംഭിക്കുക |
അവസാനം_വിലാസം | "" | റൂട്ട് അവസാനിക്കുന്ന വിലാസം |
അവസാനം_അക്ഷാംശം | "" | അവസാന വിലാസം Latitude |
അവസാനം_രേഖാംശം | "" | അവസാന വിലാസം രേഖാംശം |
റൂട്ടിന്റെ_നാമം | "" | റൂട്ടിന്റെ പേര് |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ട് നൽകാനുള്ള ഡ്രൈവർ ഐഡി |
ഒറിജിനൽ | "" | |
നിർത്തുന്നു | [] | റൂട്ടുകൾക്കിടയിൽ നിർത്തുന്നു |
റൂട്ട്_തീയതി | '' | റൂട്ട് തീയതി |
ഒബ്ജക്റ്റ് പാരാമീറ്ററുകൾ നിർത്തുന്നു
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
വിലാസം | "" | സ്റ്റോപ്പ് വിലാസം |
അക്ഷാംശം | "" | വിലാസം Latitude |
രേഖാംശം | "" | വിലാസം രേഖാംശം |
കുറിപ്പുകൾ | "" | ചേർക്കാൻ എന്തെങ്കിലും സന്ദേശം |
optimize_status | "സാധാരണ" | |
സ്റ്റോപ്പ്_ഡ്യൂറേഷൻ | "സ്റ്റോപ്പിൽ നിൽക്കൂ" | |
എത്തിച്ചേരുക_ആരംഭിക്കുക | "" | "ഇപ്പോൾ" |
എത്തിച്ചേരൽ_അവസാനം | "" | "ഏതുസമയത്തും" |
ആദ്യകാല | "" | |
ഏറ്റവും പുതിയ | "" | |
stop_type | "" | (ഡെലിവറി/പിക്കപ്പ്) |
ഉപഭോക്താവിന്റെ പേര് | "" | ഉപഭോക്താവിന്റെ പേര് |
customer_mobile_number | "" | കസ്റ്റമർ കോൺടാക്റ്റ് നമ്പർ |
പാഴ്സൽ_എണ്ണം | 1 | പാഴ്സൽ എണ്ണം |
മെറ്റാഡാറ്റ | [{}] | കസ്റ്റം ഫീൽഡ് |
റൂട്ട് വിവരം നേടുക
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
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
റൂട്ട്_ഐഡി | "" | റൂട്ട് ലിസ്റ്റിൽ നിന്ന് നമുക്ക് ലഭിക്കുന്ന റൂട്ട് ഐഡി |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
റൂട്ട് ഒപ്റ്റിമൈസ് ചെയ്ത വിവരങ്ങൾ നേടുക
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
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
റൂട്ട് ഇല്ലാതാക്കുക
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
}'
മുകളിലുള്ള കമാൻഡ് JSON ഘടനാപരമായ രീതിയിൽ നൽകുന്നു:
{
"code": 200,
"status": true,
"message": "Route deleted successfully"
}
ഈ എൻഡ് പോയിന്റ് ഡിലീറ്റ് റൂട്ട്.
HTTP അഭ്യർത്ഥന
DELETE {{base_url}}/api/v5/routes/:route_id
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
റൂട്ട്_ഐഡി | "" | റൂട്ട് ലിസ്റ്റിൽ നിന്ന് നമുക്ക് ലഭിക്കുന്ന റൂട്ട് ഐഡി |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
എല്ലാ ഡ്രൈവർ റൂട്ടുകളും നേടുക
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"
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
പരിധി | 50 | തിരികെ നൽകാനുള്ള രേഖകൾ |
ഓഫ്സെറ്റ് | 0 | മടങ്ങിവരാനുള്ള അടുത്ത റെക്കോർഡുകൾ |
ഡ്രൈവർ_ഐഡി | ഡ്രൈവർ ഐഡി |
എല്ലാ സ്റ്റോർ ഉടമ റൂട്ടുകളും നേടുക
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
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
പരിധി | 50 | തിരികെ നൽകാനുള്ള രേഖകൾ |
ഓഫ്സെറ്റ് | 0 | മടങ്ങിവരാനുള്ള അടുത്ത റെക്കോർഡുകൾ |
ആരംഭിക്കുന്ന തീയതി | ഇല്ല | റൂട്ട് ആരംഭിക്കുന്ന തീയതി (dd-mm-yyyy) |
അവസാന ദിവസം | ഇല്ല | റൂട്ട് അവസാനിക്കുന്ന തീയതി (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"'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ (പേജിലേക്ക് പോകുക വെബ്സൈറ്റ് url സ്റ്റോർ ഉടമയുടെ അക്കൗണ്ടിലേക്ക് ലോഗിൻ ചെയ്യുക, തുടർന്ന് പേജിലേക്ക് പോകുക ക്രമീകരണ പേജ്api ടോക്കൺ നേടുക തിരഞ്ഞെടുത്ത് api_key ജനറേറ്റ് ചെയ്യുക) |
ആരംഭ_വിലാസം | "" | റൂട്ടിന്റെ ആരംഭ വിലാസം |
അവസാനം_വിലാസം | "" | റൂട്ടിന്റെ അവസാന വിലാസം |
ഡ്രൈവർ_ഇമെയിൽ | "" | ഡ്രൈവറുടെ ഇമെയിൽ |
ഫയല് | "" | 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
}
]
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | ഡാറ്റാ ടൈപ്പ് | സ്വതേ | വിവരണം |
---|---|---|---|
ഡ്രൈവർ_ഐഡി | int (*) | ഒരു റൂട്ട് സൃഷ്ടിക്കുന്നതിന് driver_id ആവശ്യമാണ് | |
ആരംഭ_വിലാസം | സ്ട്രിംഗ് (*) | റൂട്ട് ആരംഭിക്കുന്നിടത്ത് നിന്നുള്ള വിലാസം | |
ആരംഭ_അക്ഷാംശം | ദശാംശ | 0 | ഒന്നുകിൽ start_address അല്ലെങ്കിൽ start_latitude,start_longitude എന്നിവ ആവശ്യമാണ് |
ആരംഭ_രേഖാംശം | ദശാംശ | 0 | ഒന്നുകിൽ start_address അല്ലെങ്കിൽ start_latitude,start_longitude എന്നിവ ആവശ്യമാണ് |
അവസാനം_വിലാസം | സ്ട്രിംഗ് | റൂട്ടിന്റെ അവസാന സ്ഥാനം | |
അവസാനം_അക്ഷാംശം | ദശാംശ | അവസാനം_വിലാസം അല്ലെങ്കിൽ അവസാന_അക്ഷാംശം,അന്തി_രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
അവസാനം_രേഖാംശം | ദശാംശ | അവസാനം_വിലാസം അല്ലെങ്കിൽ അവസാന_അക്ഷാംശം,അന്തി_രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
റൂട്ടിന്റെ_നാമം | സ്ട്രിംഗ് (*) | നിലവിലെ തീയതി(dd/mm/yy) | റൂട്ടിന്റെ പേര് |
നിർത്തുന്നു | വസ്തുക്കളുടെ നിര (*) | ഒബ്ജക്റ്റിന്റെ ശ്രേണിയിലെ വിവരങ്ങൾ നിർത്തുന്നു |
ഒബ്ജക്റ്റ് പാരാമീറ്ററുകൾ നിർത്തുന്നു
പാരാമീറ്റർ | ഡാറ്റാ ടൈപ്പ് | സ്വതേ | വിവരണം |
---|---|---|---|
id | INT (*) | 0 | 1. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ ഐഡി അയയ്ക്കേണ്ടതില്ല 2. stop_type പിക്കപ്പ് ആണെങ്കിൽ 20 അക്ക ഐഡി അയയ്ക്കേണ്ടതുണ്ട് |
സ്റ്റോപ്പ്_ഓർഡർ | int (*) | 0 | നിർത്താനുള്ള ക്രമം ചേർക്കുക |
share_stop_id | int | 0 | 1. stop_type പിക്കപ്പ് ആണെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക 2. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ പിക്കപ്പുമായി ലിങ്ക് ചെയ്യാൻ താൽപ്പര്യമില്ലെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക 3. നിങ്ങൾക്ക് ഏതെങ്കിലും പിക്കപ്പുമായി ലിങ്ക് ചെയ്യണമെങ്കിൽ ആ പിക്കപ്പ് സ്റ്റോപ്പ് ഐഡിയുടെ ഐഡി ഇടുക |
stop_type | സ്ട്രിംഗ് | ഡെലിവറി | മൂല്യങ്ങൾ ഡെലിവറി, പിക്കപ്പ് എന്നിവ ആയിരിക്കണം |
വിലാസം | സ്ട്രിംഗ് | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
അക്ഷാംശം | ദശാംശ | 0 | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് |
രേഖാംശം | ദശാംശ | 0 | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് |
കുറിപ്പുകൾ | സ്ട്രിംഗ് | ബന്ധപ്പെട്ട വിവരങ്ങൾ നിർത്തുക | |
സ്റ്റോപ്പ്_ഡ്യൂറേഷൻ | int | 2 | മിനിറ്റുകൾക്കുള്ളിൽ സ്റ്റോപ്പിന്റെ ദൈർഘ്യം വ്യക്തമാക്കുന്നു, അതായത് ഉപഭോക്തൃ സൈറ്റിൽ എത്ര സമയമെടുക്കും. |
ഉപഭോക്താവിന്റെ പേര് | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
customer_mobile_number | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
customer_email | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
വിലാസം_ടൈപ്പ് ചെയ്തു | {} | {} | 1. സ്റ്റോപ്പ്_ടൈപ്പ് പിക്കപ്പ് ആണെങ്കിൽ, ഡെലിവറി_കൌണ്ട് ആണ് കീ, ഡെലിവറിയുടെ ആകെ എണ്ണം ഈ പിക്കപ്പുമായി ലിങ്ക് ചെയ്തിരിക്കുന്നു. 2. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക |
റൂട്ട് അപ്ഡേറ്റ് ചെയ്യുക
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
}
]
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | ഡാറ്റാ ടൈപ്പ് | സ്വതേ | വിവരണം |
---|---|---|---|
ഡ്രൈവർ_ഐഡി | int (*) | ഒരു റൂട്ട് സൃഷ്ടിക്കുന്നതിന് driver_id ആവശ്യമാണ് | |
ആരംഭ_വിലാസം | സ്ട്രിംഗ് (*) | റൂട്ട് ആരംഭിക്കുന്നിടത്ത് നിന്നുള്ള വിലാസം | |
ആരംഭ_അക്ഷാംശം | ദശാംശ | 0 | ഒന്നുകിൽ start_address അല്ലെങ്കിൽ start_latitude,start_longitude എന്നിവ ആവശ്യമാണ് |
ആരംഭ_രേഖാംശം | ദശാംശ | 0 | ഒന്നുകിൽ start_address അല്ലെങ്കിൽ start_latitude,start_longitude എന്നിവ ആവശ്യമാണ് |
അവസാനം_വിലാസം | സ്ട്രിംഗ് | റൂട്ടിന്റെ അവസാന സ്ഥാനം | |
അവസാനം_അക്ഷാംശം | ദശാംശ | അവസാനം_വിലാസം അല്ലെങ്കിൽ അവസാന_അക്ഷാംശം,അന്തി_രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
അവസാനം_രേഖാംശം | ദശാംശ | അവസാനം_വിലാസം അല്ലെങ്കിൽ അവസാന_അക്ഷാംശം,അന്തി_രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
റൂട്ടിന്റെ_നാമം | സ്ട്രിംഗ് (*) | നിലവിലെ തീയതി(dd/mm/yy) | റൂട്ടിന്റെ പേര് |
നിർത്തുന്നു | വസ്തുക്കളുടെ നിര (*) | ഒബ്ജക്റ്റിന്റെ ശ്രേണിയിലെ വിവരങ്ങൾ നിർത്തുന്നു |
ഒബ്ജക്റ്റ് പാരാമീറ്ററുകൾ നിർത്തുന്നു
പാരാമീറ്റർ | ഡാറ്റാ ടൈപ്പ് | സ്വതേ | വിവരണം |
---|---|---|---|
id | INT (*) | 0 | 1. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ ഐഡി അയയ്ക്കേണ്ടതില്ല 2. stop_type പിക്കപ്പ് ആണെങ്കിൽ 20 അക്ക ഐഡി അയയ്ക്കേണ്ടതുണ്ട് |
സ്റ്റോപ്പ്_ഓർഡർ | int (*) | 0 | നിർത്താനുള്ള ക്രമം ചേർക്കുക |
share_stop_id | int | 0 | 1. stop_type പിക്കപ്പ് ആണെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക 2. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ പിക്കപ്പുമായി ലിങ്ക് ചെയ്യാൻ താൽപ്പര്യമില്ലെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക 3. നിങ്ങൾക്ക് ഏതെങ്കിലും പിക്കപ്പുമായി ലിങ്ക് ചെയ്യണമെങ്കിൽ ആ പിക്കപ്പ് സ്റ്റോപ്പ് ഐഡിയുടെ ഐഡി ഇടുക |
stop_type | സ്ട്രിംഗ് | ഡെലിവറി | മൂല്യങ്ങൾ ഡെലിവറി, പിക്കപ്പ് എന്നിവ ആയിരിക്കണം |
വിലാസം | സ്ട്രിംഗ് | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് | |
അക്ഷാംശം | ദശാംശ | 0 | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് |
രേഖാംശം | ദശാംശ | 0 | വിലാസം അല്ലെങ്കിൽ അക്ഷാംശം, രേഖാംശം എന്നിവ ആവശ്യമാണ് |
കുറിപ്പുകൾ | സ്ട്രിംഗ് | ബന്ധപ്പെട്ട വിവരങ്ങൾ നിർത്തുക | |
സ്റ്റോപ്പ്_ഡ്യൂറേഷൻ | int | 2 | മിനിറ്റുകൾക്കുള്ളിൽ സ്റ്റോപ്പിന്റെ ദൈർഘ്യം വ്യക്തമാക്കുന്നു, അതായത് ഉപഭോക്തൃ സൈറ്റിൽ എത്ര സമയമെടുക്കും. |
ഉപഭോക്താവിന്റെ പേര് | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
customer_mobile_number | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
customer_email | സ്ട്രിംഗ് | ഉപഭോക്തൃ വിവരം | |
വിലാസം_ടൈപ്പ് ചെയ്തു | {} | {} | 1. സ്റ്റോപ്പ്_ടൈപ്പ് പിക്കപ്പ് ആണെങ്കിൽ, ഡെലിവറി_കൌണ്ട് ആണ് കീ, ഡെലിവറിയുടെ ആകെ എണ്ണം ഈ പിക്കപ്പുമായി ലിങ്ക് ചെയ്തിരിക്കുന്നു. 2. സ്റ്റോപ്പ്_ടൈപ്പ് ഡെലിവറി ആണെങ്കിൽ അത് ഡിഫോൾട്ടായി വിടുക |
റൂട്ട് വിവരം നേടുക
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
}'
മുകളിലുള്ള കമാൻഡ് 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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
റൂട്ട്_ഐഡി | "" | റൂട്ട് ലിസ്റ്റിൽ നിന്ന് നമുക്ക് ലഭിക്കുന്ന റൂട്ട് ഐഡി |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
പിക്കപ്പ് ഡെലിവറി റൂട്ട് ഇല്ലാതാക്കുക
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
}'
മുകളിലുള്ള കമാൻഡ് JSON ഘടനാപരമായ രീതിയിൽ നൽകുന്നു:
{
"code": 200,
"status": true,
"message": "Route deleted successfully"
}
ഈ എൻഡ് പോയിന്റ് ഡിലീറ്റ് റൂട്ട്.
HTTP അഭ്യർത്ഥന
DELETE {{base_url}}/api/v6/routes/:route_id
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
റൂട്ട്_ഐഡി | "" | റൂട്ട് ലിസ്റ്റിൽ നിന്ന് നമുക്ക് ലഭിക്കുന്ന റൂട്ട് ഐഡി |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
റൂട്ട് ഒപ്റ്റിമൈസ് ചെയ്ത വിവരങ്ങൾ നേടുക
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
}'
ഒപ്റ്റിമൈസ്: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"
}
]
}
}
ഒപ്റ്റിമൈസ്: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
അന്വേഷണ പാരാമീറ്ററുകൾ
പാരാമീറ്റർ | സ്വതേ | വിവരണം |
---|---|---|
api_key | "" | Api ആക്സസ് കീ |
ഡ്രൈവർ_ഐഡി | "" | റൂട്ടിന്റെ ഡ്രൈവർ ഐഡി |
WebHooks
Webhook ഉപയോഗിക്കാൻ ZeoRoutePlanner നിങ്ങളെ അനുവദിക്കുന്നു, ഇവന്റുകളെക്കുറിച്ച് ഞങ്ങൾക്ക് നിങ്ങളെ അറിയിക്കാനാകും. ഞങ്ങളുടെ പ്ലാറ്റ്ഫോമിൽ നിങ്ങൾക്ക് ഒരു പുതിയ വെബ്ഹുക്ക് രജിസ്റ്റർ ചെയ്യാം ("https://zeorouteplanner.com/app/team/settings/genrate-token").
ഇവന്റുകൾ
- പുരോഗതി വെബ്ഹുക്ക് നിർത്തുക
പിശകുകൾ
Zeo റൂട്ട് പ്ലാനർ API ഇനിപ്പറയുന്ന പിശക് കോഡുകൾ ഉപയോഗിക്കുന്നു:
പിശക് കോഡ് | അർത്ഥം |
---|---|
400 | തെറ്റായ അഭ്യർത്ഥന -- നിങ്ങളുടെ അഭ്യർത്ഥന അസാധുവാണ്. |
401 | അംഗീകൃതമല്ലാത്തത് -- നിങ്ങളുടെ API കീ തെറ്റാണ്. |
404 | കണ്ടെത്തിയില്ല -- വ്യക്തമാക്കിയ അഭ്യർത്ഥന കണ്ടെത്താൻ കഴിഞ്ഞില്ല. |
500 | ആന്തരിക സെർവർ പിശക് -- ഞങ്ങളുടെ സെർവറിൽ ഞങ്ങൾക്ക് ഒരു പ്രശ്നമുണ്ടായിരുന്നു. പിന്നീട് വീണ്ടും ശ്രമിക്കുക. |
503 | സേവനം ലഭ്യമല്ല -- അറ്റകുറ്റപ്പണികൾക്കായി ഞങ്ങൾ താൽക്കാലികമായി ഓഫ്ലൈനാണ്. ദയവായി പിന്നീട് വീണ്ടും ശ്രമിക്കുക. |