The Text Information Element holds information about a basic text string.
Type Namespace
A Text Information Element always have a namespace starting with: dk.realequity.ie.text.*
Properties
The following properties is available besides the standard properties from Information Elements.
| Property | Type | Description |
|---|---|---|
| displayName | String | The title of the Information Element. |
| body | String | The text content of the Information Element |
Creating a Text IE
The needed information to create a Text IE could look like this:
{
"displayName": "Min besked",
"namespace": "dk.realequity.ie.text.default",
"parentId": "c57f38e6-8abe-49dd-b5ce-d817f93c7bcc",
"parentNamespace": "dk.realequity.actor.contact.person",
"body": "min tekst til en anden"
}
Requesting data for a Text IE
This is an example of the data returned when calling a GET on a Text IE:
{
"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"
}