| Connect Web Services / Metadata Web Service | |
The Customer Metadata web service provides control over the Customer profile data schema.
Usage: GET /metadata/customer
Returns schema information for all Customer Attributes and Preferences accessible by the current user.
Example JSON Response Data
[
{"type":"master","dataType":12,"name":"Active Email Address","singleValued":true},
{"type":"master","dataType":12,"name":"Address Line 1","singleValued":true},
{"type":"master","dataType":12,"name":"Address Line 2","singleValued":true},
{"type":"master","dataType":12,"name":"Alternate Customer ID","singleValued":true},
{"type":"master","dataType":12,"name":"Alternate Phone","singleValued":true},
{"type":"attribute","dataType":12,"name":"Android Registration ID","singleValued":true},
{"type":"master","dataType":93,"name":"Birthdate","singleValued":true},
{"type":"attribute","dataType":12,"name":"Channel Address","singleValued":true},
{"type":"master","dataType":12,"name":"City","singleValued":true},
{"type":"master","dataType":3,"name":"Content Type Code","singleValued":true},
{"type":"master","dataType":12,"name":"Country","singleValued":true},
{"type":"master","dataType":93,"name":"Date Of Acquisition","singleValued":true},
{"type":"attribute","dataType":12,"name":"Email Client Type","boundedValues":["AOL","HTML","TEXT","UNKNOWN"],"singleValued":true},
{"type":"attribute","dataType":12,"name":"Facebook ID","singleValued":true},
{"type":"master","dataType":12,"name":"Fax","singleValued":true},
{"type":"master","dataType":12,"name":"First Name","singleValued":true},
{"type":"attribute","dataType":12,"name":"Gender","boundedValues":["Female","Male"],"singleValued":true},
{"type":"attribute","dataType":12,"name":"Language","singleValued":true},
{"type":"master","dataType":12,"name":"Last Name","singleValued":true},
{"type":"master","dataType":12,"name":"Middle Name","singleValued":true},
{"type":"attribute","dataType":12,"name":"Operating System","singleValued":true},
{"type":"master","dataType":12,"name":"Organization","singleValued":true},
{"type":"master","dataType":12,"name":"Phone","singleValued":true},
{"type":"master","dataType":12,"name":"Province","singleValued":true},
{"type":"master","dataType":12,"name":"Salutation","singleValued":true},
{"type":"attribute","dataType":12,"name":"Secure eMessageID","singleValued":true},
{"type":"master","dataType":12,"name":"State","singleValued":true},
{"type":"master","dataType":93,"name":"Termination Date","singleValued":true},
{"type":"attribute","dataType":12,"name":"Twitter ID","singleValued":true},
{"type":"master","dataType":12,"name":"Zip Code","singleValued":true},
{"type":"attribute","dataType":12,"name":"iOS Device Token ID","singleValued":true}
]
Attributes with bounded values specified must have their value appear in the bounded values list.
Usage: GET /metadata/customer/{Attribute Name}
Example: GET /metadata/customer/First Name
Example JSON Response Data
{"type":"master","dataType":12,"name":"First Name","singleValued":true},