Sign in

Associate related records

documented

Create a link to a related record via a navigation property.

POST /api/data/v9.2/accounts({id})/{navigation-property}/$refDataverseno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl 'https://{{$org_uri}}/api/data/v9.2/accounts({{$account_id}})/{{$navigation_property}}/$ref' \
  -X POST \
  -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{"@odata.id": "https://{{$org_uri}}/api/data/v9.2/{{$related_set}}({{$related_id}})"}'