Tokens & Lookups
Destination Platforms
GET
/
api
/
v3
/
respondents
/
destination_platforms
/
{private_key}
Destination Platforms
curl --request GET \
--url https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}import requests
url = "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"destination_platforms": [
{
"destination_platform_id": "31476a3e-9262-4888-aaeb-d9325eefcafe",
"destination_platform_name": "Research Desk"
}
]
}Returns the available destination platform identifiers used by PREDUPE. Call this server-side with your private key.
Use the returned
destination_platform_id (and the platform’s internal survey number) when activating PREDUPE on a SEARCH call. For Research Desk as the destination platform, the survey number is the ProjectUd.Was this page helpful?
Destination Platforms
curl --request GET \
--url https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}import requests
url = "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v3/respondents/destination_platforms/{private_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"destination_platforms": [
{
"destination_platform_id": "31476a3e-9262-4888-aaeb-d9325eefcafe",
"destination_platform_name": "Research Desk"
}
]
}