INAPROCAPI Gateway
API v1RUP

List history kaji ulangNEW!

History Kaji Ulang, dengan cursor pagination

GET
/api/v1/rup/history-kaji-ulang

Query Parameters

kode_klpdstring

Kode KLPD yang akan diambil datanya.

tahuninteger

Tahun fiskal.

jenis_paket?string

Filter jenis paket (opsional). Untuk all jenis kosongkan jenis_paket, bisa diisi PENYEDIA / SWAKELOLA.

limit?integer

Jumlah maksimum baris yang dikembalikan (dibatasi maksimum 1000).

Default1
Range1 <= value <= 1000
cursor?string

Cursor dari meta.cursor pada respons sebelumnya.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:8080/api/v1/rup/history-kaji-ulang?kode_klpd=string&tahun=0"
{
  "success": true,
  "data": [
    {
      "datamart_id": "1234567890",
      "tahun_anggaran": "2025",
      "kd_klpd": "D999",
      "nama_klpd": "Kab. Contoh",
      "jenis_klpd": "KABUPATEN",
      "kd_satker": "999999",
      "kd_satker_str": "9.99.9.99.9.99.99.9999",
      "nama_satker": "SATKER CONTOH",
      "kd_rup_lama": "11111111",
      "kd_rup_baru": "22222222",
      "jenis_paket": "PENYEDIA",
      "jenis_revisi": "PENGAKTIFAN",
      "alasan_kajiulang": "Contoh Alasan",
      "tgl_kaji_ulang": "2025-01-15T10:00:00Z",
      "_event_date": "2026-01-01T00:00:00Z",
      "_inserted_date": "2026-01-02T08:30:00Z"
    }
  ],
  "meta": {
    "limit": 0,
    "has_more": true,
    "cursor": "string"
  }
}

{
  "success": false,
  "error": {
    "code": "Bad Request",
    "message": "Invalid request",
    "details": "The SQL query is malformed"
  },
  "meta": {
    "request_id": "req-123456"
  }
}

{
  "success": false,
  "error": {
    "code": "Unauthorized",
    "message": "Unauthorized",
    "details": "Invalid or missing API key"
  },
  "meta": {
    "request_id": "req-123456"
  }
}

{
  "success": false,
  "error": {
    "code": "Forbidden",
    "message": "Forbidden",
    "details": "You are not allowed to access this resource"
  },
  "meta": {
    "request_id": "req-123456"
  }
}

{
  "success": false,
  "error": {
    "code": "Too Many Requests",
    "message": "Rate limit exceeded",
    "details": "Please retry later"
  },
  "meta": {
    "request_id": "req-123456"
  }
}

{
  "success": false,
  "error": {
    "code": "Internal Server Error",
    "message": "Internal server error",
    "details": "An unexpected error occurred"
  },
  "meta": {
    "request_id": "req-123456"
  }
}

{
  "success": false,
  "error": {
    "code": "Service Unavailable",
    "message": "Service unavailable",
    "details": "The data source is temporarily unavailable"
  },
  "meta": {
    "request_id": "req-123456"
  }
}