Register
Description
Add a new service or update an existing service.
Package Details
Interface
IOnboardingServiceManager
Syntax
Task<string> Register(ServiceInfo info);
Returns
Task<string>
API Endpoint
Not applicable
Example
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);