getProfileRequest
get
                    /ccagent/v1/profileRequests/{id}
Get Profile Request. This operation is used to get the Profile request information of a customer from Oracle Commerce Cloud.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    The ID of the requested Profile Request
Query Parameters
                - 
                        expand(optional): string
                        
                        Expand query param : currently used to expand profile and request Info.(Allowed Values: profile - profile static data, profileAll - profile static & dynamic data, requestAll - profileRequest static & dynamic data).
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getProfileRequest_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            approverComments(optional): 
            string
            Profile request approver comments
- 
            id(optional): 
            string
            Id of Profile Request
- 
            profile(optional): 
            object  profile
            
            Profile
- 
            requestedOrganizationID(optional): 
            string
            Requested Organization ID given by the requester.
- 
            requestedOrganizationName(optional): 
            string
            Requested Organization name given by the requester.
- 
            requesterComments(optional): 
            string
            Requester comments given at time of creating request
- 
            siteId(optional): 
            string
            Site captured during request creation
- 
            status(optional): 
            string
            Status of Profile Request
Nested Schema : profile
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectProfile
    
    
    
    
        Show Source
        - 
            customerContactId(optional): 
            string
            The external customer contact id.
- 
            email(optional): 
            string
            emailid of profile
- 
            firstName(optional): 
            string
            first name of the profile
- 
            id(optional): 
            string
            Repository Id of the profile
- 
            lastName(optional): 
            string
            Last name of the profile
Example Response (application/json)
                    {
    "approverComments":"Request is approved",
    "requestedOrganizationName":null,
    "profile":{
        "id":"100001"
    },
    "organization":{
        "id":"150002"
    },
    "requestedOrganizationID":null,
    "id":100001,
    "requesterComments":"None",
    "status":"approved"
}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|
|------------------|------------------|
|102000|If there was no profile request found with the given id|
|102001|If there was an internal error while processing the request.|
                
                
                    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