EMS.Services.TEMSInternalAPI.CreateGroup

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI


Beschreibung

Erstellt eine neue EMS-Gruppe auf dem EMS-Server.

Die Methode CreateGroup ist überladen:

  • Die erste überladene Methode fügt einem TJSONObject den AGroupName und (optional) die benutzerdefinierten AGroupFields hinzu. Diese Methode ruft die zweite überladene CreateGroup-Methode mit dem resultierenden TJSONObject auf.
  • Die zweite überladene Methode fügt die neue EMS-Gruppe hinzu. AJSONBody enthält die EMS-Gruppendaten als TJSONobject.
Hinweis: Nur der EMS-Gruppenname ist erforderlich.

CreateGroup gibt einen IEMSResourceResponseContent zum Lesen der Antwort aus der Ressource zurück.

Siehe auch