doGetExtensionVariable
get
/ccadmin/v1/extensionEnvironmentVariables/{id}
Get Extension Server variable. Returns an extension server variable by id.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
ID of the extension server variable to get.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : doGetExtensionVariable_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:
object
extension 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)
{
"creationTime":"2018-06-14T20:29:38.000Z",
"createdBy":{
"firstName":"Admin",
"lastName":"User",
"repositoryId":"admin",
"id":"admin"
},
"modificationTime":"2018-06-14T20:29:38.534Z",
"lastModifiedBy":"admin",
"name":"atg.webhook.calculateShipping",
"id":"100001",
"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:
array
An 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