GET order/{orderid}

Provides the details of the requested order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderid

The order id

string

Required

Body Parameters

None.

Response Information

Resource Description

OrderDetail
NameDescriptionTypeAdditional information
items

a collection of order items

Collection of OrderItem

None.

orderid

a unique id for the order

string

None.

ordertimestamp

the timestamp of creation of the order

date

None.

status

the status of the order

Status

None.

statustimestamp

the timestamp of changing the status of the order

date

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "id": 325,
      "status": "Completed",
      "product": {
        "name": "GRBgis",
        "url": "https://download.vlaanderen.be/api/v1/product/789"
      },
      "productname": "GRBgis",
      "format": "Shapefile",
      "version": "Toestand 2015-06-19",
      "versionDate": "2015-06-19T00:00:00",
      "volume": "27 MB",
      "selection": "Gemeente: Brecht (Clip)",
      "downloads": [
        {
          "name": "n015001.zip",
          "path": "GRBgis|GEPREDEFINIEERD BESTAND|schaalniveau 2500|Gegroepeerd per kaartblad",
          "volume": "1MB",
          "url": "https://download.vlaanderen.be/api/v1/order/download/123/325?fileIndex=1",
          "fileindex": 1
        },
        {
          "name": "GRBgis_11009.zip ",
          "path": "GRBgis|VECTOR",
          "volume": "27 MB",
          "url": "https://download.vlaanderen.be/api/v1/order/download/123/325?fileIndex=2",
          "fileindex": 2
        }
      ],
      "expirationdate": "2015-06-28T00:00:00"
    },
    {
      "id": 326,
      "status": "Processing",
      "product": {
        "name": "GRBgis",
        "url": "https://download.vlaanderen.be/api/v1/product/789"
      },
      "productname": "GRBgis",
      "format": "GML",
      "version": "Toestand 2015-06-19",
      "versionDate": "2015-06-19T00:00:00",
      "selection": "Gemeente: Brecht (Clip)"
    }
  ],
  "orderid": "360-A0BF",
  "ordertimestamp": "2015-05-23T18:45:12",
  "status": "Processing",
  "statustimestamp": "2015-05-24T14:31:28"
}

application/xml, text/xml

Sample:
<OrderDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrderId>360-A0BF</OrderId>
  <OrderTimestamp>2015-05-23T18:45:12</OrderTimestamp>
  <OrderStatus>Processing</OrderStatus>
  <StatusTimestamp>2015-05-24T14:31:28</StatusTimestamp>
  <OrderItems>
    <OrderItem>
      <OrderItemId>325</OrderItemId>
      <OrderItemStatus>Completed</OrderItemStatus>
      <Product>
        <Name>GRBgis</Name>
        <Url>https://download.vlaanderen.be/api/v1/product/789</Url>
      </Product>
      <ProductName>GRBgis</ProductName>
      <Format>Shapefile</Format>
      <Version>Toestand 2015-06-19</Version>
      <VersionDate>2015-06-19T00:00:00</VersionDate>
      <Volume>27 MB</Volume>
      <Selection>Gemeente: Brecht (Clip)</Selection>
      <Downloads>
        <DownloadFile>
          <Name>n015001.zip</Name>
          <Path>GRBgis|GEPREDEFINIEERD BESTAND|schaalniveau 2500|Gegroepeerd per kaartblad</Path>
          <Volume>1MB</Volume>
          <Url>https://download.vlaanderen.be/api/v1/order/download/123/325?fileIndex=1</Url>
          <Index>1</Index>
        </DownloadFile>
        <DownloadFile>
          <Name>GRBgis_11009.zip </Name>
          <Path>GRBgis|VECTOR</Path>
          <Volume>27 MB</Volume>
          <Url>https://download.vlaanderen.be/api/v1/order/download/123/325?fileIndex=2</Url>
          <Index>2</Index>
        </DownloadFile>
      </Downloads>
      <ExpirationDate>2015-06-28T00:00:00</ExpirationDate>
    </OrderItem>
    <OrderItem>
      <OrderItemId>326</OrderItemId>
      <OrderItemStatus>Processing</OrderItemStatus>
      <Product>
        <Name>GRBgis</Name>
        <Url>https://download.vlaanderen.be/api/v1/product/789</Url>
      </Product>
      <ProductName>GRBgis</ProductName>
      <Format>GML</Format>
      <Version>Toestand 2015-06-19</Version>
      <VersionDate>2015-06-19T00:00:00</VersionDate>
      <Selection>Gemeente: Brecht (Clip)</Selection>
      <ExpirationDate xsi:nil="true" />
    </OrderItem>
  </OrderItems>
</OrderDetail>