Dataset: Profiles Preferences

Dataset name: ds_profiles_preferences

Description

Preferences

Fields in this dataset

Name Field Name Description Field Type Field Example
Profiles Preferences ID id The primary identifier for this record. serial 1
Profiles Preferences Instance instance The instance this item relates to. int 1
Persona Name persona_name Name of Persona this preference is associated with. varchar Mary Led
Preference Content preference_content Preference Content. blob culture, sports, art
Preference Created Timestamp preference_created_timestamp Preference Created Timestamp. int 1638375529
Preference Name preference_name Name for this preference. varchar Interests
Preference Updated Timestamp preference_updated_timestamp Preference Updated Timestamp. int 1639153129
Profiles Preferences Source source The source of the data - user or connection. varchar

Making an API request for this Dataset

Example Request to the Sandbox Server

http://sbx-api.mydex.org/api/pds/transaction/UID.json
  ?key=KEY
  &api_key=API_KEY
  &con_id=CON_ID
  &source_type=connection
  &dataset=ds_profiles_preferences
  &instance=N

Replace the following with your own details: UID KEY, API_KEY, CON_ID and instance N.

Replace sbx-api with api when making a connection to a real member on the production server (must be authenticated).

To return the data in XML, change UID.json to UID.xml.

Example Response

A response to this API request will be structured as follows.

{
  "1": {
    "id": "1",
    "ds_id": "1",
    "persona_name": "Mary Led",
    "preference_content": "culture, sports, art",
    "preference_created_timestamp": "1638375529",
    "preference_name": "Interests",
    "preference_updated_timestamp": "1639153129"
  }
}