Transactieoverzicht tonen

Grid Statistics 1.0

Gebruik onderstaand URL-sjabloon om uw historisch transactieoverzicht te tonen. Het transactieoverzicht bevat een lijst van alle factureerbare transacties die u heeft uitgevoerd. Een factureerbare transactie bevat een berekening voor een vierkantstatistiek dat een aantal rastermiddelpunten retourneert. Dit aantal rastermiddelpunten wordt in mindering gebracht op uw tegoed.

Ondersteunde HTTP-methoden

GET

URL-sjabloon

Transactieoverzicht tonen
http://api.gisblox.com/REST/v1/gridstatistics/manage/transactions?format=format&key=PersoonlijkeGISBloxSleutel

Sjabloonparameters

Opmerking
Kijk op de Algemene types en parameters-pagina voor informatie over de algemene respons-types en parameters die deze URL gebruikt.


Parameternamen en -waarden zijn niet hoofdlettergevoelig.
Parameter Omschrijving Waarde
format Optioneel Het output-formaat van de respons. Eén van de volgende opties:
  • xml [standaardwaarde]
  • json
Voorbeeld: format=json
key Vereist Specificeert de GISBlox API-sleutel die voor dit verzoek gebruikt moet worden. Een geldige GISBlox API-sleutel.
Voorbeeld: key=abc1234def56789

Respons

Als antwoord op een HTTP-verzoek wordt een respons-object geretourneerd. Afhankelijk van de waarde van input-parameter format, heeft het respons-object het volgende output-formaat:

  • XML (application/xml)
  • JSON (application/json)

Resultaat

Het resultaat van onderstaand voorbeeld wordt geretourneerd als een TransactionCollection-resource binnen het generieke Response-type. Elke individuele transactie wordt als Transaction-resource in de TransactionCollection beschikbaar gemaakt. Kijk voor meer informatie over de TransactionCollection- en Transaction-resources op de pagina's over het TransactionCollection- en het Transaction-type. Voor informatie over de overige algemene types en parameters kijkt u op de Algemene types en parameters-pagina.

Voorbeeld

Transactieoverzicht opvragen

In onderstaand voorbeeld wordt het transactieoverzicht opgevraagd dat behoort bij de opgegeven GISBlox-sleutel.

http://api.gisblox.com/REST/v1/gridstatistics/manage/transactions?key=PersoonlijkeGISBloxSleutel

XML Response

                    
<Response xmlns="http://schemas.gisblox.com/rest/v1/gridstatistics" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Copyright>Copyright © 2011-2017 Bartels Online. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Bartels Online.</Copyright>
  <StatusCode>200</StatusCode>
  <StatusDescription>OK</StatusDescription>
  <ErrorDetails />
  <TraceId>8FF19DAE-A073-40B8-BEF0-51070CAB9E86/4125fe6c-a360-4276-af01-ad355edfb639/1057348376</TraceId>
  <Resource i:type="TransactionCollection">
    <ItemId>1</ItemId>
    <TransactionCount>2</TransactionCount>
    <Transactions>
      <Transaction>
        <ItemId>1</ItemId>
        <CalculationJobId>6543c2c5-7ca3-4f0d-b0c0-97687f9d3a17</CalculationJobId>
        <DataFileName>Enquete2012</DataFileName>
        <OutputType>RasterFile</OutputType>
        <Calculation>Join</Calculation>
        <RMPCharge>544</RMPCharge>
        <TransactionDate>2013-11-07T12:49:35.16</TransactionDate>
      </Transaction>
      <Transaction>
        <ItemId>2</ItemId>
        <CalculationJobId>6d954b1b-0954-4985-8ba4-9aa1a6e9cc09</CalculationJobId>
        <DataFileName>Enquete2013</DataFileName>
        <OutputType>RasterFile</OutputType>
        <Calculation>Join</Calculation>
        <RMPCharge>709</RMPCharge>
        <TransactionDate>2013-12-21T22:54:08.663</TransactionDate>
      </Transaction>      
    </Transactions>
  </Resource>
</Response>
                

JSON Response

                    
{
    "Copyright": "Copyright © 2011-2017 Bartels Online. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Bartels Online.",
    "StatusCode": 200,
    "StatusDescription": "OK",
    "ErrorDetails": "",
    "TraceId": "8FF19DAE-A073-40B8-BEF0-51070CAB9E86\/0f887d37-1cdd-418c-a783-f98d3edd98b0\/1416989503",
    "Resource": {
        "__type": "TransactionCollection:http:\/\/schemas.gisblox.com\/rest\/v1\/gridstatistics",
        "ItemId": 1,
        "TransactionCount": 2,
        "Transactions": [
            {
                "ItemId": 1,
                "CalculationJobId": "6543c2c5-7ca3-4f0d-b0c0-97687f9d3a17",
                "DataFileName": "Enquete2012",
                "OutputType": "RasterFile",
                "Calculation": "Join",
                "RMPCharge": 544,
                "TransactionDate": "\/Date(1383824975160+0100)\/"
            },
            {
                "ItemId": 2,
                "CalculationJobId": "6d954b1b-0954-4985-8ba4-9aa1a6e9cc09",
                "DataFileName": "Enquete2013",
                "OutputType": "RasterFile",
                "Calculation": "Join",
                "RMPCharge": 709,
                "TransactionDate": "\/Date(1387662848663+0100)\/"
            }
        ]
    }
}
                

HTTP-statuscodes

Opmerking
Meer details over deze HTTP-statuscode zijn te vinden in artikel Statuscodes en foutafhandeling.

Na een succesvol verzoek wordt de volgende HTTP-statuscode geretourneerd.

  • 200

Na een niet-succesvol verzoek wordt een van de volgende foutcodes geretourneerd.

  • 400
  • 401
  • 404
  • 500
  • 503

Verwante onderwerpen

Laatst gewijzigd: 2018-10-18