Range Information Element

The Range Information Element Base Type can be used to define any number of ranges that can be used to support query parameters for a Wish.

Namespace

A Range Information Element always have a namespace starting with: dk.realequity.ie.range.

Properties

Range IEs is a specialization of a Datanode . See basic properties on the Datanode page.

Property Type Description
lowerValue String The lower value of the range.
upperValue String The upper value of the range.

:warning: Numeric range definition
If the Range IE Instance Type configuration states that the Steps of the range are numeric, the upperValue and lowerValue will be converted into INT when used.

Create a Range IE

Creating the Range IE can be done by posting to the following endpoint:

POST /api/tenants/{{tenantId}}/resourcegroups/{{resourceGroupId}}/information-elements

Request Body

{
    "displayName": "Mellem 1 og 4 værelser",
    "namespace": "dk.realequity.ie.range.rooms",
    "parentId": "5c656228-5309-4840-bba6-2669bac1372b",
    "parentNamespace": "dk.realequity.actor.contact.person",
    "lowerValue": "1",
    "upperValue": "4"
}

Response example:

{
    "lowerValue": "1",
    "upperValue": "4",
    "fileAttachments": [],
    "id": "f8a8c479-d2e2-4518-a029-d678b865e4fa",
    "version": 1,
    "minorVersion": 0,
    "namespace": "dk.realequity.ie.range.rooms",
    "displayName": "Range Y",
    "parentId": "5611d090-7a5f-4461-a99b-2c4692c10013",
    "parentNamespace": "dk.realequity.estate.villa",
    "rootId": "ebcfa7f6-6c59-48b4-bf14-55d2b3bca67e",
    "rootNamespace": "dk.realequity.case.sale",
    "scopeId": "ebcfa7f6-6c59-48b4-bf14-55d2b3bca67e",
    "scopeNamespace": "dk.realequity.case.sale",
    "isPrimary": false,
    "isCurrent": true,
    "isDeleted": false,
    "createdById": "d8621785-a373-4bd1-afdc-90e71903613e",
    "createdAt": "2020-04-29T16:39:56.0030421+00:00",
    "lastUpdatedById": "d8621785-a373-4bd1-afdc-90e71903613e",
    "lastUpdatedAt": "2020-04-29T16:39:56.0030459+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": "Cbs Enettet Extension"
}