EMS.Services.TEMSInternalAPI.UpdateInstallation
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: EMS.Services.pas EMS.Services.hpp
| |
Unit: EMS.Services | |
Parent: TEMSInternalAPI |
Delphi
function UpdateInstallation(const AInstallationID: string; const AJSONObject: TJSONObject): IEMSResourceResponseContent; overload;
C++
_di_IEMSResourceResponseContent __fastcall UpdateInstallation(const System::UnicodeString AInstallationID, System::Json::TJSONObject* const AJSONObject)/* overload */;
Description
Updates the fields from an EMS Installation.
UpdateInstallation updates the custom fields of an EMS Installation in the EMS Server, adding, updating or deleting custom fields.
- To add a new custom field, add a custom name/value pair to the TJSONObject.
- To delete a field, pass a
null
value in the JSON object for that pair.
{"description":null}
The UpdateInstallation method receives the following parameters:
AInstallationID
: EMS Installation identifier in the EMS Server.AJSONObject
: TJSONObject with the custom fields of an EMS Installation.
UpdateInstallation returns an IEMSResourceResponseContent to read the response from the EMS Server.