tote_history

Arguments

ArgumentTypeRequiredDefaultDescription
tote_nameStringNo
tote_idStringNo
date_fromISODateTimeNo
date_toISODateTimeNo
analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

ToteHistoryQueryResult

Query

query tote_history(
  $tote_name: String,
  $tote_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  tote_history(
    tote_name: $tote_name,
    tote_id: $tote_id,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ToteHistoryConnectionFragment
    }
  }
}

Variables

{
  "tote_name": "abc123",
  "tote_id": "abc123",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "analyze": true
}

Response

{
  "data": {
    "tote_history": {
      "request_id": "abc123",
      "complexity": 987,
      "data": ToteHistoryConnection
    }
  }
}