Guida SDK › Integration › API Reference List › Translation Script Objects › Tools › Resource Methods › GetResourceDetails
GetResourceDetails
Description
This method returns a map with the resource details.
Syntax
GetResourceDetails (ResourceName, ChangeSetName, CommittedOnly)
Parameters
|
Name
|
Type
|
Description
|
|
ResourceName
|
string
|
The name of the resource.
|
|
ChangeSetName
|
string
|
The name of the change set.
|
|
CommittedOnly
|
boolean
|
This parameter is optional.
The default is False.
When True, only committed values are retrieved.
When False, get value and consider uncommitted values.
|
Return Value
A map containing the following entries:
- ChangeSetName
- ContractParties: Map of contract parties. The map can be empty.
- CustomAttributes: Map of custom attributes. Each entry in this map is a map that defines one custom attribute. The key of each entry is the custom attribute name, and the value is an internal map with the following two entries:
- CustomAttributeName: The custom attribute name.
- CustomAttributeValue: The custom attribute value.
- Effective: Yes or No. Defines if the resource group is effective in the specific date.
- ResourceDescription
- ResourceDisplayName
- ResourceGroups: Map of resource groups. The Map can be empty.
- ResourceId: The resource group ID.
- ResourceName
- ResourceTimeZone
- ResourceTypes: Map of resource types.
- Services: Map of services. The map can be empty.
Remarks
Each entry in each internal map contains the object name in the key and in the value.
This method fails if the resource and/or the change set do not exist.