REST.Backend.EMSApi.TEMSClientAPI.RetrieveModulesFields
Delphi
procedure RetrieveModulesFields(const AFields: TJSONArray);
C++
void __fastcall RetrieveModulesFields(System::Json::TJSONArray* const AFields);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
procedure function  | 
		public | REST.Backend.EMSApi.pas REST.Backend.EMSApi.hpp  | 
        REST.Backend.EMSApi | TEMSClientAPI | 
Description
Queries the EMS server for a list of fields that the EMS server supports for modules.
RetrieveModulesFields fills AFields with the results from the EMS server.
Exceptions
| Exception | Message | Description | 
|---|---|---|
| 
 MasterSecret required  | 
 Authentication is TAuthentication.MasterSecret and ConnectionInfo.MasterSecret is an empty string.  | |
| 
 Session token required  | 
 Authentication is TAuthentication.Session and you did not log in or the session authentication token that you provided to Login is an empty string.  | 
See Also
- REST.Backend.EMSApi.TEMSClientAPI.RegisterModule
 - REST.Backend.EMSApi.TEMSClientAPI.RetrieveModule
 - REST.Backend.EMSApi.TEMSClientAPI.UpdateModule
 - REST.Backend.EMSApi.TEMSClientAPI.QueryModuleName
 - REST.Backend.EMSApi.TEMSClientAPI.QueryModules
 - REST.Backend.EMSApi.TEMSClientAPI.UnregisterModule