Example of an Association Response Link
This topic contains an example of an association link. For more information about response links, see Oracle CRM On Demand REST API URL Format
This example includes the primary contact field for an account in the request URL, and the response includes an association link to the specific primary contact resource.
Request:
User/Rest/latest/Accounts?fields=AccountName,PrimaryContactFullName
Response:
{
"Accounts":[{
"AccountName":"ACME Computer Parts",
"PrimaryContactFullName":"John Smith",
"links":{
"self":{
"rel":"self",
"href":"/OnDemand/user/Rest/latest/Accounts/1QA2-1ATBR"},
"canonical":{
"rel":"canonical",
"href":"/OnDemand/user/Rest/latest/Accounts/1QA2-21ATBR"},
"PrimaryContactFullName":{
"rel":"self",
"href":"/OnDemand/user/Rest/latest/Contacts/1QA2-21ATC5"}
}
}
]
}