Beispiel #1
0
        public void CreateCaseInBlaise(CaseModel caseModel)
        {
            var dataFields = BuildDataFieldsFromCaseModel(caseModel);

            _blaiseCaseApi.CreateCase(caseModel.PrimaryKey, dataFields,
                                      BlaiseConfigurationHelper.InstrumentName, BlaiseConfigurationHelper.ServerParkName);
        }
        public void CreateCase(string serverParkName, string instrumentName, string caseId,
                               Dictionary <string, string> fieldData)
        {
            serverParkName.ThrowExceptionIfNullOrEmpty("serverParkName");
            instrumentName.ThrowExceptionIfNullOrEmpty("instrumentName");
            caseId.ThrowExceptionIfNullOrEmpty("caseId");
            fieldData.ThrowExceptionIfNullOrEmpty("fieldData");

            _blaiseCaseApi.CreateCase(caseId, fieldData, instrumentName, serverParkName);
        }