Skip to content

Data Presentation

API Design

The police report records can be defined through JSON to provide relevant information to the user.

/police-report/record

/police-report/record/:id

JSON
{
  "data": [
    {
      "id": "W10-1090102-00225",
      "title": "2024/01/01 網路報案",
      "type": "當事人",
      "status": "處理中",
      "time_of_acceptance": "",
      "date_of_occurrence": "2024/01/01",
      "time_of_occurrence": "13:36",
      "location_of_occurrence": "台北市大安區基隆路7段9號",
      "content": "具體內容具體內容具體內容具體內容具體內容具體內容"
    },
    {
      "id": "W10-1090102-0026",
      "title": "2024/02/02 網路報案",
      "type": "關係人",
      "status": "已結案",
      "time_of_acceptance": "2024/02/04 07:22:33",
      "date_of_occurrence": "2024/02/02",
      "time_of_occurrence": "14:36",
      "location_of_occurrence": "台北市大安區基隆路7段12號",
      "content": "具體內容具體內容具體內容具體內容具體內容具體內容具體內容具體內容具體內容具體內容具體內容具體內容",
      "reply": {
        "from": "台北市政府警察局",
        "time": "2024/02/04 11:23:11",
        "status": "親愛的市民您好:處理狀態處理狀態處理狀態處理狀態"
      }
    }
  ]
}

Data Field Description

FieldPurposeExample
idCase IDW10-1090102-0026
titleCase Title2024/02/02 網路報案
typeReporter Category關係人
statusCase Status已結案
time_of_acceptanceTime of Acceptance (optional)2024/02/04 07:22:33
date_of_occurrenceDate of Occurrence2024/02/02
time_of_occurrenceTime of Occurrence14:36
location_of_occurrenceLocation of Occurrence台北市大安區基隆路7段12號
contentDetailed Content具體內容具體內容具體內容具體內容具體內容
replyCase-Related Replies (optional, omit if not applicable)Refer to reply
reply
FieldPurposeExample
fromReplying Department台北市政府警察局
timeReply Time2024/02/04 11:23:11
statusProcessing Status親愛的市民您好:處理狀態處理狀態處理狀態處理狀態