Phone
Description
A telephone number associated with a party. Parties can have multiple phone numbers of different types, and they have current and former phone numbers.
See data format policies for more information on formatting of phone numbers.
Label
:Phone
Properties
| Property | Description | Type |
|---|---|---|
| id | Unique identifier, a uuid | string |
| type | see below | string |
| countryCode | string | |
| number | string | |
| extension | (optional) | string |
| primary | boolean | |
| createdBy | the person or process that created the node | string |
| createdDate | dateTime | |
| modifiedBy | the person or process who last modified the node | string |
| modifiedDate | dateTime |
Below are the phone types that are valid in the type property, e.g., { type: "Home"}.
| Type | Notes |
|---|---|
Home | Personal phone number at a Party's residence |
Mobile | |
Work | Direct Office phone number |
Fax | |
CorpHQ | |
Main |
Parties can have multiple phone numbers of various types, any number of which can be active at one time and of course no limit to the number of inactive phone numbers. Parties can only have one primary phone number (primary set to true) per each type.
Relationships
The HAS_PHONE relationship connects parties to phones, and uses the standard relationship properties.
Examples
cypher
MATCH (party:Party { id: $id })
MERGE (party)-[rel:HAS_PHONE {
active: true,
private: false,
fromDate: date()
}]->(phone:Phone {
type: "Work",
number: "+14245551212",
primary: false
})
RETURN party.id,
party.name,
phone{.*}