...
The excludeRelated and retainSysIds properties are specified as attributes in the <universalTemplate> element of XML web services.
XML | JSON |
---|
Expand |
---|
| Code Block |
---|
| | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<eventTemplate retainSysIds="true">
<attributes>
<attribute>
<label>attribute_label1</label>
<name>attribute_name1</name>
<type>Text</type>
</attribute>
<attribute>
<label>attribute_label2</label>
<name>attribute_name2</name>
<type>Integer</type>
</attribute>
<attribute>
<label>attribute_label3</label>
<name>attribute_name3</name>
<type>Boolean</type>
</attribute>
<attribute>
<label>attribute_label4</label>
<name>attribute_name4</name>
<type>Float</type>
</attribute>
</attributes>
<attributesPolicy>Include Attributes</attributesPolicy>
<description>Global universal event template description.</description>
<label>Global Universal Event - Label</label>
<name>global_universal_event_template</name>
<sysId>66c6e90f5a334378809884a11cb12ac0</sysId>
<TTL>11</TTL>
</eventTemplate>
| Expand |
---|
| Code Block |
---|
| {
"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"
}
],
"attributesPolicy": "Include Attributes",
"description": "Global universal event template description.",
"label": "Global Universal Event - Label",
"name": "global_universal_event_template",
"retainSysIds": true,
"sysId": "66c6e90f5a334378809884a11cb12ac0",
"ttl": 11
} |
|
|
...