Action: GetOwnerElement

Purpose: Returns a pointer to the Element to which a specified Attribute Node belongs. ie this Action allows you to answer the question: which tag contains this particular attribute?

Action-specific name/value pairs:

Parameter Name Description
AttributeOID The OID of the Attribute whose owner Element is to be retrieved.

Alternatively, the parameters above can be incorporated into a single JSON string and specified using the parameter name JSON, eg:

{AttributeOID:"1-6"}

Example Request

Action=GetOwnerElement
AttributeOID=1-6
&MDBAccessKeyId=[your access key id]
&Signature=[computed signature]
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2009-06-14T13%3A19%3A41
&Version=2009-04-15
&db=mdbx

or:

Action=GetOwnerElement
&JSON=%7BAttributeOID%3A%221-6%22%7D
&MDBAccessKeyId=[your access key id]
&OutputFormat=JSON
&Signature=[computed signature]
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2009-06-14T13%3A19%3A41
&Version=2009-04-15
&db=mdbx

Example Response

XML

<?xml version='1.0'?>
<GetOwnerElementResponse xmlns="http://mdbx.mgateway.com/doc/2009-06-05/">
   <GetOwnerElementResult>
      <ElementOID>
         1-4
      </ElementOID>
   </GetOwnerElementResult>
</GetOwnerElementResponse>

JSON (ie if OutputFormat=JSON specified in the Request)

{ElementOID:"1-4"}