1. Supplier API
  • Supplier API – FAQ
  • Supplier API
    • Onboarding Process
    • Mapping
    • Survey Inventory Management
    • Respondent-Survey Flow
    • Statuses, Term Reasons & Categories
    • Onboarding Checklist
    • API Call Flow
    • Complete Validation Notifications
    • Frequently Asked Questions (FAQ)
    • Lookup Question Library
      GET
    • Set Global redirect URLs and Pixels for supplier’s
      PUT
    • Delete Global redirect URLs and Pixels for supplier’s account
      DELETE
    • Core Metadata Fields
      GET
    • Get Question Categories
      GET
    • Get Allocated Surveys (all live surveys)
      GET
    • Get Allocated Surveys By Id
      GET
    • Get Allocated Surveys By Date (live surveys only)
      GET
    • Get Allocated Surveys With Pagination (live surveys only)
      GET
    • Get Redirect Method for Survey
      GET
    • Set Redirect Method for Survey
      PUT
    • Delete Redirect Method for Survey
      DELETE
    • Get Closed Survey List (allocated to supplier only)
      GET
    • Get Survey Transactions data
      GET
    • Get Survey Transactions data By Date Range
      GET
    • Survey Allow for Unique IP
      POST
    • Allow Unique PID & IP
      POST
    • Get Panellist Profiling
      GET
    • Survey Availability Endpoint
      GET
    • Get Survey Stats data By Date Range
      GET
    • Get Questions By Category
      GET
    • Answer Lookup
      GET
    • Get Survey Transactions data By PID and survey number
      GET
    • Get PIDs for re-contact surveys (studies)
      GET
    • Get survey stats
      GET
    • Set Panellist Profiling
      POST
    • update Panellist Profiling
      PUT
    • get surveys for respondent
      POST
    • Respondent Pre Survey Check
      POST
    • Single Term Reason Category Code
      GET
    • term reason category
      GET
    • Get Allocated High Priority Surveys(All Live Surveys)
      GET
    • Get Survey Targeting
      GET
    • Get Quota for Survey
      GET
  • Buyer API - FAQ
  • Buyer API
    • Create Job
    • Update Job
    • Get Job Details
    • Update Job Status
    • Get Job List By Status
    • Create Group
    • Update Group
    • Get Group Details
    • Update Group Status
    • Add Target to group
    • Update Target to group
    • Remove Target Question
    • Add Quota to Group
    • Update Group Quota
    • Get Group Quotas
    • Get Group Feasibility
    • Feasibility (Find estimates)
    • Questions Library
    • Get Job Stats
    • Get Group Stats
    • Get Group Quota Stats
  • Postbacks/Redirects
    • Redirect URL
    • PostBack URL
    • Hashing Mechanism
  • HTTP Status Codes
  • Text Analyzer API - FAQ
  • Text Analyzer API
    • API Details
  1. Supplier API

Set Redirect Method for Survey

Production Endpoint
https://supplier.innovatemr.net/api/v2
Production Endpoint
https://supplier.innovatemr.net/api/v2
PUT
https://supplier.innovatemr.net/api/v2
/supply/setRedirectionForSurvey/{Survey ID}
With this API, supplier should be able to update redirect URLs or Pixels for each survey. By default, supplier’s global redirect and URLs will be used for each survey associated with supplier’s account. This API allows supplier to update the same at survey level. Global redirect URLs and Pixels for supplier’s account will remain as it is. Postback methods can be "GET/POST". Detault Postback method will be "GET".

Request

Path Params
Survey ID
string 
required
Survey Id of particular survey (like : 12634)
Header Params
x-access-token
string 
required
YOUR_X-ACCESS-TOKEN_HERE
Body Params application/json
sUrl
string 
required
Survey Success Url
fUrl
string 
required
Fail Survey Url
oUrl
string 
required
Overquota Survey Url
qTUrl
string 
required
Quality Termination Survey Url
tUrl
string 
required
Termination Survey Url
pstbck
string 
required
Success Postback
pstbck_fail
string 
required
Postback Fail
pstBckSuccessMethod
string 
required
Success Postback Method
pstBckFailMethod
string 
required
Postback Fail Method
Example
{
    "sUrl": "string",
    "fUrl": "string",
    "oUrl": "string",
    "qTUrl": "string",
    "tUrl": "string",
    "pstbck": "string",
    "pstbck_fail": "string",
    "pstBckSuccessMethod": "string",
    "pstBckFailMethod": "string"
}

Request 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://supplier.innovatemr.net/api/v2/supply/setRedirectionForSurvey/' \
--header 'x-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sUrl": "string",
    "fUrl": "string",
    "oUrl": "string",
    "qTUrl": "string",
    "tUrl": "string",
    "pstbck": "string",
    "pstbck_fail": "string",
    "pstBckSuccessMethod": "string",
    "pstBckFailMethod": "string"
}'

Responses

🟢200OK
application/json
Body
apiStatus
string 
required
msg
string 
required
result
array [object {6}] 
required
QuestionId
integer 
required
QuestionText
string 
required
QuestionKey
string 
required
QuestionType
string 
required
language
string 
required
Category
array[string]
required
Example
{
    "apiStatus": "success",
    "msg": "Redirection Methods updated successfully"
}
Previous
Get Redirect Method for Survey
Next
Delete Redirect Method for Survey
Built with