# Get Detail MMEA

## Introduction

* Purpose   : API ini digunakan untuk mendapatkan informasi detail MMEA pada suatu dokumen CK-4 berdasarkan parameter yang diberikan
* Overview : Proses ini membutuhkan otentikasi menggunakan Bearer Token dan harus dikirim dengan metode GET

## Path API

<mark style="color:blue;">`GET`</mark> `{API_URL}portal/ck4/detail-mmea?idCk4={idCk4}`

## Authorization

<table><thead><tr><th width="181">Name</th><th width="126">Type </th><th>Description</th></tr></thead><tbody><tr><td>Authorization</td><td>String</td><td>Bearer Token yang didapatkan dari hasil otorisasi</td></tr></tbody></table>

## Parameter

<table><thead><tr><th width="159">Name</th><th width="95">Type</th><th width="246">Description</th><th>Example Value</th></tr></thead><tbody><tr><td>idCk4</td><td>String</td><td>Identifikasi unik untuk CK-4</td><td>834ea982-002a-4862-bf03-bb1fcdad055f</td></tr></tbody></table>

## Parameter Example

<mark style="color:blue;">`GET`</mark> `{API_URL}portal/ck4/detail-mmea?idCk4=834ea982-002a-4862-bf03-bb1fcdad055f`

## Response

{% tabs %}
{% tab title="200" %}

```json
{
    "message": "Success",
    "status": true,
    "data": {
        "namaPemrakarsa": null,
        "idProcessPemrakarsa": null,
        "jabatanPemrakarsa": null,
        "nipPemrakarsa": null,
        "idNppbkc": null,
        "namaNppbkc": "DEMANG JAYA PR",
        "nppbkc": "0669986374654000070613",
        "alamatNppbkc": "Dusun Gumuk Mojo RT 46 RW 09 Kelurahan Wonokerto Kecamatan Bantur Kabupaten Malang",
        "jenisLaporan": "BULANAN",
        "nomorPemberitahuan": "7676767676",
        "tanggalPemberitahuan": "2024-08-12T00:00:00.000+07:00",
        "tanggalJamProduksiAwal": "2024-08-01T00:00:00.000+07:00",
        "tanggalJamProduksiAkhir": "2024-08-31T00:00:00.000+07:00",
        "periodeBulan": "Agustus",
        "periodeTahun": "2024",
        "totalJumlahKemasan": 12,
        "totalJumlahKemasanDilekatiPita": 300,
        "totalJumlahProduksi": 1176.00,
        "namaKota": "Kabupaten Malang",
        "namaPengusaha": "intan",
        "npwp": "669986374654000",
        "jenisBarangKenaCukai": "HT",
        "tanggalDiterima": null,
        "nomorSurat": null,
        "tanggalSurat": null,
        "nipPenjabatBc": null,
        "keteranganPerbaikan": null,
        "namaPenjabat": null,
        "kodeUploadPerbaikan": null,
        "isStck": null,
        "kodeKantor": "070600",
        "namaKantor": "KPPBC TMC MALANG",
        "status": "Selesai",
        "idProses": "8712d363-478a-42a2-9cdf-bb1a4b2e65b1",
        "tanggalPermohonanPerbaikan": null,
        "nomorPermohonanPerbaikan": null,
        "tanggalPembatalan": null,
        "nomorpembatalan": null,
        "idSpl": "48b3632d-ced9-4e33-a353-cc151fb683b6",
        "details": [
            {
                "idCk4Detail": "0ffd83df-26db-4731-8e89-218c17f9ce7c",
                "idMerkMmea": null,
                "namaMerkMmea": null,
                "isiMmea": 98.00,
                "tarifMmea": 3074.00,
                "kadarMmea": null,
                "nomorProduksi": "878",
                "keterangan": "test",
                "tanggalProduksi": "2024-08-01",
                "jumlahKemasan": 12,
                "jumlahProduksi": null,
                "jumlahKemasanDilekatiPita": 300,
                "kodeSatuan": "btg",
                "namaGolongan": null,
                "idJenisProduksiBkc": 5
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}

## Potential Error

<table><thead><tr><th width="188">Status Code</th><th width="210">Description</th><th>Reason</th></tr></thead><tbody><tr><td>400 Bad Request</td><td>Permintaan tidak valid</td><td>Parameter tidak lengkap atau format tidak sesuai</td></tr><tr><td>401 Unauthorized</td><td>Otentikasi gagal</td><td>Bearer Token tidak valid atau tidak disertakan dalam header permintaan</td></tr><tr><td>404 Not Found</td><td>Dokumen tidak ditemukan</td><td>Data tidak ditemukan berdasarkan parameter yang diberikan</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ceisa40.gitbook.io/pia-ceisa40/api-service-cukai/produksi/get-detail-mmea.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
