# Tarik Respon E-Catalogue

* **Development**

URL Dev: [https://apisdev-gw.beacukai.go.id/respon-ekatalog-barkir-public/tarik-respon-ekatalog-barkir](https://apisdev-gw.beacukai.go.id/respon-ekatalog-barkir-public/tarik-respon-ekatalog-barkir/e-catalogue/getResponse)

* **Production**

URL Prod : <https://apis-gw.beacukai.go.id/respon-ekatalog-barkir-public/tarik-respon-ekatalog-barkir/e-catalogue/getResponse>

## Tarik Respon E-Catalogue

<mark style="color:blue;">`GET`</mark> `{API_URL}/e-catalogue/getResponse`

API *Endpoint* to get response for E-Catalogue data. It shows response for all ECatalogues which is not already downloaded or taken before, if you want to get the same data again, you can use identityQualifierCode as a parameter.

#### Query Parameters

| Name                                    | Type    | Description                          |
| --------------------------------------- | ------- | ------------------------------------ |
| identityQualifierCode                   | String  | SKU Number / Identity Qualifier Code |
| page<mark style="color:red;">\*</mark>  | Integer | default = 1                          |
| limit<mark style="color:red;">\*</mark> | Integer | default = 10, max = 100              |

#### Headers

| Name                                            | Type   | Description                         |
| ----------------------------------------------- | ------ | ----------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer Token from Authorization API |

{% tabs %}
{% tab title="200: OK Ok" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="404: Not Found Not Found" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

{% endtab %}
{% endtabs %}

Sample Using Param:\
<https://apisdev-gw.beacukai.go.id/respon-ekatalog-barkir-public/tarik-respon-ekatalog-barkir/e-catalogue/getResponse?identityQualifierCode=CATALOG-ICAN-2-0612&limit=10&page=1>

Sample Response :&#x20;

```json
{
  "totalData": 30,
  "data": [
    {
      "no": 1,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-09-14 10:07:34.049"
    },
    {
      "no": 2,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-08-16 12:23:35.31"
    },
    {
      "no": 3,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-08-15 09:33:42.754"
    },
    {
      "no": 4,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-09-14 10:04:55.205"
    },
    {
      "no": 5,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-08-15 14:31:48.147"
    },
    {
      "no": 6,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "Redundant E-Catalogue Data",
      "statusCode": "900",
      "receivedTime": "2023-08-16 12:22:28.15"
    },
    {
      "no": 7,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "E-Catalogue Sent Successfully",
      "statusCode": "200",
      "startingDate": "2023-09-27",
      "currencyTypeCode": "USD",
      "valueAmount": "14",
      "measurementUnit": "PCE",
      "itemDescription": "CAR TOYS 2",
      "sellerId": "-",
      "receivedTime": "2023-09-14 10:07:51.916"
    },
    {
      "no": 8,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "E-Catalogue Sent Successfully",
      "statusCode": "200",
      "startingDate": "2023-09-27",
      "currencyTypeCode": "USD",
      "valueAmount": "16",
      "measurementUnit": "PCE",
      "itemDescription": "CAR TOYS 2",
      "sellerId": "-",
      "receivedTime": "2023-09-14 10:08:02.036"
    },
    {
      "no": 9,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "E-Catalogue Sent Successfully",
      "statusCode": "200",
      "startingDate": "2023-09-27",
      "currencyTypeCode": "USD",
      "valueAmount": "15",
      "measurementUnit": "PCE",
      "itemDescription": "CAR TOYS 2",
      "sellerId": "-",
      "receivedTime": "2023-09-14 10:07:55.269"
    },
    {
      "no": 10,
      "identityQualifierCode": "CATALOG-ICAN-2-0612",
      "statusDescription": "E-Catalogue Sent Successfully",
      "statusCode": "200",
      "startingDate": "2023-09-26",
      "currencyTypeCode": "USD",
      "valueAmount": "10",
      "measurementUnit": "PCE",
      "itemDescription": "CAR TOYS 2",
      "sellerId": "-",
      "receivedTime": "2023-09-14 09:59:09.308"
    }
  ],
  "totalPage": 3,
  "message": "Success",
  "status": true
}
```
