GLOBHE logo
Developers

List Order

You can get a list of all orders created by the same API key with the request below.

GET https://us-central1-globhe-app.cloudfunctions.net/api/v1/orders?status=completed

The List Orders endpoint supports filtering on order_status with the following query parameters appended to the request:

?orderStatus=reviewing | rejected | cancelled | pendingPilot | active | validating | completed | deleted

If the orderStatus   was not specified, all orders made by this API key will be listed regardless of their status.

Order Status
orderStatusDescription
reviewingthe order is being reviewed by GLOBHE admin before being approved
rejectedthe order has been rejected by GLOBHE
cancelledthe order has been cancelled by the client
pendingPilotthe order has been sent to drone operators but data capture has not started yet
activedata capture has started by a local drone operator
validatingthe data has been uploaded to crowddroning and is being validated by an admin
completedthe data has been sent to the client and the order is now complete
deletedthe order has been deleted by admin
Example Request
GET https://us-central1-globhe-app.cloudfunctions.net/api/v1/orders?status=active
Example Response -CHANGE RESPONSE AND GET IT
{
  "id": "adipisicing123456789",
  "areaSize": 85301325.0620738,
  "clientEmail": "foo@foo.com",
  "deliveryDeadline": "2022-10-01",
  "clientName": "Darth Vader",
  "companyName": "The First Galactic Empire",
  "deliveryFiles": [
    "https://QASqjdhKvlxiCNNJwUHJrFmzLBWTjh.ockrTYSZnMhrJl9QM3uEOKjrjpVdpQTqhvvDQusfv",
    "http://l.gmpdgsdfgjkGhjFRyDSbhjTYYGHJghjTYvUVuVYuVjSDSdnmb",
    "http://l.gmpwkRAZCHIVptOfZ3DSDA56GHJbncGbnFSDAMSDbnmSDSDWEhjkqwVYUDSghjadA",
    "http://l.gmpwkRAZCHIVptOfZ3HJWOpHuubnmFHjkEhjVuiopWbnAhjkASdkjhJJH"
  ],
  "description": "A detailed description of the data capture requirements goes here",
  "orderPrice": 44927494.15693178,
  "orderStatus": "active",
  "orderRejectionReason": "anim dolor dolore ex",
  "locationMap": [
    {
      "lat": 47.40430222489124,
      "lng": -33.278262875341284
    },
    {
      "lat": -17.70925800990831,
      "lng": 144.48954366869725
    }
  ],
  "mapTypes": [
    "_2dMap",
    "elevationMap"
  ],
  "notifications": {
    "webhook": "https://uLDIaEmhpasAXxN.xfsYQI7WVtzY96ZiVGIL8uvEwUid+C7Z,A,.5Or",
    "email": true
  },
  "otherMapType": "ut incididunt labore"
}