Refresh Profiles
curl --request POST \
--url https://partnerapi.seekout.io/api/Refresh/RefreshProfiles \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"profileHandles": [
"<string>"
],
"apiKey": "<string>",
"batchSize": 123,
"maxConcurrency": 123,
"saveToStorage": true,
"jobId": "<string>"
}
'import requests
url = "https://partnerapi.seekout.io/api/Refresh/RefreshProfiles"
payload = {
"profileHandles": ["<string>"],
"apiKey": "<string>",
"batchSize": 123,
"maxConcurrency": 123,
"saveToStorage": True,
"jobId": "<string>"
}
headers = {
"Api-Key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Api-Key': '<api-key>', 'Content-Type': 'application/json-patch+json'},
body: JSON.stringify({
profileHandles: ['<string>'],
apiKey: '<string>',
batchSize: 123,
maxConcurrency: 123,
saveToStorage: true,
jobId: '<string>'
})
};
fetch('https://partnerapi.seekout.io/api/Refresh/RefreshProfiles', 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://partnerapi.seekout.io/api/Refresh/RefreshProfiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'profileHandles' => [
'<string>'
],
'apiKey' => '<string>',
'batchSize' => 123,
'maxConcurrency' => 123,
'saveToStorage' => true,
'jobId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Api-Key: <api-key>",
"Content-Type: application/json-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://partnerapi.seekout.io/api/Refresh/RefreshProfiles"
payload := strings.NewReader("{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://partnerapi.seekout.io/api/Refresh/RefreshProfiles")
.header("Api-Key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partnerapi.seekout.io/api/Refresh/RefreshProfiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json-patch+json'
request.body = "{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"jobId": "<string>",
"totalRequested": 123,
"totalProcessed": 123,
"totalSuccessful": 123,
"totalFailed": 123,
"successfulRefreshes": [
"<string>"
],
"failedRefreshes": [
{
"handle": "<string>",
"error": "<string>"
}
],
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"duration": "<string>",
"dataUrl": "<string>",
"progressUrl": "<string>",
"progressPercentage": 123
}Profile refresh
Refresh Profiles
POST
/
api
/
Refresh
/
RefreshProfiles
Refresh Profiles
curl --request POST \
--url https://partnerapi.seekout.io/api/Refresh/RefreshProfiles \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"profileHandles": [
"<string>"
],
"apiKey": "<string>",
"batchSize": 123,
"maxConcurrency": 123,
"saveToStorage": true,
"jobId": "<string>"
}
'import requests
url = "https://partnerapi.seekout.io/api/Refresh/RefreshProfiles"
payload = {
"profileHandles": ["<string>"],
"apiKey": "<string>",
"batchSize": 123,
"maxConcurrency": 123,
"saveToStorage": True,
"jobId": "<string>"
}
headers = {
"Api-Key": "<api-key>",
"Content-Type": "application/json-patch+json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Api-Key': '<api-key>', 'Content-Type': 'application/json-patch+json'},
body: JSON.stringify({
profileHandles: ['<string>'],
apiKey: '<string>',
batchSize: 123,
maxConcurrency: 123,
saveToStorage: true,
jobId: '<string>'
})
};
fetch('https://partnerapi.seekout.io/api/Refresh/RefreshProfiles', 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://partnerapi.seekout.io/api/Refresh/RefreshProfiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'profileHandles' => [
'<string>'
],
'apiKey' => '<string>',
'batchSize' => 123,
'maxConcurrency' => 123,
'saveToStorage' => true,
'jobId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Api-Key: <api-key>",
"Content-Type: application/json-patch+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://partnerapi.seekout.io/api/Refresh/RefreshProfiles"
payload := strings.NewReader("{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json-patch+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://partnerapi.seekout.io/api/Refresh/RefreshProfiles")
.header("Api-Key", "<api-key>")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partnerapi.seekout.io/api/Refresh/RefreshProfiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json-patch+json'
request.body = "{\n \"profileHandles\": [\n \"<string>\"\n ],\n \"apiKey\": \"<string>\",\n \"batchSize\": 123,\n \"maxConcurrency\": 123,\n \"saveToStorage\": true,\n \"jobId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"jobId": "<string>",
"totalRequested": 123,
"totalProcessed": 123,
"totalSuccessful": 123,
"totalFailed": 123,
"successfulRefreshes": [
"<string>"
],
"failedRefreshes": [
{
"handle": "<string>",
"error": "<string>"
}
],
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"duration": "<string>",
"dataUrl": "<string>",
"progressUrl": "<string>",
"progressPercentage": 123
}Authorizations
Organization-scoped API key provisioned by SeekOut. Send it in the Api-Key header on every request.
Body
application/json-patch+jsonapplication/jsontext/jsonapplication/*+json
Response
Success
Available options:
Queued, InProgress, Completed, Failed, Cancelled Show child attributes
Show child attributes
Was this page helpful?
⌘I