# messagesReportBlock

## 1. messagesReportBlock: <a href="#id-1.-messagesreportblock" id="id-1.-messagesreportblock"></a>

This Block allows to create report based on the inter-referenced messages.

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-38953c0b6a6e6f2dc4f177f34e27b4293fef0949%252F0%2520%287%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ae93c2ac&#x26;sv=2" alt=""><figcaption></figcaption></figure>

## **1.1 Properties** <a href="#id-1.1-properties" id="id-1.1-properties"></a>

Does not contain additional settings.

## **1.2 Data format** <a href="#id-1.2-data-format" id="id-1.2-data-format"></a>

#### **GET** <a href="#get" id="get"></a>

**status** – current report status

1. FAILED – error encountered during the building
2. STARTED – reporting building is in progress
3. FINISHED – reporting building has been successfully completed

**target** – the document which is the subject of the report

**report** – the current report

```
{
"roles" – documents showing users and their roles
"users" – list of identified users
"schemas" – list of identified schemas
"tokens" – list of identified tokens
"topics" – hierarchical structure of Hedera topics and messages relevant to the target document
{
"topicId" – unique topic identifier
"message" – document describing the topic
"messages" – list of documents referenced in the topic
"children" – child topics
}
}
```

#### **POST** <a href="#post" id="post"></a>

* Target document identification based on message ID - the system creates the report on the document which is referenced in the Header message with the specified ID (the presence of the document in the local Guardian database is not required)

```
{
"filterValue": "hedera message id"
}
```

* Target document identification by its hash – they system build the report on the document in the local DB which has the specified hash

```
{
"filterValue": "hash"
}
```

* Resets the report

```
{
"filterValue": "",
}
```

### 2. Example <a href="#id-2.-example" id="id-2.-example"></a>

Block can work independently (stand-alone):

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-535fced519ed0cf79fdbb42c46c1627a210428c8%252F1%2520%281%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e0ef461d&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Or used in conjunctions with other blocks (e.g. with grid)

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-f92bd634744f0104dfd2aff70262d3dd0f98b674%252F2.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6f9ec03&#x26;sv=2" alt=""><figcaption></figcaption></figure>

## **2.1 Display** **Modes** <a href="#id-2.1-display-modes" id="id-2.1-display-modes"></a>

### **2.1.1 Simplified – folds all messages for a policy into a single ‘swim lane’.**

* Only policy topics are displayed
* Auxiliary events (such as publishing policy) are hidden

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-7f4f7cc167858bd576144062869625c7c2c819ef%252F3%2520%286%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=9cd3ab14&#x26;sv=2" alt=""><figcaption></figcaption></figure>

### **2.1.2 Advanced – complete information is displayed with**

* Full hierarchical topic structure
* All auxiliary and system events

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-cc6047558cfe6c1237d78f8e66491880b5c0ec66%252F4%2520%285%29%2520%281%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=78012cd&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**2.1.3 Display layout**

* Left-side panel shows hierarchical catalog of Header topics.

![](https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-0953f9f3fe3717e1586e20c755c19fdb925c5f3f%252F5%2520%286%29%2520%281%29.png%3Falt%3Dmedia\&width=768\&dpr=4\&quality=100\&sign=c29a53c0\&sv=2)

* Central area shows the timeline of the events as they have been recorded (in messages) in the specific topics

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-cc6047558cfe6c1237d78f8e66491880b5c0ec66%252F6%2520%281%29%2520%283%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5d9b6821&#x26;sv=2" alt=""><figcaption></figcaption></figure>

* Right-side panel shows detailed information about the selected message

<figure><img src="https://docs.hedera.com/~gitbook/image?url=https%3A%2F%2F1556785885-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FNYWPEEAknX9Vki1yV5HY%252Fuploads%252Fgit-blob-38953c0b6a6e6f2dc4f177f34e27b4293fef0949%252F7%2520%286%29.png%3Falt%3Dmedia&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f0d0b4b8&#x26;sv=2" alt=""><figcaption></figcaption></figure>
