> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSPhoneListItem

## Constructors

### NSPhoneListItem()

```crmscript theme={null}
NSPhoneListItem
```

Initializes a new instance of the NSPhoneListItem class.

## Methods

## GetId()

```crmscript theme={null}
Integer GetId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The contact or person's Id.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
Integer id = thing.GetId();
```

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The contact or person's name.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String name = thing.GetName();
```

## GetPersonCellPhone()

```crmscript theme={null}
String GetPersonCellPhone()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Person Cell Phone.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personCellPhone = thing.GetPersonCellPhone();
```

## GetPersonDirectPhone()

```crmscript theme={null}
String GetPersonDirectPhone()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Person Direct Phone.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personDirectPhone = thing.GetPersonDirectPhone();
```

## GetPersonEmail()

```crmscript theme={null}
String GetPersonEmail()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The address itself.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personEmail = thing.GetPersonEmail();
```

## GetPersonFaxNumber()

```crmscript theme={null}
String GetPersonFaxNumber()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Actual phone number as entered by the user.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personFaxNumber = thing.GetPersonFaxNumber();
```

## GetPersonPagerNumber()

```crmscript theme={null}
String GetPersonPagerNumber()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Actual phone number as entered by the user.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personPagerNumber = thing.GetPersonPagerNumber();
```

## GetPersonPrivatePhone()

```crmscript theme={null}
String GetPersonPrivatePhone()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Person Private Phone.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personPrivatePhone = thing.GetPersonPrivatePhone();
```

## GetTooltip()

```crmscript theme={null}
String GetTooltip()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String tooltip = thing.GetTooltip();
```

## GetUniqueId()

```crmscript theme={null}
String GetUniqueId()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Property setting a unique id indicating if this is a person or contact.

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String uniqueId = thing.GetUniqueId();
```

## SetId(Integer)

```crmscript theme={null}
Void SetId(Integer id)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
Integer id;
thing.SetId(id);
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String name;
thing.SetName(name);
```

## SetPersonCellPhone(String)

```crmscript theme={null}
Void SetPersonCellPhone(String personCellPhone)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personCellPhone;
thing.SetPersonCellPhone(personCellPhone);
```

## SetPersonDirectPhone(String)

```crmscript theme={null}
Void SetPersonDirectPhone(String personDirectPhone)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personDirectPhone;
thing.SetPersonDirectPhone(personDirectPhone);
```

## SetPersonEmail(String)

```crmscript theme={null}
Void SetPersonEmail(String personEmail)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personEmail;
thing.SetPersonEmail(personEmail);
```

## SetPersonFaxNumber(String)

```crmscript theme={null}
Void SetPersonFaxNumber(String personFaxNumber)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personFaxNumber;
thing.SetPersonFaxNumber(personFaxNumber);
```

## SetPersonPagerNumber(String)

```crmscript theme={null}
Void SetPersonPagerNumber(String personPagerNumber)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personPagerNumber;
thing.SetPersonPagerNumber(personPagerNumber);
```

## SetPersonPrivatePhone(String)

```crmscript theme={null}
Void SetPersonPrivatePhone(String personPrivatePhone)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String personPrivatePhone;
thing.SetPersonPrivatePhone(personPrivatePhone);
```

## SetTooltip(String)

```crmscript theme={null}
Void SetTooltip(String tooltip)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String tooltip;
thing.SetTooltip(tooltip);
```

## SetUniqueId(String)

```crmscript theme={null}
Void SetUniqueId(String uniqueId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSPhoneListItem thing;
String uniqueId;
thing.SetUniqueId(uniqueId);
```


## Related topics

- [NSPhoneListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSPhoneListAgent.md)
- [SuperOffice.WebApi.Data.PhoneListItem](/en/api/reference/webapi/SuperOffice.WebApi.Data.PhoneListItem.md)
- [Get Favorites Phones](/en/api/reference/restful/agent/phonelist_agent/get-favorites-phones.md)
- [Get Contact Phones](/en/api/reference/restful/agent/phonelist_agent/get-contact-phones.md)
- [Get Department Phones](/en/api/reference/restful/agent/phonelist_agent/get-department-phones.md)
- [Get Phones](/en/api/reference/restful/agent/person_agent/get-phones.md)
