GET
/
v1
curl --request GET \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/purchase-detail/v1/
[
  {
    "amount": {
      "amount": 3.14,
      "currency": "EUR"
    },
    "code": "<string>",
    "description": "<string>",
    "externalId": "<string>",
    "matchingAttributes": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "promptedData": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "quantity": 123,
    "transactionId": "<string>",
    "type": "FUEL",
    "unitPrice": 123,
    "VAT": {
      "percentage": 123,
      "amount": {
        "amount": 3.14,
        "currency": "EUR"
      }
    },
    "unit": "KG",
    "id": "<string>"
  }
]

Query Parameters

page
integer
default:0

Current page

size
integer
default:30

How many purchase details should be returned per page, default is 30. Cannot be more than 100.

Required range: 1 < x < 100
filter
string

The filter currently accepts two search fields; externalId and transactionId which you can match with the operator eq. Two logical operators; AND and OR are supported, which means that you can combine a filter Ex. ?filter=externalId eq 1234, ?filter=externalId eq 1234 AND transactionId eq 2222

auditUser
string
required

The audit user to log the request

Response

200
application/json

Successfully retrieved