EMS.Services.TEMSInternalAPI.ModuleResourcePost
Delphi
function ModuleResourcePost(const AModuleName, AResourceName: string; const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams; const ARequestContent: IEMSResourceRequestContent): IEMSResourceResponseContent;
C++
_di_IEMSResourceResponseContent __fastcall ModuleResourcePost(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);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Executes a POST resource request to store or update the information for the particular resource of the EMS Edge module.
ModuleResourcePost receives the following input parameters:
AModuleName: the RAD Server EdgeModules Resource name of the resource.AResourceName: the resource name of theAModuleNameto store the data to.ASegments: Array of URL segments of the EMS Resource endpoint to execute the request.ASegmentsvalue may benull.AQueryParams: Query parameters used to execute a filtered resource request.AQueryParamsvalue may benull.ARequestContent: Resource request content needed to execute the POST request to the resource.
ModuleResourcePost returns an IEMSResourceResponseContent with the response from the EMS Server.
See Also
- EMS.Services.TEMSInternalAPI.TQueryParams
- EMS.Services.TEMSResourceRequestSegments
- EMS.Services.IEMSResourceRequest.Post
- EMS.Services.IEMSResourceResponseContent
- EMS.Services.TEMSInternalAPI.ModuleResourceDelete
- EMS.Services.TEMSInternalAPI.ModuleResourceGet
- EMS.Services.TEMSInternalAPI.ModuleResourcePatch
- EMS.Services.TEMSInternalAPI.ModuleResourcePut
- RAD Server EdgeModules Resource