Create a record over REST
- Problem
- An external system needs to add vendors to your app.
- Solution
- Call the Data API's insert endpoint with the entity name and field values.
curl -X POST "https://your-data-host/api/v1/records/insert" \
-H "Authorization: Bearer $TAF_TOKEN" \
-H "TenantId: $TENANT_ID" -H "AppId: $APP_ID" -H "EnvironmentId: $ENVIRONMENT_ID" \
-H "Content-Type: application/json" \
-d '{ "EntityName": "Vendor",
"Fields": [ { "FieldName": "Name", "Value": "Northwind Traders" } ] }'Result The record is created with owner, audit and tenant fields stamped by the platform, and any triggers on Vendor fire.



