curl --request GET \
--url https://api.chift.eu/consumers/{consumerid}/syncs/{syncid} \
--header 'Authorization: Bearer <token>'
{
"syncid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sync_name": "<string>",
"status": "inactive",
"status_details": "<string>",
"link_createdon": "2023-11-07T05:31:56Z",
"link_mappings": [
{
"name": "<string>",
"description": "<string>",
"display_order": 0,
"challenge_question": "<string>",
"values": [
{
"source_id": "<string>",
"target_id": "<string>"
}
],
"sub_mapping_name": "<string>",
"sub_mapping_description": "<string>"
}
],
"link_metadata": {},
"enabled_flows": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"config": {
"definitionFields": [
{}
],
"doorkeyFields": [
{}
],
"customFields": [
{}
],
"datastores": [
{
"id": "<string>",
"name": "<string>",
"status": "active",
"definition": {
"columns": [
{
"name": "<string>",
"title": "<string>",
"type": "<string>",
"optional": true
}
],
"search_column": "<string>"
}
}
]
},
"values": {},
"enabled_on": "2023-11-07T05:31:56Z",
"trigger": {
"id": "<string>",
"type": "timer",
"cronschedule": "<string>"
}
}
]
}
Returns sync information (creation date, mapping) related to a specific consumer
curl --request GET \
--url https://api.chift.eu/consumers/{consumerid}/syncs/{syncid} \
--header 'Authorization: Bearer <token>'
{
"syncid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sync_name": "<string>",
"status": "inactive",
"status_details": "<string>",
"link_createdon": "2023-11-07T05:31:56Z",
"link_mappings": [
{
"name": "<string>",
"description": "<string>",
"display_order": 0,
"challenge_question": "<string>",
"values": [
{
"source_id": "<string>",
"target_id": "<string>"
}
],
"sub_mapping_name": "<string>",
"sub_mapping_description": "<string>"
}
],
"link_metadata": {},
"enabled_flows": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"config": {
"definitionFields": [
{}
],
"doorkeyFields": [
{}
],
"customFields": [
{}
],
"datastores": [
{
"id": "<string>",
"name": "<string>",
"status": "active",
"definition": {
"columns": [
{
"name": "<string>",
"title": "<string>",
"type": "<string>",
"optional": true
}
],
"search_column": "<string>"
}
}
]
},
"values": {},
"enabled_on": "2023-11-07T05:31:56Z",
"trigger": {
"id": "<string>",
"type": "timer",
"cronschedule": "<string>"
}
}
]
}
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object
.