Skip Navigation
Expand
Attributes for an object via Connect Rest API
Answer ID 8038   |   Last Review Date 05/21/2022

How do I get attributes for an object via Connect Rest API?

Environment:

connectREST api

Resolution:

Connect Rest API is implemented using JSON-hyper-schema standards. This means a schema exists for all input and output data/format.

To access the JSON schema for a particular object perform a GET request to the metadata-catalog for the object in question. For example, http://<host>/services/rest/connect/latest/metadata-catalog/<object>

In the header of the request, use "Accept: application/schema+json".

The CURL call is setup as follows to return the metadata information.

curl -XGET -H 'Accept: application/schema+json' -H 'OSvC-CREST-Application-Context: default' -H 'osvc-crest-next-request-after: 0' -H 'Authorization: Basic {basic authentication}' http://<host>/services/rest/connect/latest/metadata-catalog/contacts

REST API for Oracle B2C Service - Access Metadata

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.