Developer Documentation Library > Interviewer - Server > UNICOM Intelligence Interviewer architecture > Interview Service tier > Quota web service > Quota web service > /Quota/Projects/[ProjectName]/QuotaGroups/[QuotaGroup]/Quotas
 
/Quota/Projects/[ProjectName]/QuotaGroups/[QuotaGroup]/Quotas
This URL returns information about the quota group and all quotas within the group for the requested group for the requested project.
XML example
<QuotaGroup Name="Expressions" Type="Expression" TotalCompleted="0" TotalPending="0" TotalToTarget="0" TotalTarget="10" >
<Quota Name="Children" Id=1 Expression="age &lt; 18" IsCounterOnly="True" Target="5" Pending="0" Completed="0" />
<Quota Name="Adults" Id=2 Expression="age &lt;= 18" IsCounterOnly="True" Target="5" Pending="0" Completed="0" />
</QuotaGroup>

<QuotaGroup Name="UseQ" Type="Table" PendMode="Priority" PendLimit="3" TotalComplete="3" TotalPending="0" TotalToTarget="3" TotalTarget="25" >
<Quota Name="Side.(0.UseQ).(0.Brand1)" Id=3 Expression="UseQ.HasAnswer({Brand1})" Priority="1" AllowOverQuota="True" Target="5" Pending="0" Completed="0" />
<Quota Name="Side.(0.UseQ).(1.Brand2)" Id=4 Expression="UseQ.HasAnswer({Brand2})" Priority="2" AllowOverQuota="True" Target="5" Pending="0" Completed="1" />
<Quota Name="Side.(0.UseQ).(2.Brand3)" Id=5 Expression="UseQ.HasAnswer({Brand3})" Priority="3" AllowOverQuota="True" Target="5" Pending="0" Completed="2" />
<Quota Name="Side.(0.UseQ).(3.Brand4)" Id=6 Expression="UseQ.HasAnswer({Brand4})" Priority="4" AllowOverQuota="True" Target="5" Pending="0" Completed="0" />
<Quota Name="Side.(0.UseQ).(4.Brand5)" Id=7 Expression="UseQ.HasAnswer({Brand5})" Priority="5" AllowOverQuota="True" Target="5" Pending="0" Completed="0" Count="0" />
</QuotaGroup>
JSON example
{
"Name": "UseQ",
"Type": "Table",
"PendMode": "Priority",
"PendLimit": "3",
"TotalComplete": "3",
    "TotalPending": 0,
    "TotalToTarget": 3,

"TotalTarget": "25",
"Quotas": [
{
"Name": "Side.(0.UseQ).(0.Brand1)",
"Expression": "UseQ.HasAnswer({Brand1})",
"Priority": "1",
"AllowOverQuota": "True",
"Target": "5",
"Pending": "0",
"Completed": "0"
},
{
"Name": "Side.(0.UseQ).(1.Brand2)",
"Expression": "UseQ.HasAnswer({Brand2})",
"Priority": "2",
"AllowOverQuota": "True",
"Target": "5",
"Pending": "0",
"Completed": "1"
},
{
"Name": "Side.(0.UseQ).(2.Brand3)",
"Expression": "UseQ.HasAnswer({Brand3})",
"Priority": "3",
"AllowOverQuota": "True",
"Target": "5",
"Pending": "0",
"Completed": "2"
},
{
"Name": "Side.(0.UseQ).(3.Brand4)",
"Expression": "UseQ.HasAnswer({Brand4})",
"Priority": "4",
"AllowOverQuota": "True",
"Target": "5",
"Pending": "0",
"Completed": "0"
},
{
"Name": "Side.(0.UseQ).(4.Brand5)",
"Expression": "UseQ.HasAnswer({Brand5})",
"Priority": "5",
"AllowOverQuota": "True",
"Target": "5",
"Pending": "0",
"Completed": "0",
"Count": "0"
}
]
}
Notes
The QuotaGroup has attributes of Type, PendMode, PendLimit, TotalCompleted, TotalPending, TotalToTarget, and TargetTarget.
PendMode is included in the XML only if its value is not “Normal”.
PendLimit and Priority included in the JSON response only if the PendMode is not “Normal”.
See also
Reading quotas