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.