ama_stringParser

Purpose:

Parses through a string to create an array of key/value pairs for data elements within the string.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_stringParser”
  • Subject(string)
  • To(string)
  • From(string)
  • Body(string)

Notes

  • If the string is an email, provide the key value pairs for the related data elements
  • If the string is not an email, put the string in the Body item.

Results (json array)

  • Status (string).  (“0″=Success, “1”=Not Successfull)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.

ama_addExportStat

TODO supply a title

Purpose:

Adds a statistic record to a Statistic table.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_addExportStat”
  • tableName (string)

Notes

  • Add a Key/Value pair for each column you want to add a counter for and it’s value.

Results (json array)

  • Status (string).  (“0″=Success, “100”=Other)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example


Click here for an example.

ama_insertImportTableRecord

Purpose:

Insert a row into an UBERBase import table.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_insertImportTableRecord”
  • tableName (string)
  • ID (string)
  • Key/Value pairs for each column with data.

Notes

  • The table name can be any UBERBase import table.
  • If the ID is provided, the row is updated.

Results (json array)

  • Status (string).  (“0″=Success, “1”=Not Successfull)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.

ama_setImportTablesMatchedInd

Purpose:

Sets a row in an UBERBase import table to “Matched” to remove it from the work list.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_setImportTablesMatchedInd”
  • tableName (string)
  • firstName (string)
  • lastName (string)
  • ID (string)

Notes

  • The table name can be any UBERBase import table with a structure that includes a unique ID and a column called MatchedInd (matched indicator)

Results (json array)

  • Status (string).  (“0″=Success, “1”=Not Successfull)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.

ama_searchImportTables

Purpose:

Searches a specified column of  a custom import table for rows that match ID, firstName (and/or) lastName, or a search string and returns an array of the results.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_searchImportTables”
  • tableName (string)
  • firstName (string)
  • lastName (string)
  • ID (string)

Notes

  • If the ID parameter is provided, the other parameters are ignored.

Results (json array)

  • Status (string).  (“0″=Success, “100”=Other)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.