Cost Center Transactions
The API Cost Center transactions can be used to create, update, delete and retrieve cost center entities in the CMDB.
The API Cost Center transactions can be used to create, update, delete and retrieve cost center entities in the CMDB.
Limited Support/End of Life Capabilities
The Classic API has been replaced by the Alemba RestFul API. While we will continue to support the Classic API for clients that are still using it, no further development will be done.
If you need to request a hotfix or support for these features, please contact Alemba Support
The CostCenterCreate transaction can be used to create a new cost center record and save its details.
The CostCenterUpdate transaction can be used to update the details of an existing cost center record.
See CostCenterResponse for more information.
The CostCenterRetrieve transaction can be used to retrieve the details of a cost center record.
The CostCenterDelete transaction can be used to find and delete a cost center record. After the transaction is executed, the status and audit trail are updated.
See CostCenterResponse for more information.
Argument
Type
Mandatory
Default
Description
sID
String
No. See Transaction Login.
“”
Analyst’s current Session ID
sLoginUserID
String
No. See Transaction Login.
“”
Analyst’s Login ID
sLoginPassword
String
No. See Transaction Login.
“”
Analyst’s Password
sDatabase
String
No. See Transaction Login.
“”
Name of the ASM System for logging in.
lEntityRef
Lookup Field
Ignored
-
Ignored on create
sGroupName
String
No
-
Cost Center name
sDescription
String
No
“”
Cost Center Description
lCategory
Lookup Field
No
0
Cost Center Category
lParentCostCenter
Lookup Field
No
0
Parent Cost Center
lPartition
Lookup Field
No
Analyst’s default partition
Partition in which to create this cost center
sReason
String
No
“”
Audit reason
aCustomParameters
Array
No
“”
See Defining Custom Parameters.
Argument
Type
Description
nEntityRef
Integer
Newly created cost center ref
sMessage
String
Error/Warning message returned from API
Ret
APIReturn
Error/Warning number returned from API
Argument
Type
Mandatory
Default
Description
sID
String
No. See Transaction Login.
“”
Analyst’s current Session ID
sLoginUserID
String
No. See Transaction Login.
“”
Analyst’s Login ID
sLoginPassword
String
No. See Transaction Login.
“”
Analyst’s Password
sDatabase
String
No. See Transaction Login.
“”
Name of the ASM System for logging in.
lEntityRef
Lookup Field
Yes
-
Reference number of the cost center to update
sGroupName
String
No
(As is)
Cost Center name
sDescription
String
No
(As is)
Cost Center Description
lCategory
Lookup Field
No
(As is)
Cost Center Category
lParentCostCenter
Lookup Field
No
(As is)
Parent Cost Center
lPartition
Lookup Field
No
(As is)
Partition in which to create this cost center
sReason
String
No
“”
Audit reason
aCustomParameters
Array
No
“”
See Defining Custom Parameters.
Argument
Type
Mandatory
Default
Description
sID
String
No. See Transaction Login.
“”
Analyst’s current Session ID
sLoginUserID
String
No. See Transaction Login.
“”
Analyst’s Login ID
sLoginPassword
String
No. See Transaction Login.
“”
Analyst’s Password
sDatabase
String
No. See Transaction Login.
“”
Name of the ASM System for logging in.
lEntityRef
Lookup Field
Yes
-
Reference number of the cost center to retrieve
aCustomParameters
Array
No
“”
See Defining Custom Parameters.
Argument
Type
Description
Ret
APIReturn
Error/Warning number returned from by API
sMessage
String
Error/Warning message returned by the API
ResultSet
DataSet
ResultSet containing attribute details
Argument
Type
Mandatory
Default
Description
sID
String
No. See Transaction Login.
“”
Analyst’s current Session ID
sLoginUserID
String
No. See Transaction Login.
“”
Analyst’s Login ID
sLoginPassword
String
No. See Transaction Login.
“”
Analyst’s Password
sDatabase
String
No. See Transaction Login.
“”
Name of the ASM System for logging in.
lEntityRef
Lookup Field
Yes
-
Reference number of the cost center to delete
sReason
String
No
“”
Audit reason
aCustomParameters
Array
No
“”
See Defining Custom Parameters.