Skip to main content
deleted 1 character in body
Source Link
Kelly J Andrews
  • 4.4k
  • 1
  • 19
  • 39

The [ListAttribute object returns the Ordinal property for this -

The [ListAttribute object returns the Ordinal property for this -

The ListAttribute object returns the Ordinal property for this -

added 136 characters in body
Source Link
Kelly J Andrews
  • 4.4k
  • 1
  • 19
  • 39

The [ListAttribute object returns the Ordinal property for this -

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

Edit Link to ListAttribute docs

The ListAttribute object returns the Ordinal property for this -

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

The [ListAttribute object returns the Ordinal property for this -

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

Edit Link to ListAttribute docs

Source Link
Kelly J Andrews
  • 4.4k
  • 1
  • 19
  • 39

The ListAttribute object returns the Ordinal property for this -

Sample Request

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header>  
        <fueloauth xmlns="http://exacttarget.com">your api key</fueloauth>
    </Header> 
       <Body>
          <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
             <RetrieveRequest>
                <ObjectType>ListAttribute</ObjectType> 
                <Properties>Name</Properties> 
                <Properties>Ordinal</Properties>    
             </RetrieveRequest>
          </RetrieveRequestMsg>
       </Body>
</Envelope>

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">
   <soap:Header>
      <wsa:Action>RetrieveResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:4052ca74-1c5b-4d89-bfff-daecb764484f</wsa:MessageID>
      <wsa:RelatesTo>urn:uuid:589c0c8c-5309-40b9-bf1e-ea58ac8274c2</wsa:RelatesTo>
      <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
      <wsse:Security>
         <wsu:Timestamp wsu:Id="Timestamp-351a200d-f58e-474c-b3e5-333c43f6a826">
            <wsu:Created>2014-04-25T10:22:30Z</wsu:Created>
            <wsu:Expires>2014-04-25T10:27:30Z</wsu:Expires>
         </wsu:Timestamp>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
         <OverallStatus>OK</OverallStatus>
         <RequestID>e31df1ab-2c43-4425-bf26-450d7ceb31b0</RequestID>
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
            <Name>_ModifiedDate</Name>
            <Ordinal>19</Ordinal>
         </Results>
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
            <Name>SubscriberKey</Name>
            <Ordinal>1</Ordinal>
         </Results>
         <Results xsi:type="ListAttribute">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
            <Name>FullName</Name>
            <Ordinal>2</Ordinal>
         </Results>
      <!-- results continue -->
      </RetrieveResponseMsg>
   </soap:Body>
</soap:Envelope>

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