Updating an Account Contact Role
You can use the REST API to update an Account Contact Role resource.
The following details are for a request to update an Account Contact Role resource on the Oracle CRM On Demand Server:
URL: https://<host>/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles/1QA2-2CSXTD
HTTP Method: PATCH
Content-Type: application/vnd.oracle.adf.resource+json
Request body:
{
"AccountContactRoles":
[
{
"Role":"User"
}
]
}
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": [
{
"Role": "User",
"links": {
"self": {
"rel": "self",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles/1QA2-2CSXTD"
},
"canonical": {
"rel": "canonical",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR/child/AccountContactRoles/1QA2-2CSXTD"
},
"parent": {
"rel": "parent",
"href": "/OnDemand/user/Rest/028/Accounts/1QA2-21ATBR"
}
}
}
]
}