EMS.Services.IEMSResourceRequest.Patch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Patch(const AContext: IEMSResourceRequestContext; const AResourceName: string;
const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams;
const ARequestContent: IEMSResourceRequestContent): IEMSResourceResponseContent;

C++

virtual _di_IEMSResourceResponseContent __fastcall Patch(const _di_IEMSResourceRequestContext AContext, 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) = 0 ;

Properties

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

Description

Executes a PATCH resource request to update the information for the requested resource. The method type of the resource request is patch.

The PATCH resource request contains instructions that describe how to modify a stored resource in the EMS Server.

The Patch method receives the following input parameters:

  • AContext: Context of the Patch resource request.
  • AResourceName: Resource name identifier to execute the resource request. The built-in resource names are Users, Groups, and Installations.
  • 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. Set AQueryParams value to null.
  • ARequestContent: Resource request content needed to execute the request to the resource. ARequestContent value may be null.

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

See Also