CreateBusinessSystem()

Store the business system using Business System DTO object

Description

Retrieve the business system for a given stakeholder.

Package Details

Interface

IBusinessSystemManager

Syntax

BusinessSystemManager.CreateBusinessSystem(BusinessSystemDTO businessSystem, int addedByUserId);

Returns

Task<BusinessSystemDTO>

API

[GET] /api/v1/business-systems

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

businessSystem

business system to store

BusinessSystemDTO

addedByUserId

The user id who created the business system

integer

Path
/api/v1/business-systems?addedByUserId={addedByUserId}

Returns

200 OK - Business system DTO

Example

var businessSystem = new BusinessSystemDTO { Id = userId, Type = BusinessSystemType.DAPLS, SourceId = "129088", Description = null, SourceTable = "APPLICANT", SourceColumn = "FILE_NUMBER" }; var addedByUserId = 4017; var businessSystem = await _businessSystemManager.CreateBusinessSystem(businessSystem, addedByUserId);