Site Tools


Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
api-trucks-for-you

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
api-trucks-for-you [2018/08/02 11:04]
hari [Request]
api-trucks-for-you [2018/08/06 10:13]
111.125.228.102
Line 1: Line 1:
 ======== Trucks for You API ======== ======== Trucks for You API ========
  
-<​hidden>​+
  
 ====== Creation and registration ====== ====== Creation and registration ======
Line 651: Line 651:
 </​code>​ </​code>​
  
-</​hidden>​ 
 ====== Administration ====== ====== Administration ======
 ===== Admin: List of trip requests ===== ===== Admin: List of trip requests =====
Line 1162: Line 1161:
 Body Body
 <​code>​ <​code>​
 +{
 +  "​id":​ "​uuid-of-trip",​
 +  "​truck":​ {
 +    "​id":​ "​uuid-of-truck",​
 +    "​registration":​ "​registration-number-of-truck"​
 +  },
 +  "​source":​ {
 +    "​date":​ "​YYYY-MM-DD,​ date when truck leaves source",​
 +    "​city":​ {
 +      "​id":​ "​uuid-of-city",​
 +      "​name":​ "​name-of-city-from-where-truck-leaves"​
 +    }
 +  },
 +  "​destination":​ {
 +    "​date":​ "​YYYY-MM-DD,​ date when truck reaches destination",​
 +    "​city":​ {
 +      "​id":​ "​uuid-of-city",​
 +      "​name":​ "​name-of-city-where-truck-reaches"​
 +    }
 +  }
 +}
 </​code>​ </​code>​
  
api-trucks-for-you.txt ยท Last modified: 2018/08/13 11:53 by 103.226.237.56