Retrieving an Account Contact Role List
You can use the REST API to retrieve a list of Account Contact Role resources.
The following details are for a GET request to retrieve a list of Account Contact Role resources on the Oracle CRM On Demand Server:
URL: https://<host>/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles?fields=AccountName,ContactFullName,Role,Order
HTTP Method: GET
Content-Type: application/vnd.oracle.adf.resource+json
Request body: None
The following are the details for the response to a successful request:
HTTP Code: 200
Content-Type: application/vnd.oracle.adf.resource+json
Response body:
{
"AccountContactRoles": [
{
"AccountName": "ACME Computer Parts",
"ContactFullName": "John Smith",
"Role": "Unknown",
"Order": 0,
"links": {
"self": {
"rel": "self",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles/1QA2-2CRNM2"
},
"canonical": {
"rel": "canonical",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles/1QA2-2CRNM2"
},
"parent": {
"rel": "parent",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR"
}
}
}
],
"links": {
"self": {
"rel": "self",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles"
}
},
"_contextInfo": {
"limit": 100,
"offset": 0,
"lastpage": true
}
}