Article sections

    Set valid count minimums and maximums based on time, date, duration and specific days of the week

    The standard ‘Invalid’ and ‘Invalid Duplicate’ validation is the default when creating validation services. Those service types work when the app user is online or offline. Also, it doesn’t require a Postback URL. Moreover, conditional validation allows you to add special count and duration-based conditions to invalidate scans. For these options, the app-user will need Internet connectivity. Also, until you add these conditional validations to our service creation tool, you’ll need to create your own Postback URL. You don’t need your own server and you don’t need to be a programmer. Find the simple instructions to follow below. Also, we can do it for you on request.

    INSTRUCTIONS:

    Construction Tutorial v3.0

    Use this Plain Text File to Copy URLs

    Conditional Validation features include:

    You can combine these to achieve your needs

    • Setting a minimum requirement of scans in order to make a scan valid. For example, you could fulfill an offer only if the customer had the offer scanned ‘x’ times. Or check if a student or member has fulfilled attendance obligations ‘x’ times before issuing a reward.
    • Setting a maximum number of scans allowed for each barcode. For example, you could limit the number of times a customer could use the same coupon, voucher or ticket. Or limit the number of times a student, member or guest could attend an event.
    • Setting a start and end time for when scans are valid. For example, you could have a ‘value’ (ticket, coupon, voucher, membership, etc.) be exclusively used ‘x’ times between certain hours. The service will become inaccessible outside of this time period set. Important: These are in EST. Please convert from your time zone to EST to allow this to work.
    • Setting a start and end date range for when scans are valid. For example, you could have a value be exclusively used ‘x’ times between certain dates.
    • Setting a first_scan duration from the current time during which scans will be valid. For example, you could have a value be exclusively used ‘x’ times over a defined period, with the period beginning with the first scan.
    • Setting a day range from a specific day range for when scans are valid, repeating each week. For example, you could have a scan valid only on weekdays and not on weekends or to be valid for ‘x’ times each week. You also have the option for a scan to be valid on specific days of the week like Mondays, Wednesdays, and Fridays only. Note: for non-consecutive days the maximum scan limit resets each day as opposed to the three days in aggregate.
    • Setting a maximum number of scans for an app-user for which scans are valid. For example, you could have a value be exclusively scanned ‘1’ time by an app-user but have the total maximum for all app users be a higher number.

    Validation Override

    Your conditional validation will apply to all database values associated to a specific service. Although different services can have different conditions, you might have cases where the conditions need to be different within a single service.

    To override the primary conditional validation, you can add simple, structured text in your validation database’s response text (column 2). For example, let’s say most of your values are valid for 24 hours but some need to be valid for 48 hours. You can set up the service for a 24 hour validation (duration=1440) from the first scan but over-ride that to validate specific values at 48 hours if the structured text duration=2880 is in the response. Refer to the instructions for further details.

    Visual Representation of Validation Options

    Conditional Validations

    Don’t see what you need? Let our support team know so we can evaluate your request.