Report Mappings
This document lays out the specification of interacting with the Qgiv Report Mappings system, allowing for reading, writing, and updating report mappings.
Report Mapping Properties
- identifier* (string)
- mappingData* (string)
- (int)
- (int)
GET : https://secure.qgiv.com/admin/api/reporting/mappings/list
Returns all report mappings associated with the current form or organization
<mappings>
<mapping id="1246">
<identifier>1350</identifier>
<mappingData>monthly</mappingData>
<exportService>3</exportService>
<type>7</type>
</mapping>
</mappings>{
"mappings": [
{
"id": "1246",
"identifier": "1350",
"mappingData": "monthly",
"exportService": "3",
"type": "7"
}
...
]
}GET : https://secure.qgiv.com/admin/api/reporting/mappings/[id]
Returns the report mapping requested, individually specified by ID.
<mappings>
<mapping id="1246">
<identifier>1350</identifier>
<mappingData>monthly</mappingData>
<exportService>3</exportService>
<type>7</type>
</mapping>
</mappings>{
"mapping": {
"id": "1246",
"identifier": "1350",
"mappingData": "monthly",
"exportService": "3",
"type": "7"
}
}POST : https://secure.qgiv.com/admin/api/mappings/create
Creates one or more report mappings with the values passed in, returning the complete list of report mapping(s) with the new ID(s)
Input
<mappings>
<mapping>
<identifier>1350</identifier>
<mappingData>monthly</mappingData>
<exportService>3</exportService>
<type>7</type>
</mapping>
</mappings>{
"mappings": [
{
"identifier": "1350",
"mappingData": "monthly",
"exportService": "3",
"type": "7"
}
...
]
}Output
<mappings>
<mapping id="1246">
<identifier>1350</identifier>
<mappingData>monthly</mappingData>
<exportService>3</exportService>
<type>7</type>
</mapping>
</mappings>{
"mappings": [
{
"id": "1246",
"identifier": "1350",
"mappingData": "monthly",
"exportService": "3",
"type": "7"
}
...
]
}POST : https://secure.qgiv.com/admin/api/mappings/[id]
Updates one or more report mappings with the values passed in, returning the complete list of report mappings
Input
<mappings>
<mapping id="1246">
<identifier>1450</identifier>
<mappingData>annually</mappingData>
</mapping>
</mappings>{
"mappings": [
{
"id": "1246",
"identifier": "1450",
"mappingData": "annually"
}
...
]
}Output
<mappings>
<mapping id="1246">
<identifier>1450</identifier>
<mappingData>annually</mappingData>
<exportService>3</exportService>
<type>7</type>
</mapping>
</mappings>{
"mappings": [
{
"id": "1246",
"identifier": "1450",
"mappingData": "annually",
"exportService": "3",
"type": "7"
}
...
]
}* 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