EMS.Services.TEMSInternalAPI.ModuleResourcePut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ModuleResourcePut(const AModuleName, AResourceName: string;  const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams;  const ARequestContent: IEMSResourceRequestContent): IEMSResourceResponseContent;

C++

_di_IEMSResourceResponseContent __fastcall ModuleResourcePut(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, const _di_IEMSResourceRequestContent ARequestContent);

Properties

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

Description

Executes a PUT resource request to store or update the information for the particular resource of the EMS Edge module.

ModuleResourcePut receives the following input parameters:

  • AModuleName: the EMS EdgeModules Resource name of the resource.
  • AResourceName: the resource name of the AModuleName to store the data to.
  • 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.
  • ARequestContent: resource request content needed to execute the PUT request to the resource.

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

See Also