GET
/
v1
/
{id}
curl --request GET \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/purchase-detail/v1/{id}
{
  "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>"
}

Path Parameters

id
string
required

The id of the purchase detail you want to fetch

Query Parameters

auditUser
string
required

The audit user to log the request

Response

200
application/json

Successfully retrieved

The response is of type object.