doCreateExtensionVariable

post

/ccadmin/v1/extensionEnvironmentVariables

Create extension variable. Creates a new extension server variable.

Request

Supported Media Types
Body ()
Root Schema : doCreateExtensionVariable_request
Type: object
Show Source
Example:
{
    "name":"atg.webhook.calculateShipping",
    "value":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvh=="
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : doCreateExtensionVariable_response
Type: object
Show Source
Nested Schema : createdBy
Type: object
extension variable created by which admin user.
Show Source
Example Response (application/json)
{
    "creationTime":"2018-06-14T20:29:38.000Z",
    "createdBy":{
        "firstName":"Admin",
        "lastName":"User",
        "repositoryId":"admin",
        "id":"admin"
    },
    "modificationTime":"2018-06-15T15:55:24.442Z",
    "lastModifiedBy":"admin",
    "name":"atg.webhook.calculateShipping",
    "id":"100001",
    "value":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvh=="
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top