EMS.Services.IEMSResourceRequest.Put
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: EMS.Services.pas EMS.Services.hpp
| |
Unit: EMS.Services | |
Parent: IEMSResourceRequest |
Delphi
function Put(const AContext: IEMSResourceRequestContext; const AResourceName: string;
const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams;
const ARequestContent: IEMSResourceRequestContent): IEMSResourceResponseContent;
C++
virtual _di_IEMSResourceResponseContent __fastcall Put(const _di_IEMSResourceRequestContext AContext, const System::UnicodeString AResourceName, const TEMSResourceRequestSegments ASegments, const TEMSResourceRequestQueryParams AQueryParams, const _di_IEMSResourceRequestContent ARequestContent) = 0 ;
Description
Executes a PUT resource request to store or update the information for the requested resource. The method type of the resource request is put.
The Put method receives the following input parameters:
AContext
: Context of the PUT 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. SetASegments
value tonull
.AQueryParams
: Query parameters used to execute a filtered Put resource request. SetAQueryParams
value tonull
.ARequestContent
: Resource request content needed to execute the Put request to the resource.
Put returns an IEMSResourceResponseContent with the response from the EMS Server.