Settings this flow accepts when you run it
curl --request GET \
--url https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings', 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://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"configurable": true,
"groups": [
{
"key": "period",
"title": "<string>"
}
],
"settings": [
{
"key": "<string>",
"type": "date",
"group": "period",
"title": "<string>",
"tooltip": "<string>",
"default": "<unknown>",
"options": [],
"supported": true,
"unsupported_reason": "<string>"
}
]
}{
"message": "You cannot execute for all consumers on marketplace accounts",
"status": "error"
}{
"message": "The flow does not exist",
"status": "error"
}{
"message": "An execution of this flow is already running for this consumer",
"status": "error"
}{
"message": "This flow cannot apply one of the settings",
"status": "error"
}Syncs
Settings this flow accepts when you run it
Lists the settings you can pass when running this flow: the period to cover, whether the run writes for real, whether data already synchronised is exported again, and how much it logs. Each setting comes with its type, its options and a short explanation, as text in the requested language. Settings this flow cannot apply are not listed.
GET
/
syncs
/
{syncid}
/
flows
/
{flowid}
/
settings
Settings this flow accepts when you run it
curl --request GET \
--url https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings', 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://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chift.eu/syncs/{syncid}/flows/{flowid}/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"configurable": true,
"groups": [
{
"key": "period",
"title": "<string>"
}
],
"settings": [
{
"key": "<string>",
"type": "date",
"group": "period",
"title": "<string>",
"tooltip": "<string>",
"default": "<unknown>",
"options": [],
"supported": true,
"unsupported_reason": "<string>"
}
]
}{
"message": "You cannot execute for all consumers on marketplace accounts",
"status": "error"
}{
"message": "The flow does not exist",
"status": "error"
}{
"message": "An execution of this flow is already running for this consumer",
"status": "error"
}{
"message": "This flow cannot apply one of the settings",
"status": "error"
}Authorizations
Query Parameters
Response
Successful Response