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

# NDS.Services.Globalization

## Overview

Provides localisation support for PADS4: time zones, cultures, date/time formats, and multi-language resource management. Used by other services and the UI to handle regional formatting.

| Field           | Value                                                                          |
| --------------- | ------------------------------------------------------------------------------ |
| Swagger UI      | `https://<your-server>/rdx/NDS.Services.Globalization/swagger/index.html`      |
| OpenAPI spec    | `https://<your-server>/rdx/NDS.Services.Globalization/swagger/v1/swagger.json` |
| Base URL        | `https://<your-server>/rdx/NDS.Services.Globalization`                         |
| Total endpoints | 19                                                                             |

***

## Authentication

All endpoints use the standard PADS4 session cookie. Obtain it once and reuse:

```bash theme={null}
# Log in and save the session cookie
curl -c cookies.txt -X POST 'https://<your-server>/api/v1/Account/Logon' \
  -H 'Content-Type: application/json' \
  -d '{"UserName": "admin", "Password": "yourpassword", "Domain": "yourdomain"}'

# Use the cookie on all subsequent requests
curl -b cookies.txt -X GET 'https://<your-server>/rdx/<ServiceName>/...'
```

> Replace `https://<your-server>` with your PADS4 server address and `<ServiceName>` with the service path shown above.

***

## Endpoint Reference

| Method | Path                                          | Description             |
| ------ | --------------------------------------------- | ----------------------- |
| `GET`  | `/api/v1/Globalization/SupportedLanguages`    | Get Supported Languages |
| `GET`  | `/api/v1/Globalization/Cultures`              | Get All Cultures        |
| `GET`  | `/api/v1/Globalization/TimeZones`             | Get Time Zones          |
| `GET`  | `/api/v1/Globalization/ServerCulture`         | Get Server Culture      |
| `GET`  | `/api/v1/Globalization/ServerTimeZone`        | Get Server Time Zone    |
| `GET`  | `/api/v1/diagnostics/toggles`                 | Get Toggles             |
| `GET`  | `/api/v1/diagnostics/configuration`           | Get Config Section      |
| `GET`  | `/api/v1/diagnostics/configurationex`         | Get Configuration       |
| `GET`  | `/api/v1/diagnostics/circuitbreakers`         | Get Circuit Breakers    |
| `GET`  | `/api/v1/diagnostics/circuitbreakers/reset`   | Reset Circuit Breaker   |
| `GET`  | `/api/v1/diagnostics/circuitbreakers/isolate` | Isolate Circuit Breaker |
| `POST` | `/api/v1/diagnostics/events`                  | Get Events              |
| `GET`  | `/api/v1/health`                              | Get                     |
| `GET`  | `/api/v1/health/clean`                        | Get Clean               |
| `POST` | `/api/v1/Management/RequeueErrorMessages`     | Requeue Error Messages  |
| `POST` | `/api/v1/Management/PurgeErrorMessages`       | Purge Error Messages    |
| `GET`  | `/migration`                                  | Get Migrations          |
| `POST` | `/migration`                                  | Execute Migration       |
| `GET`  | `/version`                                    | Get                     |

***

## Request & Response Examples

### GET `/api/v1/Globalization/SupportedLanguages`

**Request:**

```bash theme={null}
curl -b cookies.txt -X GET 'https://<your-server>/rdx/NDS.Services.Globalization/api/v1/Globalization/SupportedLanguages'
```

**Response `200 OK`:**

```json theme={null}
{"Code": "OK", "Succeeded": true}
```

***

### GET `/api/v1/Globalization/Cultures`

**Request:**

```bash theme={null}
curl -b cookies.txt -X GET 'https://<your-server>/rdx/NDS.Services.Globalization/api/v1/Globalization/Cultures'
```

**Response `200 OK`:**

```json theme={null}
{"Code": "OK", "Succeeded": true}
```

***

### GET `/api/v1/Globalization/TimeZones`

**Request:**

```bash theme={null}
curl -b cookies.txt -X GET 'https://<your-server>/rdx/NDS.Services.Globalization/api/v1/Globalization/TimeZones'
```

**Response `200 OK`:**

```json theme={null}
{"Code": "OK", "Succeeded": true}
```

***

### GET `/api/v1/Globalization/ServerCulture`

**Request:**

```bash theme={null}
curl -b cookies.txt -X GET 'https://<your-server>/rdx/NDS.Services.Globalization/api/v1/Globalization/ServerCulture'
```

**Response `200 OK`:**

```json theme={null}
{"Code": "OK", "Succeeded": true}
```

***

### GET `/api/v1/Globalization/ServerTimeZone`

**Request:**

```bash theme={null}
curl -b cookies.txt -X GET 'https://<your-server>/rdx/NDS.Services.Globalization/api/v1/Globalization/ServerTimeZone'
```

**Response `200 OK`:**

```json theme={null}
{"Code": "OK", "Succeeded": true}
```

***
