EMS.Services.TEMSInternalAPI.ModuleResourceDelete
Delphi
function ModuleResourceDelete(const AModuleName, AResourceName: string; const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams): IEMSResourceResponseContent;
C++
_di_IEMSResourceResponseContent __fastcall ModuleResourceDelete(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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Executes a DELETE resource request to delete the content of a resource for the given EMS Edge module.
ModuleResourceDelete receives the following input parameters:
AModuleName
: the EMS EdgeModules Resource from where the resource is deleted.AResourceName
: the resource name of theAModuleName
to be deleted.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 resource request.AQueryParams
value may benull
.
ModuleResourceDelete returns an IEMSResourceResponseContent with the response from the EMS Server.
See Also
- EMS.Services.TEMSInternalAPI.TQueryParams
- EMS.Services.TEMSResourceRequestSegments
- EMS.Services.IEMSResourceRequest.Delete
- EMS.Services.IEMSResourceResponseContent
- EMS.Services.TEMSInternalAPI.ModuleResourceGet
- EMS.Services.TEMSInternalAPI.ModuleResourcePatch
- EMS.Services.TEMSInternalAPI.ModuleResourcePost
- EMS.Services.TEMSInternalAPI.ModuleResourcePut