Dataset: Travel Card

Dataset name: ds_travel

Description

Details of travel arrangements.

Fields in this dataset

Name Field Name Description Field Type Field Example
Card Number field_tr_card_number The member's travel card number text 12345678
Card Type field_tr_card_type The member's travel card type text Savings
Current Balance field_tr_current_balance Current balance of the member's travel card number 23.45

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_travel

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_tr_card_number": "12345678",
    "field_tr_card_type": "Savings",
    "field_tr_current_balance": "23.45"
  }
}