Manage Custom Objects

Oracle Service Cloud includes standard objects that account for many business needs and scenarios. However, if you have a unique business component for which you want to capture information in Oracle Service Cloud, you can create a custom object.

Custom objects are typed objects similar to the Connect PHP API. For example, CustObjec.Custom1 in the Oracle Service Cloud database remains CustObjec.Custom1 as a REST resource, where CustObjec is the package name and Custom1 is the name of the custom object. Custom fields are nested under the customFields sub-resource and follow the same CCOM structure. For example, a customFields sub-resource will contain the following:

  • A c sub-resource containing all legacy custom fields
  • Zero or more sub-resources representing packages under which custom attributes (also known as system attributes) have been defined

URL Syntax:


You can use metadata-catalog to get information about a custom object. You can also use ROQL queries to retrieve metadata for a custom object.

URL Syntax:

https://your_site_interface/services/rest/connect/version/queryResults/?query=describe custom_object;

All tasks supported by the custom object resource follow the same REST syntax and semantics as the standard object resources. The supported tasks are create, update, view, and delete, which correspond to the POST, PATCH, GET, and DELETE requests.

When a custom object is defined within a package, you can use the PackageName.CustomObjectName in your endpoint URL to access the custom object.

URL Syntax: