Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 497 Bytes

File metadata and controls

21 lines (20 loc) · 497 Bytes

Paging in REST API

Clients can use PUT with body that extends RestPageParameters to obtain a page with results:

{
  "page": 0,
  "rows": 5
}

The response extends RESTResultaat and has these common fields:

{
  "totaal": 142,
  "resultaten": [
    { <object 1> },
    <...>
    { <object 5> }
  ],
  "foutmelding": "error message"
}