Get a resource type
get
                    /hcmRestApi/scim/ResourceTypes/{id}
Get a resource type
                Request
Path Parameters
                - 
                    id(required):  string
                    
                    The unique identifier of the resource type.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/json
Default Response
The following table describes the default response for this task.
                            
                            
                                Root Schema : ResourceTypes-item
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                Title:DescriptionThe description of the resource type.
- 
                
                    
                    endpoint: string
                    
                    
                     
                    
                
                
                Title:EndpointThe endpoint of the resource type. For example, /Users.
- 
                
                    
                    id: string
                    
                    
                     
                    
                
                
                Title:IdThe identifier of the resource type.
- 
                
                    
                    meta: object
                    
                    
                
                
                    Meta
                
                
                Title:MetaThe metadata of a resource type.
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                Title:NameThe name of the resource type. This attribute is referenced by the meta.resourceType attribute in all the resources.
- 
                
                    
                    schema: string
                    
                    
                     
                    
                
                
                Title:SchemaThe primary schema of the resource type. This must be equal to the id attribute of the associated schema resource.
- 
                
                    
                    schemaExtensions: object
                    
                    
                
                
                    SchemaExtensions
                
                
                Title:SchemaExtensionsA list of URIs of the schema extensions for a resource type. A schema extension contains any extended schema attributes, which are identified by the schema extension URI.
- 
                
                    
                    schemas: array
                    
                    
                
                
                    Schemas
                
                
                Title:SchemasA list of schema values that contain supported schema version for a SCIM representation, and any schema extensions for that representation. Each value must be a unique URI.
Nested Schema : Meta
    
    	Type: 
    	
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    MetaThe metadata of a resource type.
    
    
    
    
    
    
    
    
    
    
    
Nested Schema : SchemaExtensions
    
    	Type: 
    	
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    SchemaExtensionsA list of URIs of the schema extensions for a resource type. A schema extension contains any extended schema attributes, which are identified by the schema extension URI.
    
    
    
    
        Show Source
        Nested Schema : Schemas
    
    	
    	Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    SchemasA list of schema values that contain supported schema version for a SCIM representation, and any schema extensions for that representation. Each value must be a unique URI.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
    
Examples
The following example shows how to retrieve a resource type by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -X GET https://servername.fa.us2.oraclecloud.com/hcmRestApi/scim/ResourceType/Users
Example of Response Header
The following shows an example of the response header.
Status: HTTP/1.1 200 OK Content-Type : application/json
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
  "id": "Users",
  "meta": {
    "resourceType": "ResourceType",
    "location": "http://<host>:<port>/hcmRestApi/scim/ResourceTypes/Users"
  },
  "schemas": [
    "urn:scim:schemas:core:2.0:ResourceType"
  ],
  "name": "User",
  "description": "Core User",
  "endpoint": "/Users",
  "schema": "urn:scim:schemas:core:2.0:User"
}