ADAL

Retrieving ADAL tables

ADAL tables that are defined to be cpi-meta-data are available within the client API.

Supported from CPI 17.00

Get by key

Get ADAL object by Key.

pepperi.api.adal.get({
    "addon": "bb6ee826-1c6b-4a11-9758-40a46acb69c5", // the addon UUID
    "table": "SomeTable", // the ADAL table name
    "key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5" // The Key of the ADAL row
});

Returns:

{
   "success": true, 
   "object": {
      "Key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5",
      "Any": "other",
      "Fields": [ "That", "exist", "on", "the", "ADAL" ],
      "Object": true
   }
}

Get entire table

Get ADAL table by name

pepperi.api.adal.get({
    "addon": "bb6ee826-1c6b-4a11-9758-40a46acb69c5", // the addon UUID
    "table": "SomeTable", // the ADAL table name
});

Returns:

{
   "success": true, 
   "objects": [{
      "Key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5",
      "Any": "other",
      "Fields": [ "That", "exist", "on", "the", "ADAL" ],
      "Object": true
   }]
}

Last updated