v1

latestOpenAPI 3.1.0Apache 2.02026-07-22160175414.0 KB
Computation

Retrieve a computation's details

A computation's details indicate the number of meal voucher to be given to each employee subject to the applicable statutory.

get/mealvoucher/api/computations/{computationId}/details

Query parameters

fieldsstring[]

fields is used to select specific properties

limitinteger

Page size

fields.root'count'

Return total items count (across all pages).

Response

OK

Example response

{
  "items": [
    {
      "user": {
        "id": 7
      },
      "deliveredMealVouchers": 17
    },
    {
      "user": {
        "id": 8
      },
      "deliveredMealVouchers": 17
    },
    {
      "user": {
        "id": 12
      },
      "deliveredMealVouchers": 21
    },
    {
      "user": {
        "id": 15
      },
      "deliveredMealVouchers": 21
    },
    {
      "user": {
        "id": 16
      },
      "deliveredMealVouchers": 21
    },
    {
      "user": {
        "id": 47
      },
      "deliveredMealVouchers": 21
    }
  ]
}