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
Card Type field_tr_card_type The member's travel card type text
Current Balance field_tr_current_balance Current balance of the member's travel card number

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": null,
    "field_tr_card_type": null,
    "field_tr_current_balance": null
  }
}