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
    • Redirect URL Helper
  • View Change Log
    • View Change Log
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Buyer API

Update Group Status

Production Endpoint
https://apivisionsampling.innovatemr.com/api/v2
Production Endpoint
https://apivisionsampling.innovatemr.com/api/v2
PUT
https://apivisionsampling.innovatemr.com/api/v2
/pega/group/{GroupId}/status
This API is used to update group status. To mark Group as Live(Status 1), MaximumCostPerInterview should be updated in group.

Request

Path Params

Header Params

Body Params application/json

Example
{
    "status":1
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://apivisionsampling.innovatemr.com/api/v2/pega/group//status' \
--header 'x-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status":1
}'

Responses

🟢200OK
application/json
Body

Example
{
    "apiStatus": "success",
    "msg": "Group status is set as Paused",
    "group": {
        "Target": {
            "GeoIPCheck": 1,
            "Languages": [
                1
            ],
            "Country": "United States"
        },
        "Status": 2,
        "Name": "Group A Test",
        "N": 20,
        "IncidenceRate": 30,
        "CostPerInterview": 3.75,
        "LengthOfInterview": 3,
        "LiveSurveyUrl": "http://www.survey.com?tk=[%%token%%]&pid=[%%pid%%]",
        "JobId": 8575,
        "CompanyId": 44,
        "DeviceType": 6,
        "CountryCode": "US",
        "Language": "ENGLISH",
        "Id": 19427,
        "CreatedDate": "2018-12-05T13:15:54.745Z",
        "SID": "ev9wL269",
        "TestSurveyUrl": "",
        "Fielding": {
            "FieldingStartDate": "2021-04-12T07:00:00.000Z",
            "FieldingEndDate": "2021-04-23T06:59:59.999Z"
        }
    }
}
Modified at 2025-03-04 04:42:49
Previous
Get Group Details
Next
Add Target to group
Built with