/environment/getAllGlobals
GET
TDM_Environments
Gets the list of all Global variables defined in the Fabric project except the TDM product Globals. If the optional input lus parameter is populated, return only shared Globals or Globals defined in the input LUs.
Note that the list of the task's LUs is returned by /task/{taskId}/logicalunits API.
http://localhost:3213/api/environment/getAllGlobals?lus=Customer, Billing
http://localhost:3213/api/environment/getAllGlobals
The API output returns a list of available Global variables. The following attributes are populated on each Global variable:
{
"result": [
{
"globalName": "MASK_FLAG",
"globalValue": "0",
"luList": ["ALL"]
},
{
"globalName": "PRODUCTION_PRODUCT_VERSION",
"globalValue": "PROD",
"luList": ["ALL"]
},
{
"globalName": "PAYMENT_METHOD",
"globalValue": "CC",
"luList": ["Billing"]
}
],
"errorCode": "SUCCESS",
"message": null
}
{
"result": [
{
"globalName": "MASK_FLAG",
"globalValue": "0",
"luList": ["ALL"]
},
{
"globalName": "PRODUCTION_PRODUCT_VERSION",
"globalValue": "PROD",
"luList": ["ALL"]
},
{
"globalName": "PAYMENT_METHOD",
"globalValue": "CC",
"luList": ["Billing"]
},
{
"globalName": "CUSTOMER_TYPE",
"globalValue": "Business",
"luList": ["Customer", "Order"]
}
],
"errorCode": "SUCCESS",
"message": null
}
/environment/getAllGlobals
GET
TDM_Environments
Gets the list of all Global variables defined in the Fabric project except the TDM product Globals. If the optional input lus parameter is populated, return only shared Globals or Globals defined in the input LUs.
Note that the list of the task's LUs is returned by /task/{taskId}/logicalunits API.
http://localhost:3213/api/environment/getAllGlobals?lus=Customer, Billing
http://localhost:3213/api/environment/getAllGlobals
The API output returns a list of available Global variables. The following attributes are populated on each Global variable:
{
"result": [
{
"globalName": "MASK_FLAG",
"globalValue": "0",
"luList": ["ALL"]
},
{
"globalName": "PRODUCTION_PRODUCT_VERSION",
"globalValue": "PROD",
"luList": ["ALL"]
},
{
"globalName": "PAYMENT_METHOD",
"globalValue": "CC",
"luList": ["Billing"]
}
],
"errorCode": "SUCCESS",
"message": null
}
{
"result": [
{
"globalName": "MASK_FLAG",
"globalValue": "0",
"luList": ["ALL"]
},
{
"globalName": "PRODUCTION_PRODUCT_VERSION",
"globalValue": "PROD",
"luList": ["ALL"]
},
{
"globalName": "PAYMENT_METHOD",
"globalValue": "CC",
"luList": ["Billing"]
},
{
"globalName": "CUSTOMER_TYPE",
"globalValue": "Business",
"luList": ["Customer", "Order"]
}
],
"errorCode": "SUCCESS",
"message": null
}