Dataset: Intentions

Dataset name: ds_intentions

Description

Intentions

Fields in this dataset

Name Field Name Description Field Type Field Example
When is my car insurance due? field_int_car_insurance_due Date when the user's car insurance is due date
When is my contents insurance due? field_int_contents_insurance_due Date when the user's contents insurance is due date
When do I intend to get a different car? field_int_different_car Date when the user intends to move house date
When is my health insurance due? field_int_health_insurance_due Date when the user's health insurance is due date
When is my home insurance due? field_int_home_insurance_due Date when the user's home insurance is due date
When is my home services insurance due? field_int_home_services_due Date when the user's home service insurance is due date
When is my life insurance due? field_int_life_insurance_due Date when the user's life insurance is due date
When do I intend to move? field_int_moving_house Date when the user intends to move house date
When is my travel insurance due? field_int_travel_insurance_due Date when the user's travel insurance is due date

Making an API request for this Dataset

Example Request to the Sandbox Server

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

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

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.

The connection's read/write permissions are listed for each field. All instances of an accessible dataset are indexed with instance_N notation from N=0.

{
  "1": {
    "id": "1",
    "field_int_car_insurance_due": null,
    "field_int_contents_insurance_due": null,
    "field_int_different_car": null,
    "field_int_health_insurance_due": null,
    "field_int_home_insurance_due": null,
    "field_int_home_services_due": null,
    "field_int_life_insurance_due": null,
    "field_int_moving_house": null,
    "field_int_travel_insurance_due": null
  }
}