BETA - Real-time Write
Poll write request
hotglue API
- Overview
- Secure Requests
- Manage Tenants
- Flows
- Jobs
- Schedule jobs
V1 - One Way Flows
- Introduction
- POSTRun a V1 job
- Source metadata
- Target metadata
- Linked sources
- Linked sources state
- Linked targets
V2 - Two Way Flows
- Introduction
- POSTRun a V2 Job
- Connector metadata
- Linked connectors
- Linked sources
- Linked targets
BETA - Real-time Write
BETA - Real-time Write
Poll write request
If a real-time write request returns async: true, you can use this endpoint to get the result of the request.
GET
/
{env_id}
/
{flow_id}
/
{tenant}
/
connectors
/
status
curl --request GET \
--url https://client-api.hotglue.xyz/{env_id}/{flow_id}/{tenant}/connectors/status \
--header 'x-api-key: <api-key>'
{
"has_data": true,
"result": {
"async": false,
"jobId": "UvzWy0",
"taskId": "3cecd80d-b377-4566-9d8c-e1e870b887ab",
"state": {
"bookmarks": {
"Contact": [
{
"hash": "07f9838d07fca662ce396d1cce9db0893eb3ffee4290ffc20d992a8fde333e2e",
"success": false,
"error": "[{\"message\":\"No such column 'EmailAddress' on sobject of type Contact\",\"errorCode\":\"INVALID_FIELD\"}]"
}
]
},
"summary": {
"Contact": {
"success": 0,
"fail": 1,
"existing": 0,
"updated": 0
}
}
},
"status_code": 200
}
}
Authorizations
Path Parameters
ID of environment
ID of flow
ID of tenant
Query Parameters
Task ID of the real-time write request.
Response
200
application/json
200
Indicates whether the response contains data
Example:
true
Indicates whether the job is asynchronous
Example:
false
A unique job identifier
Example:
"UvzWy0"
A unique task identifier
Example:
"3cecd80d-b377-4566-9d8c-e1e870b887ab"
Contains processing status for each record type
Example:
"07f9838d07fca662ce396d1cce9db0893eb3ffee4290ffc20d992a8fde333e2e"
Example:
false
Example:
"003Kc00000AnofgIAB"
Example:
"[{\"message\":\"No such column 'EmailAddress' on sobject of type Contact\",\"errorCode\":\"INVALID_FIELD\"}]"
curl --request GET \
--url https://client-api.hotglue.xyz/{env_id}/{flow_id}/{tenant}/connectors/status \
--header 'x-api-key: <api-key>'
{
"has_data": true,
"result": {
"async": false,
"jobId": "UvzWy0",
"taskId": "3cecd80d-b377-4566-9d8c-e1e870b887ab",
"state": {
"bookmarks": {
"Contact": [
{
"hash": "07f9838d07fca662ce396d1cce9db0893eb3ffee4290ffc20d992a8fde333e2e",
"success": false,
"error": "[{\"message\":\"No such column 'EmailAddress' on sobject of type Contact\",\"errorCode\":\"INVALID_FIELD\"}]"
}
]
},
"summary": {
"Contact": {
"success": 0,
"fail": 1,
"existing": 0,
"updated": 0
}
}
},
"status_code": 200
}
}