EMS.Services.TEMSInternalAPI.CreateGroup

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

Delphi

function CreateGroup(const AGroupName: string;  const AGroupFields: TJSONObject): IEMSResourceResponseContent; overload;
function CreateGroup(const AJSONBody: TJSONObject): IEMSResourceResponseContent; overload;

C++

_di_IEMSResourceResponseContent __fastcall CreateGroup(const System::UnicodeString AGroupName, System::Json::TJSONObject* const AGroupFields)/* overload */;
_di_IEMSResourceResponseContent __fastcall CreateGroup(System::Json::TJSONObject* const AJSONBody)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI


説明

EMS Server に新しい EMS Group を作成します。

CreateGroup メソッドは、オーバーロードされています。

  • 第 1 オーバーロード メソッドは、AGroupName と(任意で)カスタム AGroupFields を、TJSONObject に追加します。このメソッドは、第 2 オーバーロード CreateGroup メソッドを、結果の TJSONObject で呼び出します。
  • 第 2 オーバーロード メソッドは、新しい EMS Group を追加します。AJSONBody には、EMS Group データが TJSONObject として含まれています。
メモ: EMS Group 名のみ必須です。

CreateGroup は、リソースからレスポンスを読み取るため、IEMSResourceResponseContent を返します。

関連項目