Assign connected object as an asynchronous operation. Returns (Task)
Associate two Base objects together and specify how they are to interact (their relationship).
Name | Description |
---|---|
target | The target. |
connectedObject | The connected object. |
relation | The relation. |
isOneToOne | if set to true [is one to one]. |
metaData | Provides space for additional data about the intersection of the two related resources. |
Example in C#
// Returns: nothing
await client.AssignConnectedObjectAsync(BaseInfo target, BaseInfo connectedObject, String relation, Boolean isOneToOne, Object metaData);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/connections/cUrlExample?isOneToOne=True&relatedKey=RELATED.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D 'null'