[Integrations] Retrieve History of a Field on a Specific Time Range
From example create an object
Retrieve the history of a country field on a specific time range
HTTP URL :
https://<your-instance>.yooi.io/api/history/type/Country/id/{object id}/population?updateRange={from in ms}%2C{to in ms}HTTP method:
GET
Example
        BASH
    
    curl -X 'GET' \
 'https://<your-instance>.yooi.io/api/history/type/Country/id/9d8126bb-4cde-4410-8eb3-77885aacc8f7/population?updateRange=1640991600000%2C1648764000000' \
 -H 'accept: application/json' \
 -H 'Authorization: Bearer yt_secret_lqEnvjaiTBIZe08TbyT6FmbInin3CrfP'
Response
        JSON
    
    [
  {
    "updateTime": 1652449407750,
    "eventId": "1652449407750-0",
    "origin": {
      "source": "CLIENT",
      "userId": "c1381d06-3b47-4e4d-8a7f-0462fea23882"
    },
    "data": 67340000
  },
  {
    "updateTime": 1652449392402,
    "eventId": "1652449392402-0",
    "origin": {
      "source": "CLIENT",
      "userId": "c1381d06-3b47-4e4d-8a7f-0462fea23882"
    },
    "data": 67390000
  }
]