Retrieving Metadata for an Oracle CRM On Demand Collection
The following details are for a request to retrieve metadata information about an accounts collection, including the account actions supported and links to parent and child resources:
URL: https://<host>/OnDemand/user/Rest/latest/Accounts/describe?fields=collection.actions,links
HTTP Method: GET
Content-Type: None
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:
{"Resources":
{"Accounts":
{
"title":"MyAccount",
"titlePlural":"MyAccounts",
"CustomObjectTagName":"Accounts","collection":
{
"actions":[
{
"name":"get",
"method":"GET",
"responseType":["application/vnd.oracle.adf.resource+json"]},
{
"name":"create",
"method":"POST",
"responseType":["application/vnd.oracle.adf.resource+json"],
"requestType":["application/vnd.oracle.adf.resource+json"]
}
]
},
"links":
{
"describe":
{
"rel":"describe",
"href":"/OnDemand/user/Rest/latest/Accounts/describe"},
"canonicalDescribe":
{
"rel":"canonicalDescribe",
"href":"/OnDemand/user/Rest/latest/Accounts/describe"}
}
}
},
"_contextInfo":{
"limit":1,
"offset":0,
"lastpage":true}
}