Math HTTP POST

This function extends your Infusionsoft system to enable you to do various math operations, and store the results in an Infusionsoft field for later use. These values can also be used in Campaign Builder’s decision diamonds to dynamically route your contacts through the workflow.

Example

http://www.yoursite.com/?operation=math&auth_key=foo&value1=_FieldName&function=add&value2=456&destination=_CustomField

Usage

Math HTTP POSTs are compatible with Legacy HTTP POSTs, Actionsets, and Campaign Builder.

Parameters

Math HTTP POSTs take the following parameters

value1: The name of a field to source the value from, or the value itself. Custom fields must start with an underscore.

function: One of the following functions: subtract, add, multiply, divide, max, min or random. If there is an additional function you need support for, please contact us at Support.

value2:  The name of a field to source the value from, or the value itself. Custom fields must start with an underscore.

destination:  The name of a field to store the resulting value to. Custom fields must start with an underscore. The destination field does not need to be a number. You can use a text field just as easily.

precision:  The optional number of decimal digits to round to.  Set to 0 for an integer.

format:  As an optional advanced feature, You can format the resulting output before storing it in the destination field.  This is especially useful if you need to format the result into currency, etc.  You can use standard sprintf formatting codes documented here.

auth_key:  Your Memberium HTTP POST authentication key.  You can find a list of your valid i2SDK authentication keys in your i2SDK plugin.

 

Generating Random Numbers

You can generate a random number and store it into a field using the random function. The lower range of the random value is placed into value1, and the upper end of the range goes into value2. The random function only generates integers.

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

Keep Reading

Allow Autologin

This setting determines whether or not your site will allow you to use the autologin feature. The Autologin feature is inherently less secure because it replaces the user’s password with a simple number which can be easily brute-forced or guessed. Once someone obtains the Contact Id and the user’s email address they can continue to access the account even if the user changes the password.

Read More »

How to Create a Successful Online Course and Membership Wisdom with LifterLMS Co-Founder Chris Badgett [Episode 22]

In today’s episode, Chris Badgett, the CEO and co-founder of LifterLMS joins Micah to share his insights about online course design, membership sites and his advice for anyone who’s thinking about starting an online course.

Starting an online course is hard. When you’re trying to start your own online course, people run into what Chris refers to as “the five hats problem”. To run a successful online course, you have to be an expert, you have to be a community builder, an instructional designer, a technologist and you have to be an entrepreneur. Fulfilling all these roles yourself can be a huge challenge.

Chris shares his advice on how you can overcome this problem and talks about the right way to approach launching an online course when you’re just getting started.

Throughout this episode, Chris shares a ton of useful nuggets you can use to improve your online course or membership site. He discusses the importance of using feedback loops to improve the outcomes for your students and ultimately make your online course more successful.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://memberium.com/support/ or Email us at support@memberium.com.