A generic Information Element for storing JSON Data structures.
Type Namespace
A JSON Data Information Element always have a namespace starting with: dk.realequity.ie.json.*
Properties
| Property | Type | Description |
|---|---|---|
| json | JSON structure | Any JSON structure can be embedded into the property. |
Getting data for a JSON IE
GET /api/tenants/{tenantId}/resourcegroups/{resourcegroupId/information-elements/{ieGuid}
Creating a JSON IE
By making a POST request to the following:
POST /api/tenants/{tenantId}/resourcegroups/{resourcegroupId/information-elements
Request body
{
"displayName": "JSON Data",
"namespace": "dk.realequity.ie.json.default",
"parentId": "cd61719a-3437-4f52-a393-75daf9d40b96",
"parentNamespace": "dk.realequity.actor.contact.person",
"json": {
"data": "data"
}
}
Response body
{
"json": {
"data": "data"
},
"fileAttachments": [],
"id": "2533495f-bac8-487e-9b74-a6ec9dd55188",
"version": 1,
"minorVersion": 0,
"namespace": "dk.realequity.ie.json.default",
"displayName": "JSON Data",
"parentId": "cd61719a-3437-4f52-a393-75daf9d40b96",
"parentNamespace": "dk.realequity.actor.contact.person",
"rootId": "cd61719a-3437-4f52-a393-75daf9d40b96",
"rootNamespace": "dk.realequity.actor.contact.person",
"scopeId": "cd61719a-3437-4f52-a393-75daf9d40b96",
"scopeNamespace": "dk.realequity.actor.contact.person",
"isPrimary": false,
"isCurrent": true,
"isDeleted": false,
"createdById": "e7652499-3af6-4b2c-b81f-3537b8b4d2dc",
"createdAt": "2020-05-14T15:18:00.7111805+00:00",
"lastUpdatedById": "e7652499-3af6-4b2c-b81f-3537b8b4d2dc",
"lastUpdatedAt": "2020-05-14T15:18:00.7112257+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": "6d787d87-c52b-4c69-8460-30de321ad1b8",
"resourceGroupId": "3127996e-99fb-4cc1-949a-ba9f20dd91fa",
"createdFromSource": "B2B Demo",
"hidden": false,
"informationSensivityLevel": "MaybeSensitiveData"
}