User Management API – Hollard specifics

User Management API – Hollard Specifics

Date: 05/04/2024 – 15h30

Invoice

  • You can get the data used for invoicing with the follwoing mutation
  • You can access the invoice after the 15th of the next month. ie. The July 2023 invoice is available after the 15th of August
  • You can use limit and offset to query the data. An empty data array means you reached the end of the array.
  • The totalCount field gives you the total number of rows to query
  • Warning
    • The first query for a month may be quite long (as we will request and cache the data). The next queries for the same month will be much faster
    • The data will be cached for 20 hours
mutation hollardInvoice($month: Date!, $limit: Int, $offset: Int) {
  hollardInvoice(month: $month, limit: $limit, offset: $offset) {
    ok
    totalCount
    data {
      edges {
        node {
          employee {
            externalId
            email
          }
          companyName
          nbScansDone
          isActive
          isOnboarded
          hasRedeemed
          onboardedAt
          nbScansDone
          nbArticlesRead
          nbChallengesCompleted
          nbQuizzesCompleted
          last6monthsPoints
        }
      }
    }
  }
}

  • Variables
{
  "month" : "2024-01-01",
  "limit": 100,
  "offset": 200
}