Versões comparadas
Chave
- Esta linha foi adicionada.
- Esta linha foi removida.
- A formatação mudou.
Índice:
Índice | ||
---|---|---|
|
Objetivo
Apresentar como utilizar o serviço ConRestProcessRestProcess.
Requisitos
Nota | ||
---|---|---|
| ||
Disponível à partir da versão 12.1.20 21 da linha RM. |
Linha de Software | Versão | Data de Liberação | Observação |
---|---|---|---|
RM | 12.1.20 21 e/ou posteriores | AbrilJunho/2018 | Para os requisitos de software deve-se consultar a Portabilidade RM |
Informações | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Acesse a máquina ou servidor que está executando o serviço
Vá ao diretório C:\totvs\CorporeRM\RM.Net e edite o arquivo RM.Host.Service.exe.config. Inclua a tag <add key="DefaultDB" value="CorporeRM" /> dentro da limitação appSettings.
|
Métodos disponibilizados pelo serviço:
Exemplos de Utilização:
icon | false |
---|
HTML |
---|
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7">
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
<span style="float:left;font-size:inherit;padding-left:5px">ConRestProcess</span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
<span style="float:left;font-size:inherit;padding-left:5px">localhost:8051</span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2"/></span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left;font-size:inherit;padding-left:5px">GetSchema</span>
</div>
<div style="border: 1px solid #aab8c6">
<!-- Cabeçalho -->
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<span style="float:left;margin-top: 4px"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/info.png?version=1&modificationDate=1509568958717&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Informações Gerais
</span>
</div>
<!-- Body -->
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height:30px;border-bottom:1px solid #d0d0d0;padding-bottom:5px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
GetSchema<b> (GET)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv2', 'img2');">
<img id="img2" name="img2" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv2" class="HiddenDiv" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;">
<strong>URL</strong>: <a href="http://localhost:8051/rest/conrestprocess/getschema/GlbCopyPermisUsrProc" target="_blank">http://localhost:8051/rest/conrestprocess/getschema/GlbCopyPermisUsrProcL</a>
</div>
</div>
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height: 30px;border-bottom:0px solid #d0d0d0;padding-bottom:0px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/programming-code.png?version=1&modificationDate=1509451197195&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
GetSchema<b> (Response)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv3', 'img3');">
<img id="img3" name="img6" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv3" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"> |
language | xml |
---|
HTML |
---|
</div>
</div>
</div>
<!-- Separador -->
<div style="padding:3px"></div>
<div style="border:1px solid #aab8c6">
<!-- Cabeçalho -->
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<span style="float:left;margin-top: 4px">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos
</span>
</div>
<!-- Body -->
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height: 30px;padding-bottom:5px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
Postman<b> (6.0.7)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv4', 'img4');">
<img id="img4" name="img4" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv4" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
</div>
</div>
</div>
<!-- Separador -->
<div style="padding:10px"></div>
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7">
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
<span style="float:left;font-size:inherit;padding-left:5px">ConRestProcess</span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
<span style="float:left;font-size:inherit;padding-left:5px">localhost:8051</span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2"/></span>
<span style="float:left;padding:0px 5px">»</span>
<span style="float:left;font-size:inherit;padding-left:5px">ExecuteProcess</span>
</div>
<div style="border: 1px solid #aab8c6">
<!-- Cabeçalho -->
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<span style="float:left;margin-top: 4px"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/info.png?version=1&modificationDate=1509568958717&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Informações Gerais
</span>
</div>
<!-- Body -->
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height:30px;border-bottom:1px solid #d0d0d0;padding-bottom:5px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
ExecuteProcess<b> (POST)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv5', 'img5');">
<img id="img5" name="img5" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv5" class="HiddenDiv" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;">
<strong>URL</strong>: <a href="http://localhost:8051/rest/conrestprocess/executeprocess/GlbCopyPermisUsrProc" target="_blank">http://localhost:8051/rest/conrestprocess/executeprocess/GlbCopyPermisUsrProc</a>
</div>
</div>
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height: 30px;border-bottom:0px solid #d0d0d0;padding-bottom:0px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/programming-code.png?version=1&modificationDate=1509451197195&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
ExecuteProcess<b> (Response)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv6', 'img6');">
<img id="img6" name="img6" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv6" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
</div>
</div>
<!-- Separador -->
<div style="padding:3px"></div>
<div style="border:1px solid #aab8c6">
<!-- Cabeçalho -->
<div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<span style="float:left;margin-top: 4px">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos
</span>
</div>
<!-- Body -->
<div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
<div style="width:100%;height: 30px;padding-bottom:5px;">
<span style="float:left;margin-top: 4px;font-weight:normal !important">
<img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" />
</span>
<span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">
Postman<b> (6.0.7)</b>
</span>
<span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv7', 'img7');">
<img id="img7" name="img7" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
</span>
</div>
<div id="hiddenDiv7" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
</div>
</div>
</div> |
icon | false |
---|---|
title | Para maiores informações: |
Canais de Atendimento:
Chamado: Através do Portal Totvs www.suporte.totvs.com.br
Telefônico: 4003-0015 Escolhendo as opções 2 – (Software), 2 – (Suporte Técnico), 3 – (RM), 9 – (Demais Áreas), 4 – (BI) e 3 – (Gerador de Relatórios e Planilha).
</div> </div> </div> <!-- Separador --> <div style="padding:3px"></div> <div style="border:1px solid #aab8c6"> <!-- Cabeçalho --> <div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <span style="float:left;margin-top: 4px"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos </span> </div> <!-- Body --> <div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <div style="width:100%;height: 30px;padding-bottom:5px;"> <span style="float:left;margin-top: 4px;font-weight:normal !important"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> Postman<b> (6.0.7)</b> </span> <span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv4', 'img4');"> <img id="img4" name="img4" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2"> </span> </div> <div id="hiddenDiv4" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div> </div> </div> </div> <!-- Separador --> <div style="padding:10px"></div> <div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7"> <div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px"> <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span> <span style="float:left;font-size:inherit;padding-left:5px">ConRestProcess</span> <span style="float:left;padding:0px 5px">»</span> <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span> <span style="float:left;font-size:inherit;padding-left:5px">localhost:8051</span> <span style="float:left;padding:0px 5px">»</span> <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2"/></span> <span style="float:left;padding:0px 5px">»</span> <span style="float:left;font-size:inherit;padding-left:5px">ExecuteProcess</span> </div> <div style="border: 1px solid #aab8c6"> <!-- Cabeçalho --> <div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <span style="float:left;margin-top: 4px"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/info.png?version=1&modificationDate=1509568958717&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Informações Gerais </span> </div> <!-- Body --> <div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <div style="width:100%;height:30px;border-bottom:1px solid #d0d0d0;padding-bottom:5px;"> <span style="float:left;margin-top: 4px;font-weight:normal !important"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> ExecuteProcess<b> (POST)</b> </span> <span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv5', 'img5');"> <img id="img5" name="img5" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2"> </span> </div> <div id="hiddenDiv5" class="HiddenDiv" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;"> <strong>URL</strong>: <a href="http://localhost:8051/rest/conrestprocess/executeprocess/GlbCopyPermisUsrProc" target="_blank">http://localhost:8051/rest/conrestprocess/executeprocess/GlbCopyPermisUsrProc</a> </div> </div> <div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <div style="width:100%;height: 30px;border-bottom:0px solid #d0d0d0;padding-bottom:0px;"> <span style="float:left;margin-top: 4px;font-weight:normal !important"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/programming-code.png?version=1&modificationDate=1509451197195&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> ExecuteProcess<b> (Response)</b> </span> <span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv6', 'img6');"> <img id="img6" name="img6" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2"> </span> </div> <div id="hiddenDiv6" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div> </div> </div> <!-- Separador --> <div style="padding:3px"></div> <div style="border:1px solid #aab8c6"> <!-- Cabeçalho --> <div style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <span style="float:left;margin-top: 4px"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos </span> </div> <!-- Body --> <div style="background:#f0f0f0;width:calc(100% - 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <div style="width:100%;height: 30px;padding-bottom:5px;"> <span style="float:left;margin-top: 4px;font-weight:normal !important"> <img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" /> </span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> Postman<b> (6.0.7)</b> </span> <span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv7', 'img7');"> <img id="img7" name="img7" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2"> </span> </div> <div id="hiddenDiv7" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div> </div> </div> </div>
|
Métodos disponibilizados pelo serviço:
Método | URL | Nome | Descrição |
---|---|---|---|
GET | rest/restprocess/getschema/{processServerName} | GetSchema | Faz a leitura do Processo informado. |
GET | rest/restprocess/getprocessstatus/{jobId}/{execId} | GetProcessStatus | Monitora o progresso da execução de um processo. |
POST | rest/restprocess/executeprocess/{processServerName} | ExecuteProcess | Executa o processo informado |
POST | rest/restprocess/executeprocessasync/{processServerName} | ExecuteProcessAsync | Executa o processo informado de forma assíncrona. |
Exemplos de Utilização:
Informações | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Informações | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Informações | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Informações | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Informações | ||||
---|---|---|---|---|
| ||||
Canais de Atendimento: Chamado: Através do Portal Totvs www.suporte.totvs.com.br Telefônico: 4003-0015 Escolhendo as opções 2 – (Software), 2 – (Suporte Técnico), 3 – (RM), 9 – (Demais Áreas), 4 – (BI) e 3 – (Gerador de Relatórios e Planilha). |
Informações | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
Informações | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|