# HTML Information Element

**URL:** <https://developerforum.realequity.dk/t/html-information-element/241>\
**Category:** Information Elements\
**Tags:** docs, information-elements, html\
**Created:** [June 16, 2022, 12:29pm UTC](https://developerforum.realequity.dk/t/html-information-element/241 "2022-06-16T12:29:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 16, 2022, 12:29pm UTC](https://developerforum.realequity.dk/t/html-information-element/241/1 "2022-06-16T12:29:52Z")

</div>

The HTML Information Element holds information about basic HTML content.

# Type Namespace

A HTML Information Element always have a namespace starting with: dk.realequity.ie.html.\*

# Properties

The following properties is available besides the standard properties from [Information Elements](https://docs.realequity.dk/docs/working-with-information-elements).

| Property | Type | Description |
| --- | --- | --- |
| body | String | The HTML content of the Information Element |

# Creating a HTML IE

The needed information to create a HTML IE could look like this:

```auto
{
    "displayName": "Min besked",
    "namespace": "dk.realequity.ie.html.default",
    "parentId": "c57f38e6-8abe-49dd-b5ce-d817f93c7bcc",
    "parentNamespace": "dk.realequity.actor.contact.person",
    "body": "<P>min tekst til en anden</p>"
}

```

# Requesting data for a HTML IE

This is an example of the data returned when calling a GET on a HTML IE:

```auto
{
    "body": "Bla bla bla",
    "fileAttachments": [],
    "id": "be722fa6-0305-4d43-bb14-2970fe893442",
    "version": 1,
    "minorVersion": 0,
    "namespace": "dk.realequity.ie.text.default",
    "displayName": "En testing",
    "parentId": "9504b3ea-9821-4fef-9c24-d92986e548bf",
    "parentNamespace": "dk.realequity.message.request.sendfilesregardingcase",
    "rootId": "6d50b35a-e744-4482-b6d7-d29862ed6bfa",
    "rootNamespace": "dk.realequity.actor.contact.person",
    "scopeId": "9504b3ea-9821-4fef-9c24-d92986e548bf",
    "scopeNamespace": "dk.realequity.message.request.sendfilesregardingcase",
    "isPrimary": false,
    "isCurrent": true,
    "isDeleted": false,
    "createdById": "6d50b35a-e744-4482-b6d7-d29862ed6bfa",
    "createdAt": "2020-04-30T13:37:41.4807975+00:00",
    "lastUpdatedById": "6d50b35a-e744-4482-b6d7-d29862ed6bfa",
    "lastUpdatedAt": "2020-04-30T13:37:41.4808005+00:00",
    "stateNamespace": "dk.realequity.state.draft",
    "stateReasonNamespace": "dk.realequity.stateflow.default.reason.init",
    "stateFlowNamespace": "dk.realequity.stateflow.default",
    "stateCategoryNamespace": "dk.realequity.statecategory.preprocessing",
    "dataStoreId": "3c3e14ce-7f9c-4173-bb51-55df61357801",
    "resourceGroupId": "e0d244ad-c56e-451b-ad8c-ad68d1f3665c",
    "createdFromSource": "Martin Jung"
}

```

---

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 16, 2022, 12:29pm UTC](https://developerforum.realequity.dk/t/html-information-element/241/2 "2022-06-16T12:29:57Z")

</div>

Closed on June 16, 2022, 12:29pm UTC


