EMS.Services.TEMSInternalAPI.QueryModuleResources
Delphi
function QueryModuleResources(const AQuery: TQueryParams): IEMSResourceResponseContent; overload;
function QueryModuleResources(const AModuleName: string; const AQuery: TQueryParams): IEMSResourceResponseContent; overload;
C++
_di_IEMSResourceResponseContent __fastcall QueryModuleResources(const System::DynamicArray<System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> > AQuery)/* overload */;
_di_IEMSResourceResponseContent __fastcall QueryModuleResources(const System::UnicodeString AModuleName, const System::DynamicArray<System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> > AQuery)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Retrieves the EMS Edge module resources from the EMS Server using the query parameters.
QueryModuleResources queries the EMS EdgeModules resource in the EMS Server by using the AQuery parameters.
If the AQuery parameters are empty, the response from the EMS Server returns all the data unfiltered and unordered.
The QueryModuleResources method is overloaded. QueryModuleResources receives the following parameters:
AQueryis an array of strings that QueryModuleResources adds to the request as parameters.AModuleNameis the EMS EdgeModules Resource to retrieve the EMS modules resource from.
QueryModuleResources returns an IEMSResourceResponseContent to read the response from the resource.