cURL
curl --request PUT \ --url https://api.hotglue.com/tenant/{env_id}/{tenant}/mapping \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "config": { "mapping": {} }, "entityType": "taps", "entityId": "<string>", "flow": "<string>" } '
{}
Adds a mapping object to the tenant-config.json.
tenant-config.json
entityType
entityId
flow
{ "config": { "mapping": { "<FlowId>": { "<InternalTableName>/<RemoteTableName>": { "<InternalField>": "<RemoteField>" } } } }, "entityType": "taps", // optional - `taps` or `connectors` "entityId": "salesforce", // optional "flow": "FElWoODnU" // optional }
ID of environment
ID of tenant
Show child attributes
Optional. Use taps for one-way flows, and connectors for bi-directional flows.
taps
connectors
Optional. Identifier for the tap/connector (e.g., "salesforce").
Optional. Flow ID that this operation pertains to.
200
The response is of type object.
object