EMS.Services.TEMSInternalAPI.ModuleResourceGet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ModuleResourceGet(const AModuleName, AResourceName: string;  const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams): IEMSResourceResponseContent;

C++

_di_IEMSResourceResponseContent __fastcall ModuleResourceGet(const System::UnicodeString AModuleName, const System::UnicodeString AResourceName, const System::DynamicArray<System::UnicodeString> ASegments, const System::DynamicArray<System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> > AQueryParams);

Properties

Type Visibility Source Unit Parent
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI

Description

Executes a GET resource request to retrieve the content of particular resource of the EMS Edge module from the EMS Server.

ModuleResourceGet receives the following input parameters:

  • AModuleName: the EMS EdgeModules Resource name for the particular resource.
  • AResourceName: the resource name of the AModuleName to retrieve the data.
  • ASegments: Array of URL segments of the EMS Resource endpoint to execute the request. ASegments value may be null.
  • AQueryParams: Query parameters used to execute a filtered resource request. AQueryParams value may be null.

ModuleResourceGet returns an IEMSResourceResponseContent with the response from the EMS Server.

See Also