Sign in

Associate records

documented

Invoke the bound Associate action on an Account.

POST /api/data/v9.2/accounts({id})/Microsoft.Dynamics.CRM.AssociateDataverseno 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_URL}}/api/data/v9.2/accounts({{$account_id}})/Microsoft.Dynamics.CRM.Associate" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json; charset=utf-8" \
  -H "Accept: application/json" \
  -d '{"Target": {"@odata.type": "Microsoft.Dynamics.CRM.account", "accountid": "{{$account_id}}"}, "RelatedEntities": [ {"@odata.type": "Microsoft.Dynamics.CRM.contact", "contactid": "{{$related_contact_id}}" } ], "Relationship": "{{$relationship_name}}" }'