---
title: "View object"
url: "https://help.internetx.com/en/api/core-view-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects > General objects"
updated: "2023-10-25"
---

# View object

## Description

The _view_ object is responsible for determining the range of the search result.

## Structure

| Key JSON | Key XML | Occurs | Type | Format | Description |
| --- | --- | --- | --- | --- | --- |
| \- | offset | 0 - 1 | string |  | Defines the starting position of the returned result. |
| children | children | 0 - 1 | boolean |  | Query subusers<br>• false = Subusers are not queried<br>• true = Subusers are queried<br>Default value = false<br>For XML, 0 (false) and 1 (true) can also be used. |
| limit | limit | 0 - 1 | string |  | Maximum number of objects to be displayed. |
| from | to | 0 - 1 | string | date-time | End Date - Required for Historical Task.<br>e.g. 2021-01-01 00:00:00 |
| to | to | 0 - 1 | string | date-time | Start Date - Required for Historical Task.<br>2022-01-01 00:00:00 |

### XML Example

```
"view": {
	 "children": true,
	 "limit": 10,
	 "offset": 0,
     "from": "2022-01-01 00:00:00",
	 "to": "2021-01-01 00:00:00"
}
 
```

```
<view>
    <limit>10</limit>
    <offset>0</offset>
    <children>0</children>
	<from>2022-01-01 00:00:00</from>
	<to>2021-01-01 00:00:00</to>
</view>
```
