Publisert - 01.11.2025

Hackathon 2025

Environment

URL: https://okt.dev.nhn.no/api/hack/

Endpoint: /okt-events

Test data

IDs (use as URL parameter):

  • 22750884907
  • 19779998080
  • 16758532406

Example

Get all okt-events for ID 22750884907

Request:

curl https://okt.dev.nhn.no/api/hack/okt-events/22750884907

Response:

{
  "oktMessages": [
    {
      "endDate": "",
      "stayType": "",
      "iplosCode": {
        "iplosCodeLevel": "1",
        "iplosCodeValue": "01",
        "iplosParentCode": "0",
        "iplosCodeDescription": "Praktisk bistand: Daglige gjøremål"
      },
      "startDate": "2022-06-20",
      "needsCaption": false,
      "serviceLevel": "1.1.1 Test kommune - Hjemmeboende - Sone sør (hjemmesykepleie)",
      "weeklyExtent": "5 timer",
      "serviceDescription": "",
      "temporaryCessation": false
    },
    {
      "endDate": "",
      "stayType": "",
      "iplosCode": {
        "iplosCodeLevel": "1",
        "iplosCodeValue": "05",
        "iplosParentCode": "0",
        "iplosCodeDescription": "Matombringing"
      },
      "startDate": "2022-06-20",
      "needsCaption": false,
      "serviceLevel": "1.1.1 Test kommune - Hjemmeboende - Sone sør (hjemmesykepleie)",
      "weeklyExtent": "15 minutter",
      "serviceDescription": "",
      "temporaryCessation": false
    },
    {
      "endDate": "",
      "stayType": "",
      "iplosCode": {
        "iplosCodeLevel": "1",
        "iplosCodeValue": "06",
        "iplosParentCode": "0",
        "iplosCodeDescription": "Trygghetsalarm"
      },
      "startDate": "2022-06-20",
      "needsCaption": false,
      "serviceLevel": "1.1.1 Test kommune - Hjemmeboende - Sone sør (hjemmesykepleie)",
      "weeklyExtent": "",
      "serviceDescription": "",
      "temporaryCessation": false
    }
  ],
  "personIdentifier": "22750884907"
}