Qgiv is now Bloomerang Fundraising! The same trusted fundraising tools are now part of the Bloomerang Giving Platform!

→

Restrictions

This document lays out the specification of interacting with the Qgiv Restrictions system, allowing for reading, writing, and updating restrictions.

Restriction Properties

  • id (int)
  • title (string)
  • exportHeader (string)
  • displayTitle (string)
  • restrictionDescription (string)
  • subrestrictions (collection)
    • title (string)
    • restrictionDescription (string)
  • (int)
  • (int)
  • (int)
  • (int)
  • (int)
  • (int)
  • (int)
  • sort (int)

GET : https://secure.qgiv.com/admin/api/restrictions/list

Returns all restrictions associated with the current form

<restrictions>
    <restriction id="5249">
        <title>Greatest Need</title>
        <exportHeader></exportHeader>
        <displayTitle>Greatest Need</displayTitle>
        <restrictionDescription>All proceeds will go to our greatest need</restrictionDescription>
        <displayDescription>1</displayDescription>
        <subrestrictions>
            <subrestriction>
                <title>Missions focused</title>
                <restrictionDescription>All proceeds will go to our greatest need in the missions field</restrictionDescription>
            </subrestriction>
        </subrestrictions>
        <sort>3</sort>
        <displayOnFrontend>1</displayOnFrontend>
        <displayOnVT>1</displayOnVT>
        <displayOnKiosk>0</displayOnKiosk>
        <displayOnMobile>0</displayOnMobile>
        <isCustomRestriction>1</isCustomRestriction>
        <state>0</state>
    </restriction>
</restrictions>

GET : https://secure.qgiv.com/admin/api/restriction/[id]

Returns the restriction requested, individually specified by ID.

<restriction id="5249">
    <title>Greatest Need</title>
    <exportHeader></exportHeader>
    <displayTitle>Greatest Need</displayTitle>
    <restrictionDescription>All proceeds will go to our greatest need</restrictionDescription>
    <displayDescription>1</displayDescription>
    <subrestrictions>
        <subrestriction>
            <title>Missions focused</title>
            <restrictionDescription>All proceeds will go to our greatest need in the missions field</restrictionDescription>
        </subrestriction>
    </subrestrictions>
    <displayOnKiosk>0</displayOnKiosk>
    <displayOnFrontend>1</displayOnFrontend>
    <displayOnVT>1</displayOnVT>
    <displayOnMobile>1</displayOnMobile>
    <isCustomRestriction>1</isCustomRestriction>
    <sort>3</sort>
    <state>0</state>
</restriction>

POST : https://secure.qgiv.com/admin/api/restrictions/create

Creates one or more restrictions with the values passed in, returning the complete restrictions with the new ID

Input

<restrictions>
    <restriction>
        <title>Greatest Need</title>
        <exportHeader></exportHeader>
        <displayTitle>Greatest Need</displayTitle>
        <restrictionDescription>All proceeds will go to our greatest need</restrictionDescription>
        <displayDescription>1</displayDescription>
        <subrestrictions>
            <subrestriction>
                <title>Missions focused</title>
                <restrictionDescription>All proceeds will go to our greatest need in the missions field</restrictionDescription>
            </subrestriction>
        </subrestrictions>
        <displayOnKiosk>0</displayOnKiosk>
        <displayOnFrontend>1</displayOnFrontend>
        <displayOnVT>1</displayOnVT>
        <displayOnMobile>1</displayOnMobile>
        <isCustomRestriction>1</isCustomRestriction>
        <sort>3</sort>
        <state>0</state>
    </restriction>
</restrictions>

Output

<restrictions>
    <restriction id="5249">
        <title>Greatest Need</title>
        <exportHeader></exportHeader>
        <displayTitle>Greatest Need</displayTitle>
        <restrictionDescription>All proceeds will go to our greatest need</restrictionDescription>
        <displayDescription>1</displayDescription>
        <subrestrictions>
            <subrestriction>
                <title>Missions focused</title>
                <restrictionDescription>All proceeds will go to our greatest need in the missions field</restrictionDescription>
            </subrestriction>
        </subrestrictions>
        <displayOnKiosk>0</displayOnKiosk>
        <sort>3</sort>
        <displayOnFrontend>1</displayOnFrontend>
        <displayOnVT>1</displayOnVT>
        <displayOnMobile>1</displayOnMobile>
        <isCustomRestriction>1</isCustomRestriction>
        <state>0</state>
    </restriction>
</restrictions>

POST : https://secure.qgiv.com/admin/api/restrictions/[id]

Updates the given restriction, specified by ID, with the values passed in, returning the complete restriction

Input

<restrictions>
    <restriction id="5249">
        <displayOnMobile>0</displayOnMobile>
        <title>The Greatest Need</title>
    </restriction>
</restrictions>

Output

<restrictions>
    <restriction id="5249">
        <title>The Greatest Need</title>
        <exportHeader></exportHeader>
        <displayTitle>Greatest Need</displayTitle>
        <restrictionDescription>All proceeds will go to our greatest need</restrictionDescription>
        <displayDescription>1</displayDescription>
        <subrestrictions>
            <subrestriction>
                <title>Missions focused</title>
                <restrictionDescription>All proceeds will go to our greatest need in the missions field</restrictionDescription>
            </subrestriction>
        </subrestrictions>
        <displayOnKiosk>0</displayOnKiosk>
        <sort>3</sort>
        <displayOnFrontend>1</displayOnFrontend>
        <displayOnVT>1</displayOnVT>
        <displayOnMobile>0</displayOnMobile>
        <isCustomRestriction>1</isCustomRestriction>
        <state>0</state>
    </restriction>
</restrictions>

* denotes a required field

** denotes a required field based on Event settings

*** denotes a field that is only required when submitting Form level API credentials