---
title: "Resource record object"
url: "https://help.internetx.com/en/api/core-resource-record-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects"
updated: "2023-09-25"
---

# Resource record object

## Description

The ResourceRecord object maps a resource record.

## Structure

| Keyword JSON | Keyword XML | Occurs | Typ | Format | Description |
| --- | --- | --- | --- | --- | --- |
| name | name | 1 | string |  | Resource record name |
| type | type | 1 | enum | [ResourceRecordType](/en/api/core-resource-record-type-enum/) | Resource record typeFurther information about resourse records: [http://de.wikipedia.org/wiki/Resource\_Record](http://de.wikipedia.org/wiki/Resource_Record) |
| pref | pref | 0 -1 | integer | int32 | Resource Record priority (e.g. MX) Max. 65535 |
| value | value | 1 | string |  | Resource record value |
| ttl | ttl | 0 - 1 | integer | int64 | 'Time to live' in seconds |
