Skip to content

DR12 - List lines of a document request

Request

Pagination

This resource supports seek pagination (see documentation)

Sort fields

sort field can have the following values:

  • dateCreated - Sort by creation date (asc by default)

Security
Operator-Bearer-Token or OAuth-2
Path
document_request_idstringrequired

Document Request identifier

curl -i -X GET \
  'https://your-instance.mirakl.net/api/document-request/{document_request_id}/lines' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
dataArray of objectsrequired

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
{ "data": [ { … }, { … } ] }