doCreateExtensionVariable
post
                    /ccadmin/v1/extensionEnvironmentVariables
Create extension variable. Creates a new extension server variable.
                Request
Supported Media Types
                - application/json
Root Schema : doCreateExtensionVariable_request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            name: 
            string
            Name of the extension variable.
- 
            value: 
            string
            value of the extension variable.
Example:
    
    
{
    "firstName":"atg.webhook.calculateShipping",
    "lastName":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvg=="
}Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : doCreateExtensionVariable_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            createdBy(optional): 
            object  createdBy
            
            extension variable created by which admin user.
- 
            creationTime(optional): 
            string
            Creation time of the extension variable.
- 
            id(optional): 
            string
            id of the extension variable.
- 
            lastModifiedBy(optional): 
            string
            last modified admin user.
- 
            modificationTime(optional): 
            string
            Modified time of the extension variable.
- 
            name(optional): 
            string
            name of the extension variable.
- 
            value(optional): 
            string
            value of the extension variable.
Nested Schema : createdBy
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectextension variable created by which admin user.
    
    
    
    
        Show Source
        - 
            firstName(optional): 
            string
            first name of the admin user.
- 
            id(optional): 
            string
            Repository ID of admin user.
- 
            lastName(optional): 
            string
            last name of the admin user.
Example Response (application/json)
                    {
    "name":"atg.webhook.calculateShipping",
    "value":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvg=="
}Default Response
The error response
                
                
                    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