# Here is a curl example
curl \
-X POST "http://localhost:8888/api/Objects/CreateLinkedRecords" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"object_id": 123,
"list_record_ids": [1,2,3],
}'
To create linked records, you need to make a POST call to the following url:
:
http://localhost:8888/api/Objects/AddReferencesToFolder
Result example :
[
{
"Success": "boolean",
"Message": "string",
"Data": object,
"CustomAction": Dictionary<object, object> ,
"CustomAttributes":Dictionary<object, object>
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| object_id | body | long | Object Id. |
| list_record_ids | body | List<long> | List Record Id. You can get from another method (http://localhost:8888/api/Objects/ObjectRecords). |
| Authorization | header | string | Add Authorization header token |