1. Buyer API
  • Supplier API
    • Supplier API – FAQ
    • HTTP Status Codes
    • --- Start Here ---
      • Onboarding Process
      • Mapping
      • Survey Inventory Management
      • Respondent-Survey Flow
      • Statuses, Term Reasons & Categories
      • Onboarding Checklist
      • API Call Flow
      • Frequently Asked Questions (FAQ)
      • Complete Validation Notifications
    • --- APIs ---
      • Lookup Question Library
      • Set Global redirect URLs and Pixels for supplier’s
      • Delete Global redirect URLs and Pixels for supplier’s account
      • Core Metadata Fields
      • Get Question Categories
      • Get Allocated Surveys (all live surveys)
      • Get Allocated Surveys By Id
      • Get Allocated Surveys By Date (live surveys only)
      • Get Allocated Surveys With Pagination (live surveys only)
      • Get Redirect Method for Survey
      • Set Redirect Method for Survey
      • Delete Redirect Method for Survey
      • Get Closed Survey List (allocated to supplier only)
      • Get Survey Transactions data
      • Get Survey Transactions data By Date Range
      • Survey Allow for Unique IP
      • Allow Unique PID & IP
      • Get Panellist Profiling
      • Survey Availability Endpoint
      • Get Survey Stats data By Date Range
      • Get Questions By Category
      • Answer Lookup
      • Get Survey Transactions data By PID and survey number
      • Get PIDs for re-contact surveys (studies)
      • Get survey stats
      • Set Panellist Profiling
      • Update Panellist Profiling
      • Get surveys for respondent
      • Respondent Pre Survey Check
      • Single Term Reason Category Code
      • Term reason category
      • Get Allocated High Priority Surveys(All Live Surveys)
      • Get Survey Targeting
      • Get Quota for Survey
  • Buyer API
    • Buyer API - FAQ
    • Create Job
      POST
    • Update Job
      PUT
    • Get Job Details
      GET
    • Update Job Status
      PUT
    • Get Job List By Status
      POST
    • Create Group
      POST
    • Update Group
      PUT
    • Get Group Details
      GET
    • Update Group Status
      PUT
    • Add Target to group
      POST
    • Update Target to group
      PUT
    • Remove Target Question
      DELETE
    • Add Quota to Group
      POST
    • Update Group Quota
      PUT
    • Get Group Quotas
      GET
    • Get Group Feasibility
      GET
    • Feasibility (Find estimates)
      POST
    • Questions Library
      GET
    • Get Job Stats
      GET
    • Get Group Stats
      GET
    • Get Group Quota Stats
      GET
  • Text Analyzer API
    • Text Analyzer API - FAQ
    • API Details
  • Postbacks/Redirects
    • Redirect URL
    • PostBack URL
    • Hashing Mechanism
  • View Change Log
    • View Change Log
  • Schemas
    • Supplier API
      • surveyTransModel1
      • surveyTransModel2
      • surveyTransModel3
      • questionCategoryModel
      • termCatModel
      • questionModel
      • surveyTargetingModel
      • surveyStatsModel
      • surveyStatsByIdModel
      • respondentPreSurveyCheckModel
      • getAllocatedSurveysModel
      • surveyStatusModel
      • closedSurveyModel
      • surveyStatsModel
      • respondantQualificationModel2
      • answerModel
      • surveyRedirectsModel
      • accountUrlsModel
      • accountUrlsModel2
      • recontactSurveyModel
      • deleteUpdatesurveyRedirectsModel
      • masterDataModel
      • quotaModel
      • commonSurveyTransaModel
    • Buyer API
      • Create Job
      • UpdateJob
      • GetJobDetail
      • UpdateJobStatus
      • GetJobListByStatus
      • CreateGroup
      • UpdateGroup
      • GetGroupDetails
      • UpdateGroupStatus
      • AddTargetToGroup
      • UpdateTargetToGroup
      • RemoveTargetQuestion
      • AddQuotaToGroup
      • UpdateGroupQuota
      • GetGroupQuotas
      • GetGroupFeasibility
      • Feasibility
      • QuestionLibrary
      • GetJobStats
      • getGroupStats
      • GetGroupQuotaStats
  1. Buyer API

Add Quota to Group

Production Endpoint
https://apivisionsampling.innovatemr.com/api/v2
Production Endpoint
https://apivisionsampling.innovatemr.com/api/v2
POST
/pega/quota
This API is used to add quota to the group.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apivisionsampling.innovatemr.com/api/v2/pega/quota' \
--header 'x-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Title": "Sample Quota",
    "HardStop": false,
    "HardStopType": 0,
    "N": 100,
    "GroupId": 12345,
    "Conditions": {
        "AGE": [
            "18-35"
        ],
        "GENDER": [
            1,
            2
        ],
        "ZIPCODES": [
            "23213",
            "34543"
        ]
    }
}'
Response Response Example
{
    "apiStatus": "success",
    "msg": "Quota is successfully created.",
    "Quota": {
        "HardStop": true,
        "Status": 1,
        "HardStopType": 0,
        "N": 5,
        "Title": "Male ",
        "Conditions": {
            "AGE": [
                {
                    "OptionId": 1,
                    "AgeStart": 26,
                    "AgeEnd": 35
                },
                {
                    "OptionId": 2,
                    "AgeStart": 51,
                    "AgeEnd": 60
                }
            ]
        },
        "GroupId": 19254,
        "JobId": 8528,
        "Id": 12130,
        "CreatedDate": "2019-01-11T13:48:56.884Z"
    }
}
Modified at 2025-09-08 07:20:21
Previous
Remove Target Question
Next
Update Group Quota
Built with