EMS.Services.TEMSInternalAPI.UpdateInstallation

提供: RAD Studio API Documentation
移動先: 案内検索

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 を返します。

関連項目