I'm trying to transfer data from one application to another. Not finding the best and easiest way to do it. Does anyone have any advice? Do you recommend creating a data store? Or is there an easy way just to transfer one parameter to another application?
Chris, if you are attempting to pass information from a Call Scheduling request into a Summit application, then you can use the application_destination & application_data fields in the Call Scheduling request. Application_data can only be a singular string, and application_data can be a string or a JSON object; therefore, I typically use application_data since it has more flexibility in passing multiple data points.
**application_destination Optional (string):** This parameter is passed along to the Summit Application. It’s available to that application in the summit.application library, by calling the get_destination function. This field is the same as setting up a Routepoint with a value in application_destination.
**application_data Optional (string|JSON):** This parameter works like application_destination, except it corresponds to application_data on routepoints. This can either be JSON data or a string. If it is either JSON or a string that can be decoded into JSON (for example, you JSON encode your data before using this endpoint), Summit will attempt to decode the data and pass it to your application as a decoded object instead of a string.
Once you pass the information in those fields, you may access them from within your Summit application using the get_destination() method and get_data() methods from the application module. Documentation can be found here:
Let me know if this is what you're trying to accomplish,