I am retrieving the Subscriber from the API.

The Marketing Cloud advertises an Order field in the Profile Management section, that allows attributes to be ordered. Also, there is a "Hidden" checkbox in the properties dialog box for an attribute to be hidden from the subscriber.

Issue: Unfortunately, the Order integer, and the Hidden boolean are not provided in the response from the API. There seems to be some missing data in the response from the API, because it is not a reflection of the Profile Management section in the Marketing Cloud.

Use-case: I'm building a custom preference center that is integrated with the ExactTarget API. The preference center is using a content engine to dynamically write the HTML using the data retrieved via the API Call. Because I am relying on the ExactTarget API for the data, I'm hoping the API would have the ability to reference the Order and Hidden fields in the response, so I can iterate over these objects and print their values through my PHP engine.


Is it possible to add these extra values into the Attributes of the Soap Response?


Proposed Solution:

[Results] => Array
        [PartnerKey] => 
        [ID] => 0000000000
        [ObjectID] => 
        [EmailAddress] => [email protected]
        [Attributes] => Array
                [0] => Array
                        [Name] => Email Address
                        [Value] => [email protected]
                        [Order] => 4
                        [Hidden] => FALSE

                [1] => Array
                        [Name] => First Name
                        [Value] => John
                        [Order] => 1
                        [Hidden] => FALSE

                [2] => Array
                        [Name] => Interest Level
                        [Value] => 75%
                        [Order] => 3
                        [Hidden] => TRUE

                [3] => Array
                        [Name] => Last Name
                        [Value] => Smith
                        [Order] => 2
                        [Hidden] => FALSE


        [SubscriberKey] => [email protected]
        [Status] => Active

1 Answer 1


The ListAttribute object returns the Ordinal property for this -

Sample Request

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
        <fueloauth xmlns="http://exacttarget.com">your api key</fueloauth>
          <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">

Sample Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsu:Timestamp wsu:Id="Timestamp-351a200d-f58e-474c-b3e5-333c43f6a826">
      <RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
      <!-- results continue -->

You should be able to use this in building out the profile center.

Edit Link to ListAttribute docs

  • Hey Kelly, thank you for providing me this solution for the ordinal. Will it also describe an attribute as hidden?
    – Axiom
    Apr 25, 2014 at 17:05
  • Yes absolutely - updated with link to the ListAttribute object. Apr 25, 2014 at 17:09
  • Did this answer your question, or no? Apr 25, 2014 at 21:42
  • That information is wonderful. Is the Subscriber Object also getting these changes in its Attributes property, which contains the Attribute objects? I'm trying to minimize my calls to the API. Would really benefit from having the Attributes property in the Subscriber object reflect those changes as well :) Let me know if it can be done. Gracias.
    – Axiom
    Apr 28, 2014 at 14:27
  • 1
    Just added to the ideas section. Thanks again for supporting us.
    – Axiom
    Apr 28, 2014 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .