v1

latestOpenAPI 3.0.22026-07-17373198641.7 KB
extract
v1

Date Duration Usage List

GET params:

  • document_id: int
  • text_unit_id: int
  • duration_days_str: str/float
get/api/v1/extract/date-duration-usage/

Query parameters

jq_filtersobject

Filter params similar to JQWidgets grid filter params: filterscount=1, filterdatafield0="a", filtervalue0="b", filtercondition0="CONTAINS", filteroperator0=1, sortdatafied="c", sortorder="asc"

Response

amountnumber nullable
amount_strstring nullable
duration_typestring nullable
duration_daysnumber nullable
countinteger
pkinteger
text_unit__pkstring
text_unit__unit_typestring
text_unit__location_startstring
text_unit__location_endstring
text_unit__document__pkstring
text_unit__document__namestring
text_unit__document__descriptionstring
text_unit__document__document_typestring

Example response

[
  {
    "amount": 0.8008281904610115,
    "text_unit__document__description": "text_unit__document__description",
    "text_unit__location_end": "text_unit__location_end",
    "duration_type": "duration_type",
    "text_unit__document__pk": "text_unit__document__pk",
    "count": -1517921766,
    "text_unit__unit_type": "text_unit__unit_type",
    "text_unit__document__name": "text_unit__document__name",
    "text_unit__document__document_type": "text_unit__document__document_type",
    "duration_days": 6.027456183070403,
    "text_unit__pk": "text_unit__pk",
    "pk": 5,
    "amount_str": "amount_str",
    "text_unit__location_start": "text_unit__location_start"
  }
]