INAPROCAPI Gateway
API v1E-Katalog V5

List penyedia distributor detail archive

Penyedia distributor detail eKatalog archive dengan cursor pagination.

GET
/api/v1/ekatalog-archive/penyedia-distributor-detail

Query Parameters

kd_distributorstring

Kode distributor yang akan diambil datanya.

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/ekatalog-archive/penyedia-distributor-detail?kd_distributor=string"
{
  "success": true,
  "data": [
    {
      "alamat_distributor": "Kompleks Niaga Contoh Blok A1",
      "email_distributor": "[email protected]",
      "kd_penyedia_distributor": 8888,
      "nama_distributor": "PT Distributor Contoh",
      "no_telp_distributor": "081212345678",
      "npwp_distributor": "01.234.567.8-901.000"
    }
  ],
  "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"
  }
}