SoftExpertAPI 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package SoftExpertAPI --version 1.0.2
                    
NuGet\Install-Package SoftExpertAPI -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SoftExpertAPI" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SoftExpertAPI" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="SoftExpertAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SoftExpertAPI --version 1.0.2
                    
#r "nuget: SoftExpertAPI, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SoftExpertAPI&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=SoftExpertAPI&version=1.0.2
                    
Install as a Cake Tool

SoftExpertAPI

SoftExpertAPI é uma biblioteca que possui um conjunto de classes para abstrair a comunicação SOAP com a API do SoftExpert SESuite. Esta biblioteca não está completa e será desenvolvida conforme necessidades e pedidos.

Direitos reservados a https://www.softexpert.com/

Documentação original: https://documentation.softexpert.com/en/integration/index.html

Se você quer falar comigo, por qualquer proposito, me mande um email. hudsonventura@outlook.com

Importação do namespace ...

using HudsonVentura.SoftExpert.Workflow;

Criar uma instancia da API de workflow para uso

Dictionary<string, string> headers = new Dictionary<string, string>();
headers.Add("Authorization", $"Basic base64encode(DOMINIO\USUARIO:SENHA)"); //deve ser codificado em base64

string seURL = "https://se.dominio.com.br";
string servico = "/apigateway/se/ws/wf_ws.php"; //deve ser obtido a partir da documentação original
SoftExpertWorkflowApi wf = new SoftExpertWorkflowApi(seURL, servico, headers);

Usando a API - Criando uma instancia de workflow

string ProcessID = "ID do processo";
string WorkflowTitle = "Título da instancia";
string UserID = "Matricula do solicitante";
var newWorkflowResponse = wf.newWorkflow(ProcessID, WorkflowTitle, UserID);

//Retorno: newWorkflowResponse
var instancia = newWorkflowResponse.RecordID;
var houveSucesso = newWorkflowResponse.Code;
var detalhes = newWorkflowResponse.Detail;

Usando a API - Editando dados do formulário

string WorkflowID = "ID da instancia";
string EntityID = "ID da tabela (entidade)";

Dictionary<string, string> formulario = new Dictionary<string, string>();
formulario.Add("campodoform", "valor a ser inserido");
formulario.Add("possuiendereco", "1");
formulario.Add("ramal", "N/A");

Dictionary<string, Dictionary<string, string>> relacionamentos = new Dictionary<string, Dictionary<string, string>>();
        relacionamentos.Add("idrelacionamento",
            new Dictionary<string, string>() {
                { "campodoformdorelacionamento", "valor" },
                { "tipo", "PESSOA JURIDICA (CNPJ)" },
            }
        );

var editEntityRecordResponse = wf.editEntityRecord(WorkflowID, EntityID, formulario, relacionamentos);

//Retorno: editEntityRecordResponse
var houveSucesso = editEntityRecordResponse.Code;
var detalhes = editEntityRecordResponse.Detail;

Usando a API - Execução de atividade

string WorkflowID = "ID da instancia";
string ActivityID = "ID da atividade do fluxograma";
string ActionSequence = "Sequence da ação da atividade. Veja na lista de ações da atividade";
string UserID = "Matricula do executor";


var executeActivityResponse = wf.executeActivity(WorkflowID, ActivityID, ActionSequence, UserID);

//Retorno: executeActivityResponse
var houveSucesso = executeActivityResponse.Code;
var detalhes = executeActivityResponse.Detail;
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.27 194 5/16/2025
1.3.26 265 5/13/2025
1.3.25 236 5/13/2025
1.3.24 195 4/10/2025
1.3.23 145 3/14/2025
1.3.22 188 10/30/2024
1.3.21 130 10/29/2024
1.3.20 130 10/29/2024
1.3.19 135 10/10/2024
1.3.18 150 10/1/2024
1.3.17 140 9/24/2024
1.3.16 133 9/24/2024
1.3.15 141 9/19/2024
1.3.14 155 9/3/2024
1.3.12 139 8/28/2024
1.3.11 143 8/28/2024
1.3.10 133 8/28/2024
1.3.9 193 8/14/2024
1.3.7 175 8/14/2024
1.3.6 161 8/14/2024
1.3.5 155 8/14/2024
1.3.4 153 8/13/2024
1.3.3 153 8/13/2024
1.3.2 155 8/13/2024
1.3.1 155 8/9/2024
1.2.14 157 7/9/2024
1.2.13 154 7/5/2024
1.2.12 161 4/24/2024
1.2.11 150 4/24/2024
1.2.10 162 3/20/2024
1.2.9 156 3/12/2024
1.2.8 168 3/4/2024
1.2.7 166 3/4/2024
1.2.6 157 3/4/2024
1.2.5 217 2/20/2024
1.2.4 157 2/20/2024
1.2.3 162 2/20/2024
1.2.2 154 2/20/2024
1.2.1 152 2/20/2024
1.2.0 157 2/20/2024
1.1.15 221 10/9/2023
1.1.14 172 10/9/2023
1.1.13 165 10/9/2023
1.1.12 175 10/9/2023
1.1.11 175 10/3/2023
1.1.10 169 10/3/2023
1.1.9 181 9/26/2023
1.1.8 168 9/19/2023
1.1.7 223 8/17/2023
1.1.6 184 8/17/2023
1.0.6 354 2/8/2023
1.0.5 319 2/8/2023
1.0.4 322 2/7/2023
1.0.3 500 5/18/2022
1.0.2 517 3/18/2022
1.0.1 483 3/18/2022
1.0.0 493 3/10/2022