Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IOnboardingServiceManager

Syntax

Task<string> Register(ServiceInfo info);

Returns

Task<string>

API Endpoint

Not applicableThere are no parameters.

Example

Code Block
languagec#
var serviceInfo = new ServiceInfo
{
    BaseUrl = "your url",
    BusinessUnit = TcBusinessUnit.MyTcOnline,
    FriendlyNameEn = "My Service En",
    FriendlyNameFr = "My Service Fr",
    Groups = new List<ServiceGroup>(),
    Icon = "icon.jpg",
    IsDisplayableInCatalog = true,
    IsEnrollmentRequired = true,
    IsPublic = true,
    Id = 100 //Only when updating
};
            
var info = await onboardingServiceManager.Register(serviceInfo);