Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Create, Modify, and Read a Universal Event Template XML and JSON Examples
Create, Modify, and Read a Universal Event Template XML and JSON Examples
Create, Modify, and Read a Universal Event Template: XML and JSON Examples

...

XML

...

XML

JSON

Expand
titleXML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<eventTemplate retainSysIds="true">
    <attributes>
        <attribute>
            <label>attribute            <label>attribute_label1</label>
            <name>attributelabel>
            <name>attribute_name1</name>
            <type>Text</type>name>
            <type>Text</type>
        </attribute>
        <attribute>
            <label>attribute            <label>attribute_label2</label>
            <name>attributelabel>
            <name>attribute_name2</name>
            <type>Integer</type>name>
            <type>Integer</type>
        </attribute>
        <attribute>
            <label>attribute            <label>attribute_label3</label>
            <name>attributelabel>
            <name>attribute_name3</name>
            <type>Boolean</type>name>
            <type>Boolean</type>
        </attribute>
        <attribute>
            <label>attribute            <label>attribute_label4</label>
            <name>attributelabel>
            <name>attribute_name4</name>
            <type>Float</type>name>
            <type>Float</type>
        </attribute>
    </attributes>
    <attributesPolicy>Include Attributes</attributesPolicy>
    <description>Global universal event template description    <attributePolicy>Include Attributes</attributePolicy>
    <description>Global universal event template description.</description>
    <label>Global Universal Event description>
    <label>Global Universal Event - Label</label>
    <name>globallabel>
    <name>global_universal_event_template</name>name>
    <sysId>66c6e90f5a334378809884a11cb12ac0</sysId>
    <TTL>11</TTL>    <TTL>11</TTL>
</eventTemplate>

attributesTTL

Expand
titleJSON

{
    "attributes": [
        {
            "label": "attribute_label1",
            "name": "attribute_name1",
            "type": "Text"
        },
        {
            "label": "attribute_label2",
            "name": "attribute_name2",
            "type": "Integer"
        },
        {
            "label": "attribute_label3",
            "name": "attribute_name3",
            "type": "Boolean"
        },
        {
            "label": "attribute_label4",
            "name": "attribute_name4",
            "type": "Float"
        }
    ],
    "attributesPolicyattributePolicy": "Include Attributes",
    "description": "Global universal event template description.",
    "label": "Global Universal Event - Label",
    "name": "global_universal_event_template",
    "retainSysIds": true,
    "sysId": "66c6e90f5a334378809884a11cb12ac0",
    "ttlTTL": 11
}

Anchor
Delete a Universal Event Template
Delete a Universal Event Template
Delete a Universal Event Template

...

XML

JSON

Expand
titleXML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<unversialEventTemplates>
    <eventTemplate>
        <attributes><attributes>
            <attribute>
                <label>attribute<label>attribute_label1</label>label>
                <name>attribute<name>attribute_name1</name>name>
                <type>Text</type><type>Text</type>
            </attribute>
            <attribute>
                <label>attribute<label>attribute_label2</label>label>
                <name>attribute<name>attribute_name2</name>name>
                <type>Integer</type><type>Integer</type>
            </attribute>
            <attribute>
                <label>attribute<label>attribute_label3</label>label>
                <name>attribute<name>attribute_name3</name>name>
                <type>Boolean</type><type>Boolean</type>
            </attribute>
            <attribute>
                <label>attribute<label>attribute_label4</label>label>
                <name>attribute<name>attribute_name4</name>name>
                <type>Float</type><type>Float</type>
            </attribute>
        </attributes>attributes>
        <attributesPolicy>Include <attributePolicy>Include Attributes</attributesPolicy>attributePolicy>
        <description>Global <description>Global universal event template description.</description>description>
        <label>Global <label>Global Universal Event - Label</label>label>
        <name>global<name>global_universal_event_template</name>name>
        <sysId>66c6e90f5a334378809884a11cb12ac0</sysId>
        <TTL>11</TTL>
    </eventTemplate>
    <eventTemplate>
        <attributes><attributes>
            <attribute>
                <label>attribute<label>attribute_label1</label>label>
                <name>attribute<name>attribute_name1</name>name>
                <type>Integer</type><type>Integer</type>
            </attribute>
            <attribute>
                <label>attribute<label>attribute_label4</label>label>
                <name>attribute<name>attribute_name4</name>name>
                <type>Float</type><type>Float</type>
            </attribute>
        </attributes>attributes>
        <attributesPolicy>Prohibit <attributePolicy>Prohibit Universal Event</attributesPolicy>attributePolicy>
        <description>description<description>description.</description>description>
        <label>Universal <label>Universal Event - Label2</label>label>
        <name>universal<name>universal_event_template2</name>name>
        <sysId>982a434746fc4618aa55d7928ba1f3e4</sysId>
        <TTL />
    </eventTemplate>
    <eventTemplate>
        <attributes><attributes>
            <attribute>
                <label>attribute<label>attribute_label1</label>label>
                <name>attribute<name>attribute_name1</name>name>
                <type>Integer</type><type>Integer</type>
            </attribute>
            <attribute>
                <label>attribute<label>attribute_label4</label>label>
                <name>attribute<name>attribute_name4</name>name>
                <type>Float</type><type>Float</type>
            </attribute>
        </attributes>attributes>
        <attributesPolicy>Prohibit <attributePolicy>Prohibit Universal Event</attributesPolicy>attributePolicy>
        <description>description<description>description.</description>description>
        <label>Universal <label>Universal Event - Label2 - Copy</label>
        <name>universal<name>universal_event_template2_copy</name>name>
        <sysId>814b1b35ea844407b6cd378f149d61a3</sysId>
        <TTL <TTL />
    </eventTemplate>
</unversialEventTemplates>



Expand
titleJSON

[
    {
        "attributes": [
            {
                "label": "attribute_label1",
                "name": "attribute_name1",
                "type": "Text"
            },
            {
                "label": "attribute_label2",
                "name": "attribute_name2",
                "type": "Integer"
            },
            {
                "label": "attribute_label3",
                "name": "attribute_name3",
                "type": "Boolean"
            },
            {
                "label": "attribute_label4",
                "name": "attribute_name4",
                "type": "Float"
            }
        ],
        "attributesPolicyattributePolicy": "Include Attributes",
        "description": "Global universal event template description.",
        "label": "Global Universal Event - Label",
        "name": "global_universal_event_template",
        "sysId": "66c6e90f5a334378809884a11cb12ac0",
        "ttl": 11
    },
    {
        "attributes": [
            {
                "label": "attribute_label1",
                "name": "attribute_name1",
                "type": "Integer"
            },
            {
                "label": "attribute_label4",
                "name": "attribute_name4",
                "type": "Float"
            }
        ],
        "attributesPolicyattributePolicy": "Prohibit Universal Event",
        "description": "description.",
        "label": "Universal Event - Label2",
        "name": "universal_event_template2",
        "sysId": "982a434746fc4618aa55d7928ba1f3e4",
        "ttl": null
    },
    {
        "attributes": [
            {
                "label": "attribute_label1",
                "name": "attribute_name1",
                "type": "Integer"
            },
            {
                "label": "attribute_label4",
                "name": "attribute_name4",
                "type": "Float"
            }
        ],
        "attributesPolicyattributePolicy": "Prohibit Universal Event",
        "description": "description.",
        "label": "Universal Event - Label2 - Copy",
        "name": "universal_event_template2_copy",
        "sysId": "814b1b35ea844407b6cd378f149d61a3",
        "ttlTTL": null


Anchor
Modify a Universal Event Template
Modify a Universal Event Template
Modify a Universal Event Template

...

nameUnique attribute name, adhering to the same naming convention as a Universal Template field name.

Property

UI Field Name

Description

Specifications

Required

Anchor
UETA - nameUETA - name

Name

Y

Anchor
UETA - label
UETA - label
label

Label

User-friendly display name for the attribute, to be displayed within the client.

The Attribute Label must be unique.

Y

Anchor
UETA - name
UETA - name
name

Name

Unique attribute name, adhering to the same naming convention as a Universal Template field name.


Y

Anchor
UETA - type
UETA - type
type

Type

Attribute type.

Valid values:

  • As String = Text, As Value = 1

  • As String = Integer, As Value = 2

  • As String = Boolean, As Value = 3

  • As String = Float, As Value = 4

Y