> ## 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.

# NSCustomerServiceStartup

> Contains various data needed by Service for startup.

Contains various data needed by Service for startup.

**Do not use this API, as it is for internal use and might change without notice.**

## Constructors

### NSCustomerServiceStartup()

```crmscript theme={null}
NSCustomerServiceStartup
```

Initializes a new instance of the NSCustomerServiceStartup class.

## Methods

## GetRecaptchaSiteKey()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - A global reCAPTCHA site key, used with the google reCAPTCHA component.

<Note>
  This value is taken from the web.config file
</Note>

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
String recaptchaSiteKey = thing.GetRecaptchaSiteKey();
```

## GetTimezoneEnabled()

```crmscript theme={null}
Bool GetTimezoneEnabled()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Is timezone enabled.

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Bool timezoneEnabled = thing.GetTimezoneEnabled();
```

## GetTZOffset()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The offset in minutes compared with UTC, calculated for DateTime.Now.

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Integer tZOffset = thing.GetTZOffset();
```

## SetRecaptchaSiteKey(String)

```crmscript theme={null}
Void SetRecaptchaSiteKey(String recaptchaSiteKey)
```

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

<Note>
  This value is taken from the web.config file
</Note>

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
String recaptchaSiteKey;
thing.SetRecaptchaSiteKey(recaptchaSiteKey);
```

## SetTimezoneEnabled(Bool)

```crmscript theme={null}
Void SetTimezoneEnabled(Bool timezoneEnabled)
```

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

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Bool timezoneEnabled;
thing.SetTimezoneEnabled(timezoneEnabled);
```

## SetTZOffset(Integer)

```crmscript theme={null}
Void SetTZOffset(Integer tZOffset)
```

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

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Integer tZOffset;
thing.SetTZOffset(tZOffset);
```


## Related topics

- [NSCustomerServiceAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSCustomerServiceAgent.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [Get Customer Service Startup](/en/api/reference/restful/agent/customerservice_agent/get-customer-service-startup.md)
- [Get Customer Service Startup By Owner](/en/api/reference/restful/agent/customerservice_agent/get-customer-service-startup-by-owner.md)
- [SuperOffice.WebApi.Data.CustomerServiceStartup](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomerServiceStartup.md)
- [SuperOffice.WebApi.Data.CustomerService GetCustomerServiceStartupRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomerService_GetCustomerServiceStartupRequest.md)
