generates the authorization code for an Organization
post
                    /ccadmin/v1/organizations/{id}/authorizationCode
Generates the authorization code. This endpoint is used to generate the authorization code for an Organization in Oracle Commerce Cloud.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    The ID of the requested Organization.
Header Parameters
                - 
                        X-CCAsset-Language(optional): string
                        
                        The asset language of the request. E.g., en,de,fr_CA.
Root Schema : generateAuthorizationCode_request
    
      
        
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        Example:
    
    
POST /ccadmin/v1/organizations/{id}/authorizationCodeResponse
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : generateAuthorizationCode_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            authorizationCode(optional): 
            string
            Autorization token generated for the organization.
Example Response (application/json)
                    {
    "authorizationCode":"b3ItMTAwMDAxLTIwMTgtMDQtMDJUMDc6NTM6MjguMTM0Wg==",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/organizations/or-100001/authorizationCode"
        }
    ]
}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|
|------------------|------------------|
|100129|If there is an issue while generating the authorization code|
|100130|If there an issue while saving the generated authorization code|
                
                
                    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