Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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);
  • No labels