GLOBHE logo
Developers

Data Delivery

Once the data has been uploaded to the GLOBHE marketplace and quality checked by an admin, it will be ready for collection. The client will be notified by email that the status of the order is complete and that the data can be fetched. Alternatively, the client can also be notified by webhook if the a webhook url was inserted in notification.

Data will be delivered as single files which the client can download and save to their server of choice. The files are stored in an array located in deliveryFiles .

You can choose the fileDataType to receive in the response by adding this filter in the request body. This is helpful if you only want to receive the 2D orthomosaics maps for example and not the baseFiles. If you don't specify, all the delivery files available in the order will be returned.

  • fileDataType : represents the delivery file data type that the client will receive. For example 2D orthomosaics maps, thermal maps... Check the Create Order for more info on the available delivery data types
Example Request
POST https://us-central1-globhe-app.cloudfunctions.net/api/v2/getorder/123456789
Example Response
{
  "id": "123456789",
  "areaSize": 49468049.34829436,
  "clientEmail": "foo@foo.com",
  "deliveryDeadline": "2022-09-19",
  "clientName": "Obi-Wan Kenobi",
  "companyName": "Jedi High Council",
  "deliveryFiles": {
    "baseFiles": [
      "http://nuxOmB.dyayq3Say,IZXYrKkQ9U9z",
      "http://ilqlD.vpqxkoCyco0clK6w30DTagtTUhJPW.+5LKRSe0KxJoXwnstEKpl",
      "http://sdfsd.ertedcv,etertcvjkl234jLKjsnJH3jilS",
      "http://xnm.342jlLJ3wer90sdjfs,hjHJKdsjklIfspO",
      "http://xcv4h.Jkls3Jkl4nm,JklsdfJLSkfjEWIcnjSjkls",
      "http://nuxOmB.jklsdfJKLEonkHS,hkjsfsHKLJDFnsdfs"
    ],
    "processedData": {
      "topographicMap": [
        "http://nuxOmB.jklsdfJKLEonkHS,hkjsfsHKLJDFnsdwerwfs"
      ],
      "_2dMap": [
        "http://nuxOmB.jklsdfJKLEonkHS,h22sd2dfsHKLJDFnsdwerwfs"
      ],
      "thermalMap": [
        "http://nuB.jJKertffnkHS,hkjsfsHKLJDFnsdwerwfs"
      ]
    }
  },
  "description": "pariatur fugiat",
  "orderPrice": 90302877.53317097,
  "orderStatus": "completed",
  "locationMap": [
    {
      "lat": 89.59607725985146,
      "lng": 131.18019461249787
    },
    {
      "lat": 73.2426077887128,
      "lng": 102.17697778830319
    }
  ],
  "mapTypes": [
    "ndvi",
    "digitalTerrainModel"
  ],
  "notifications": {
    "webhook": "https://kvpmHNa.fuvcdQjX0QTKSyVs65ZxUpSuCyVSy",
    "email": true
  },
  "otherMapType": "incididunt non eu eiusmod"
}
Example Request with fileDataType specified
POST https://us-central1-globhe-app.cloudfunctions.net/api/v2/getorder/123456789
{
  "fileDataType": [
    "_2dMap",
    "thermalMap"
  ]
}
Example Response
{
  "id": "123456789",
  "areaSize": 49468049.34829436,
  "clientEmail": "foo@foo.com",
  "deliveryDeadline": "2022-09-19",
  "clientName": "Obi-Wan Kenobi",
  "companyName": "Jedi High Council",
  "deliveryFiles": {
    "baseFiles": [],
    "processedData": {
      "_2dMap": [
        "http://nuxOmB.jklsdfJKLEonkHS,h22sd2dfsHKLJDFnsdwerwfs"
      ],
      "thermalMap": [
        "http://nuB.jJKertffnkHS,hkjsfsHKLJDFnsdwerwfs"
      ]
    }
  },
  "description": "pariatur fugiat",
  "orderPrice": 90302877.53317097,
  "orderStatus": "completed",
  "locationMap": [
    {
      "lat": 89.59607725985146,
      "lng": 131.18019461249787
    },
    {
      "lat": 73.2426077887128,
      "lng": 102.17697778830319
    }
  ],
  "mapTypes": [
    "ndvi",
    "digitalTerrainModel"
  ],
  "notifications": {
    "webhook": "https://kvpmHNa.fuvcdQjX0QTKSyVs65ZxUpSuCyVSy",
    "email": true
  },
  "otherMapType": "incididunt non eu eiusmod"
}