EMS.Services.IEMSResourceRequest.Post

From RAD Studio API Documentation
Jump to: navigation, search

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 be null.
  • AQueryParams: Query parameters used to execute a filtered Post resource request. Set AQueryParams value to null.
  • ARequestContent: Resource request content needed to execute the Post request to the resource. ARequestContent value may be null.

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

See Also