# Phone Number Information Element

**URL:** <https://developerforum.realequity.dk/t/phone-number-information-element/244>\
**Category:** Information Elements\
**Tags:** docs, information-elements, phone-number\
**Created:** [June 16, 2022, 12:34pm UTC](https://developerforum.realequity.dk/t/phone-number-information-element/244 "2022-06-16T12:34:55Z")\
**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:34pm UTC](https://developerforum.realequity.dk/t/phone-number-information-element/244/1 "2022-06-16T12:34:55Z")

</div>

A Phone Number Information Element is a base Information Element used to hold Phone Number information.

# ype Namespace

A Phone Number Information Element always have a namespace starting with: dk.realequity.ie.phonenumber

# Properties

| Properties | Description |
| --- | --- |
| **prefix** | The country code of the phone number including the “+” sign. So +45 for Denmark. |
| **number** | The phone number. No spaces or any other kind of formatting. Just the full phone number **without the country prefix**. |
| **type** | **Mobile** - if the number is a mobile phone number that supports SMS. |
| **Other** - if the number is any other number than a mobile number. | |

# Creating a Phone Number IE

By posting the following example in the Body of a Create [InformationElement](https://docs.realequity.dk/reference/informationelement) the IE will be created:

```auto
{
    "displayName": "Telefonnummer",
    "namespace": "dk.realequity.ie.phonenumber.default",
    "parentId": "e4ec5d5b-09f5-423e-891b-f73501c1c4b9",
    "parentNamespace": "dk.realequity.actor.contact.person",
    "phoneNumber": {
        "prefix": "+45",
        "number": "34121717",
        "type": "Mobile"
    }
}

```

---

<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:35pm UTC](https://developerforum.realequity.dk/t/phone-number-information-element/244/2 "2022-06-16T12:35:00Z")

</div>

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


