From RAD Studio API Documentation
Jump to: navigation, search


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


_di_IEMSResourceResponseContent __fastcall ModuleResourcePatch(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);


Type Visibility Source Unit Parent
function public
EMS.Services TEMSInternalAPI


Executes a PATCH resource request to update the information for a particular resource of the EMS Edge module.

ModuleResourcePatch receives the following input parameters:

  • AModuleName: the RAD Server EdgeModules Resource name of the resource.
  • AResourceName: the resource name of the AModuleName to update 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.
  • ARequestContent: Resource request content needed to execute the PATCH request to the resource.

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

See Also