History Queries

Create history query item

Creates a new item in a history query

post/api/history/{historyId}/items

Path parameters

historyIdstring required

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "settings": {
    "dateTimeFields": [
      {
        "timezone": "Europe/Paris"
      }
    ],
    "serialization": {
      "outputTimezone": "Europe/Paris"
    }
  }
}

Response

Created

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "entity123",
  "createdBy": {
    "id": "abc123",
    "friendlyName": "John Doe (john.doe)"
  },
  "updatedBy": {
    "id": "abc123",
    "friendlyName": "John Doe (john.doe)"
  },
  "createdAt": "2023-10-31T12:34:56.789Z",
  "updatedAt": "2023-10-31T12:34:56.789Z"
}

Changes

Changed in 33 of the 73 revisions of this API.187267478

    • added HistoryQueryInfluxDBItemCommandDTO to the request body anyOf list

      request-body-any-of-added

    • added HistoryQueryInfluxDBItemDTO to the response body anyOf list for the response status 201

      response-body-any-of-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ea1c80cb9c6911See the full diff
    • removed HistoryQueryInfluxDBItemCommandDTO from the request body anyOf list

      request-body-any-of-removed

    • removed HistoryQueryInfluxDBItemDTO from the response body anyOf list for the response status 201

      response-body-any-of-removed

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added HistoryQueryInfluxDBItemCommandDTO to the request body anyOf list

      request-body-any-of-added

    • added HistoryQueryInfluxDBItemDTO to the response body anyOf list for the response status 201

      response-body-any-of-added

  • 57cbe043ec5a11See the full diff
    • removed HistoryQueryInfluxDBItemCommandDTO from the request body anyOf list

      request-body-any-of-removed

    • removed HistoryQueryInfluxDBItemDTO from the response body anyOf list for the response status 201

      response-body-any-of-removed

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added HistoryQueryInfluxDBItemCommandDTO to the request body anyOf list

      request-body-any-of-added

    • added HistoryQueryInfluxDBItemDTO to the response body anyOf list for the response status 201

      response-body-any-of-added

    • removed HistoryQueryInfluxDBItemCommandDTO from the request body anyOf list

      request-body-any-of-removed

    • removed HistoryQueryInfluxDBItemDTO from the response body anyOf list for the response status 201

      response-body-any-of-removed

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added HistoryQueryInfluxDBItemCommandDTO to the request body anyOf list

      request-body-any-of-added

    • added HistoryQueryInfluxDBItemDTO to the response body anyOf list for the response status 201

      response-body-any-of-added

  • 2c78cb2da64711See the full diff
    • removed HistoryQueryInfluxDBItemCommandDTO from the request body anyOf list

      request-body-any-of-removed

    • removed HistoryQueryInfluxDBItemDTO from the response body anyOf list for the response status 201

      response-body-any-of-removed

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added HistoryQueryInfluxDBItemCommandDTO to the request body anyOf list

      request-body-any-of-added

    • added HistoryQueryInfluxDBItemDTO to the response body anyOf list for the response status 201

      response-body-any-of-added

  • f4c06376e03811See the full diff
    • removed HistoryQueryInfluxDBItemCommandDTO from the request body anyOf list

      request-body-any-of-removed

    • removed HistoryQueryInfluxDBItemDTO from the response body anyOf list for the response status 201

      response-body-any-of-removed

    This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog