# Payload Example Water Meter

**Payload Device Water Level**

Untuk memastikan layanan Antares Insight berfungsi dengan baik, pastikan payload yang dikirimkan oleh device user sesuai dengan format yang sudah ditentukan pada Antares Insight.

<figure><img src="https://3995702122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRkxjRLeqOm0pNhLfsus%2Fuploads%2Fp0XFdpUt89QlWC3ReZCE%2Fimage.png?alt=media&#x26;token=732d2f1f-5ce8-4580-96d3-c9155a37f023" alt=""><figcaption></figcaption></figure>

Berikut contoh payload pada device Antares yang sudah sesuai dengan ketentuan Antares Insight berdasarkan **decoder type** :&#x20;

{% tabs %}
{% tab title="Barindo SWM" %}

## 1. Example Payload Input

Berikut adalah contoh payload sebelum melewati decoder Antares Insight.

```
68640087000000080d5e3c4401FF0001A682B546DE10AC4EC7615E56B4201297901F0E303030323032313034323230393200540052901E30361211034A59150818052300010130680D1F000000000049071F0025F506000000000000000000000000000000000000000000000000000000000000000000000000000001000000455F0500000023
```

## 2. Decoded Payload Output

Berikut adalah contoh payload setelah melewati decoder Antares Insight.

```
{
  "serialNumber": "087000000080d5e3c4401ff0",
  "forwardWaterFlow": 2035048,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "2023-05-18T08:15:59.000Z",
  "status": {
    "alarmDuration": 0,
    "alarmOrigin": "45"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Wiracyble SWM" %}

## 1. Example Payload Input

Berikut adalah contoh payload sebelum melewati decoder Antares Insight.

```
08000ce440242a0010c48406000422c052ff9f1c00
```

## 2. Decoded Payload Output

Berikut adalah contoh payload setelah melewati decoder Antares Insight.

```
{
  "serialNumber": null,
  "forwardWaterFlow": 271040,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "1970-01-13T17:14:44.000Z",
  "status": {
    "alarmStatus": "0",
    "valveStatus": "1"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Alltek SWM" %}

## 1. Example Payload Input

Berikut adalah contoh payload sebelum melewati decoder Antares Insight.

```
6f034001236806d51e0000001e0000002b062b020c05d00710000024cf
```

## 2. Decoded Payload Output

Berikut adalah contoh payload setelah melewati decoder Antares Insight.

```
{
  "serialNumber": "d5066823014003",
  "forwardWaterFlow": 0.03,
  "reverseWaterFlow": 0.001,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "2000-05-12T02:43:06.000Z",
  "status": {
    "valve": "On",
    "batteryVoltage": "Normal",
    "vBack": "Under Voltage",
    "tamperStatus": "Not Removed",
    "openingValveStatus": "Unexecuted",
    "closingValveStatus": "Unexecuted",
    "reverseFlowStatus": "Normal",
    "valveStatus": "Normal",
    "gprsBatteryVoltage": "Normal",
    "sensorFailure": "Normal",
    "smallFlowAlarm": "Normal",
    "largeFlowAlarm": "Normal",
    "systemReset": "Normal",
    "priceError": "Normal",
    "magneticInterference": "Normal",
    "leakage": "Normal",
    "currentMagneticInterference": "Normal"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Retrofit T3" %}

## 1. Example Payload Input

Berikut adalah contoh payload sebelum melewati decoder Antares Insight.

```
6F030811170070895201000000006089520150895201408952012B05000604090503E407000023A8
```

## 2. Decoded Payload Output

Berikut adalah contoh payload setelah melewati decoder Antares Insight.

```
{
  "serialNumber": "0017110803",
  "forwardWaterFlow": 22186.352,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": 5,
  "timestamp": "2020-03-05T09:04:06.000Z",
  "status": {
    "valveStatus": "Open",
    "batteryVoltage": "Normal",
    "tamperStatus": "Not Removed",
    "openingValveStatus": "Unexecuted",
    "closingValveStatus": "Unexecuted",
    "reverseFlowStatus": "Normal",
    "valveCondition": "Normal",
    "magneticInterferenceBefore": "No",
    "magneticInterferenceNow": "No",
    "sensorFailure": "No",
    "lowFlowAlert": "No",
    "highFlowAlert": "No",
    "leakAlert": "No",
    "systemReset": "Normal"
  },
  "batteryLevel": 100
}
```

{% endtab %}
{% endtabs %}
