EMS.Services.TEMSInternalAPI.UpdateInstallation
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
説明
フィールドを、EMS Installation から更新します。
UpdateInstallation は、EMS Server 内の EMS Installation のカスタム フィールドを、追加、変更、削除などして更新します。
- 新しいカスタム フィールドを追加するには、カスタム「名前/値」ペアを TJSONObject に追加します。
- フィールドを削除するには、
null
値をそのペアの JSON オブジェクトに渡します。
{"description":null}
UpdateInstallation メソッドは、次のパラメータを受け取ります:
AInstallationID
: EMS Server での EMS Installation 識別子。AJSONObject
: EMS Installation のカスタム フィールドを持つ TJSONObject。
UpdateInstallation は、EMS Server からレスポンスを読み取るため、IEMSResourceResponseContent を返します。