SOAP API - registerAttributes
The table summarizes the SOAP API - registerAttributes.
Request | Uses the registerAttributesRequest element (from the EventCollectorUpdateService schema). |
Parameter notes |
|
Response | Returns a registerAttributesResponse element (from the EventCollectorUpdateService schema). |
Example | Request:<soapenv:Body> <api:registerAttributesRequest> <componentId>20</componentId> <base:AttributeDefinition> <category>CUSTOM</category> <name>customAttr1</name> <type>STRING</type> </base:AttributeDefinition> <base:AttributeDefinition> <category>CUSTOM</category> <name>customAttr2</name> <type>LONG</type> </base:AttributeDefinition> </api:registerAttributesRequest> </soapenv:Body> |
Response:<SOAP-ENV:Body> <registerAttributesResponse xmlns="http://api.ec.n2.tibco.com"> <AttributeDefinition xmlns="http://base.api.ec.n2.tibco.com"> <category xmlns="">CUSTOM</category> <componentId xmlns="">20</componentId> <id xmlns="">275</id> <isPrimary xmlns="">false</isPrimary> <length xmlns="">-1</length> <name xmlns="">customAttr1</name> <type xmlns="">STRING</type> </AttributeDefinition> <AttributeDefinition xmlns="http://base.api.ec.n2.tibco.com"> <category xmlns="">CUSTOM</category> <componentId xmlns="">20</componentId> <id xmlns="">274</id> <isPrimary xmlns="">false</isPrimary> <length xmlns="">-1</length> <name xmlns="">customAttr2</name> <type xmlns="">LONG</type> </AttributeDefinition> </registerAttributesResponse> </soapenv:Body> |
Copyright © Cloud Software Group, Inc. All rights reserved.