Function: module.GetOne
Returns a single Module Object identified by the given code.
Syntax
{
"method": "module.GetOne",
"params": {
"code": "...",
"mode": "...",
"include": "...",
"select": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}getOne(code: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<Module>;Parameters
code : string
The Module’s code
mode : DataMode optional
View of the object to return: raw or effective. Default is effective.
include : DataMode optional
Adds the other view to the result; only values that differ are added (under @meta.overlay).
select : string[] optional
List of properties that should be contained in the result object.
Result : Module
Matching Module Object.
Remarks
This method requires API read access.