Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

POST/Surveys/:Survey_id/PSIDEligible?PSID=%PSID%&rd_device_id=[%%research_defender_respondent_ud%%]&ip_address=[%%ipv4_address%%]

The primary use of this API End Point is to check the PSID exclusion across multiple surveys.

METHOD

POST

URL

/suppliers/v2/surveys/PSIDEligible/batch

QUERY STRING PARAMETERS

Parameter

Type

Required

Description

PSID

string

Yes

The respondent's persistent PSID

rd_device_id

string

Yes

Will check a respondent using Research Defender's /predupe api.  Use this to reduce ps_df_dupe statuses

ip_address

string

Yes

Will check a respondent's eligibility with some buyers.  IP Address should be in the format 0.0.0.0

The API is case sensitive

BODY

{ "surveys": [866370, 838376, 814083, 805719, 866359, 908942, 804404,866402, 111111111, 880009]}

Sample Response

{  "apiStatus": "success",
  "msg": "PSID Eligibility Checked successfully",
  "version": "2.0",
  "eligible": [ { "surveyId": 866370},
                { "surveyId": 838376},
                {"surveyId": 805719},
                { "surveyId": 866359},
                { "surveyId": 908942} 
              ],
  "ineligible": [ { "surveyId": 814083, "reason": "PSIDRef ineligible" },
                  { "surveyId": 111111111, "reason": "Survey ID Not Found" },
                  { "surveyId": 880009, "reason": "PSIDRef ineligible" } 
}

  • No labels