listProfileRequests
get
                    /ccadmin/v1/profileRequests
List Profile Requests. This operation is used to get the collection of profile requests from Oracle Commerce Cloud. It can also be used to return the list on a searched string and in a sorted order against various properties of profile request.
                Request
Supported Media Types
                - application/json
Query Parameters
                - 
                        limit(optional): string
                        
                        This is the field to determine number of records to be fetched per REST call.
- 
                        offset(optional): string
                        
                        This field determines the offset/starting index from which data to be fetched.
- 
                        q(optional): string
                        
                        Query string built as per the SCIM standards that helps to search entered string across profile request properties like 'requestedOrganizationName'.
- 
                        sort(optional): string
                        
                        This field determines the sort order of the list to be fetched.
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : listProfileRequests_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            items(optional): 
            array  items
            
            list of profile request
- 
            limit(optional): 
            integer
            Number of records to be fetched.
- 
            offset(optional): 
            integer
            The offset provided.
- 
            total(optional): 
            integer
            Total number of records present in database matching the searched string.
- 
            totalResults(optional): 
            integer
            Total number of records present in database matching the searched string.
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            id(optional): 
            string
            Id of the Profile request
- 
            organization(optional): 
            object  organization
            
            Organization
- 
            profile(optional): 
            object  profile
            
            Profile Object
- 
            requestedOrganizationID(optional): 
            string
            Requested Organization ID given by requester
- 
            requestedOrganizationName(optional): 
            string
            Requested Organization name given by requester
- 
            site(optional): 
            object  site
            
            Site
- 
            status(optional): 
            string
            Status of the request.
Nested Schema : organization
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectOrganization
    
    
    
    
        Show Source
        - 
            id(optional): 
            string
            Repository Id of organization
Nested Schema : profile
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectProfile Object
    
    
    
    
        Show Source
        - 
            customerContactId(optional): 
            string
            The external customer contact id.
- 
            email(optional): 
            string
            Email of profile
- 
            firstName(optional): 
            string
            First Name of profile
- 
            id(optional): 
            string
            Repository Id of profile
- 
            lastName(optional): 
            string
            Last Name of profile
Nested Schema : site
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectSite
    
    
    
    
        Show Source
        - 
            id(optional): 
            string
            Repository Id of site
- 
            productionURL(optional): 
            string
            Production URL of site
- 
            siteName(optional): 
            string
            Name of ite
Example Response (application/json)
                    {
    "total":1,
    "totalResults":1,
    "offset":0,
    "limit":1,
    "links":[
        {
            "rel":"self",
            "href":"http://example.com:9080/ccadmin/v1/profileRequests"
        }
    ],
    "items":[
        {
            "site":{
                "productionURL":null,
                "siteName":"Commerce Site",
                "id":"siteUS"
            },
            "requestedOrganizationName":"Oracle",
            "organization":{
                "id":"100001"
            },
            "profile":{
                "firstName":"User",
                "lastName":"Test",
                "customerContactId":"CRMID_1",
                "id":"100001",
                "email":"user@example.com"
            },
            "requestedOrganizationID":null,
            "id":100001,
            "status":"approved"
        }
    ],
    "___etag___":"eyJ2ZXJzaW9uIjowLCJ1cmkiOiJvcmdhbml6YXRpb25SZXF1ZXN0cyIsImhhc2giOiJ4S1JsMHc9PSJ9"
}Default Response
The error response.
 The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|85000|Invalid Query Expression.|
|50012|Invalid Sort options.|
|10002|The value x for parameter 'y' is invalid. 'y' can be 'limit', 'offset'.|
|100019|If there was any internal error while getting profile requests list.|
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code