Insert a connection record
curl --request POST \
--url https://www.fluenterp.com/api/v1/connections/{connection_id}/records \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entity": "dbo.IDEAS_PROGRAMACION",
"values": {
"JobNum": "000021",
"ProdQty": 100
}
}
'import requests
url = "https://www.fluenterp.com/api/v1/connections/{connection_id}/records"
payload = {
"entity": "dbo.IDEAS_PROGRAMACION",
"values": {
"JobNum": "000021",
"ProdQty": 100
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({entity: 'dbo.IDEAS_PROGRAMACION', values: {JobNum: '000021', ProdQty: 100}})
};
fetch('https://www.fluenterp.com/api/v1/connections/{connection_id}/records', 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://www.fluenterp.com/api/v1/connections/{connection_id}/records",
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([
'entity' => 'dbo.IDEAS_PROGRAMACION',
'values' => [
'JobNum' => '000021',
'ProdQty' => 100
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://www.fluenterp.com/api/v1/connections/{connection_id}/records"
payload := strings.NewReader("{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/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://www.fluenterp.com/api/v1/connections/{connection_id}/records")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.fluenterp.com/api/v1/connections/{connection_id}/records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}"
response = http.request(request)
puts response.read_body{
"rows_affected": 123
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}Connections
Insert a connection record
Inserts a single new row. Only supported for connection types that allow writes (currently SQL Server); other connection types return 400.
POST
/
api
/
v1
/
connections
/
{connection_id}
/
records
Insert a connection record
curl --request POST \
--url https://www.fluenterp.com/api/v1/connections/{connection_id}/records \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entity": "dbo.IDEAS_PROGRAMACION",
"values": {
"JobNum": "000021",
"ProdQty": 100
}
}
'import requests
url = "https://www.fluenterp.com/api/v1/connections/{connection_id}/records"
payload = {
"entity": "dbo.IDEAS_PROGRAMACION",
"values": {
"JobNum": "000021",
"ProdQty": 100
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({entity: 'dbo.IDEAS_PROGRAMACION', values: {JobNum: '000021', ProdQty: 100}})
};
fetch('https://www.fluenterp.com/api/v1/connections/{connection_id}/records', 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://www.fluenterp.com/api/v1/connections/{connection_id}/records",
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([
'entity' => 'dbo.IDEAS_PROGRAMACION',
'values' => [
'JobNum' => '000021',
'ProdQty' => 100
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://www.fluenterp.com/api/v1/connections/{connection_id}/records"
payload := strings.NewReader("{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/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://www.fluenterp.com/api/v1/connections/{connection_id}/records")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.fluenterp.com/api/v1/connections/{connection_id}/records")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity\": \"dbo.IDEAS_PROGRAMACION\",\n \"values\": {\n \"JobNum\": \"000021\",\n \"ProdQty\": 100\n }\n}"
response = http.request(request)
puts response.read_body{
"rows_affected": 123
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}{
"detail": "Agent not found",
"status": 404
}Authorizations
ApiKeyBearerCredential
A Fluent API key beginning with fl-.
Headers
Optional. Set to true to route this request through a stable,
allowlistable egress IP instead of the default path — needed for an
on-premise connection (e.g. a customer's own SQL Server) whose
firewall allowlists by IP. Same operation and response either way.
The same fl-* key also works by calling this same operation
directly at https://api-ecs.fluenterp.com/v1/connections/{id}/records,
for the same stable-egress guarantee without this header.
Path Parameters
Connection ID.
Body
application/json
Response
Rows affected