Action: GetAttributeName

Purpose: Retrieves the name of a specified Attribute Node

Action-specific name/value pairs:

Parameter Name Description
AttributeOID The Attribute whose name is required.

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

{AttributeOID:"1-15"}

Example Request

Action=GetAttributeName
&AttributeOID=1-15
&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=GetAttributeName
&JSON=%7BAttributeOID%3A%221-15%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'?>
<GetAttributeNameResponse xmlns="http://mdbx.mgateway.com/doc/2009-06-05/">
   <GetAttributeNameResult>
      <AttributeName>
         id
      </AttributeName>
   </GetAttributeNameResult>
</GetAttributeNameResponse>
</pre>

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

{AttributeName:"id"}

In the example above, the Attribute whose OID is 1-15 has name id