EMS.Services.IEMSResourceRequest.Post
Delphi
function Post(const AContext: IEMSResourceRequestContext; const AResourceName: string; const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams; const ARequestContent: IEMSResourceRequestContent): IEMSResourceResponseContent;
C++
virtual _di_IEMSResourceResponseContent __fastcall Post(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 POST resource request to store or update the information for the requested resource. The method type of the resource request is post.
The Post method receives the following input parameters:
AContext
: Context of the POST 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 benull
.AQueryParams
: Query parameters used to execute a filtered Post resource request. SetAQueryParams
value tonull
.ARequestContent
: Resource request content needed to execute the Post request to the resource.ARequestContent
value may benull
.
Post returns an IEMSResourceResponseContent with the response from the EMS Server.