EMS.Services.TEMSInternalAPI.UpdateGroup
Delphi
function UpdateGroup(const AGroupName: string; const AGroupFields: TJSONObject): IEMSResourceResponseContent; overload;
C++
_di_IEMSResourceResponseContent __fastcall UpdateGroup(const System::UnicodeString AGroupName, System::Json::TJSONObject* const AGroupFields)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
説明
EMS グループのフィールドを更新します。
UpdateGroup では、カスタム フィールドの追加、更新、削除のいずれかを行って、EMS サーバー内の指定された EMS グループの内容を更新します。
- 新規フィールドを追加するには、カスタムの名前/値ペアを TJSONObject に追加します。
- フィールドを削除するには、そのフィールド ペアの JSON オブジェクトに
null
値を設定して渡します。
{"SomeName":null}
UpdateGroup メソッドは、次のパラメータを受け取ります。
AGroupName
: EMS サーバー内の既存の EMS グループを識別する EMS グループ名。AGroupFields
: EMS グループのカスタム フィールドを格納した TJSONObject。
UpdateGroup では、EMS サーバーからの応答を読み取るための IEMSResourceResponseContent を返します。