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 ConRestProcess.
Requisitos
Nota | ||
---|---|---|
| ||
Disponível à partir da versão 12.1.20 da linha RM. |
Linha de Software | Versão | Data de Liberação | Observação |
---|---|---|---|
RM | 12.1.20 e/ou posteriores | Abril/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:
Método | URL | Nome | Descrição |
---|---|---|---|
GET | rest/conrestprocess/getschema/{processServerName} | GetSchema | Faz a leitura do Processo informado. |
POST | rest/conrestprocess/executeprocess/{processServerName} | ExecuteProcess | Executa o processo informado |
Exemplos de Utilização:
Informações | ||
---|---|---|
| ||
HTML | <div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7"> <div
- 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
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>
style="float:left;font-size:inherit;padding-left:5px">ConRestProcess</span>
style="float:left;padding:0px 5px">»</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>
style="float:left;font-size:inherit;padding-left:5px">localhost:8051</span>
style="float:left;padding:0px 5px">»</span> <span
style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2"/></span>
style="float:left;padding:0px 5px">»</span>
style="float:left;font-size:inherit;padding-left:5px">GetSchema</span>
style="border: 1px solid #aab8c6">
Cabeçalho -->
style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
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" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Informações Gerais
Body -->
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;">
style="width:100%;height:30px;border-bottom:1px solid #d0d0d0;padding-bottom:5px;">
style="float:left;margin-top: 4px;font-weight:normal !important"> <img
16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> GetSchema<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv2', 'img2');"> <img
name="img2" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
class="HiddenDiv" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;">
<a href="http://localhost:8051/rest/conrestprocess/getschema/GlbProcCopyConsSQL" target="_blank" >http>http://localhost:8051/rest/conrestprocess/getschema/GlbProcCopyConsSQL</ a>a>
- 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
style="width:100%;height: 30px;border-bottom:0px solid #d0d0d0;padding-bottom:0px;">
style="float:left;margin-top: 4px;font-weight:normal !important"> <img
16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/programming-code.png?version=1&modificationDate=1509451197195&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> GetSchema<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv3', 'img3');"> <img
name="img6" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
visibility: #e2e2e2;"> <div id="hiddenDiv3" style="visibility:hidden;height: 0px;hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
Separador -->
style="padding:3px"></div> <div
solid #aab8c6">
Cabeçalho -->
style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
style="float:left;margin-top: 4px">
style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos
Body -->
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;">
style="width:100%;height: 30px;padding-bottom:5px;">
style="float:left;margin-top: 4px;font-weight:normal !important"> <img
16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> Postman<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv4', 'img4');"> <img
name="img4" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
<!-- Separador -->
style="padding:10px"></div>
style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7"> <div
- 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
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>
style="float:left;font-size:inherit;padding-left:5px">ConRestProcess</span>
style="float:left;padding:0px 5px">»</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>
style="float:left;font-size:inherit;padding-left:5px">localhost:8051</span>
style="float:left;padding:0px 5px">»</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>
style="float:left;padding:0px 5px">»</span>
style="float:left;font-size:inherit;padding-left:5px">ExecuteProcess</span>
style="border: 1px solid #aab8c6">solid #aab8c6"> Cabeçalho -->
style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
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" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Informações Gerais
Body -->
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;">
style="width:100%;height:30px;border-bottom:1px solid #d0d0d0;padding-bottom:5px;">
style="float:left;margin-top: 4px;font-weight:normal !important"> <img
16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/programming-code-signs.png?version=1&modificationDate=1509568429032&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> ExecuteProcess<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv5', 'img5');"> <img
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 style="background: #e2e2e2;"> <div"> class="HiddenDiv" style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;">
<a href="http://localhost:8051/rest/conrestprocess/executeprocess/GlbProcCopyConsSQL" target="_blank" >http>http://localhost:8051/rest/conrestprocess/executeprocess/GlbProcCopyConsSQL</ a>a>
- 10px);height:auto;min-height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
style="width:100%;height: 30px;border-bottom:0px solid #d0d0d0;padding-bottom:0px;">
style="float:left;margin-top: 4px;font-weight:normal !important" > <img> 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/programming-code.png?version=1&modificationDate=1509451197195&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> ExecuteProcess<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv6', 'img6');"> <img
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 style="background: #e2e2e2;"> <div
style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
Separador -->
style="padding:3px"></div> <div
solid #aab8c6">
Cabeçalho -->
style="background:#f7f7f7;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;">
style="float:left;margin-top: 4px">
style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/binary-code.png?version=1&modificationDate=1509570539048&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Exemplos
Body -->
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;">
style="width:100%;height: 30px;padding-bottom:5px;">
style="float:left;margin-top: 4px;font-weight:normal !important"> <img
16px; height: 16px; margin-top:3px" src="/download/attachments/190516500/new-page-view.png?version=1&modificationDate=1509570210360&api=v2" />
style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important"> Postman<b>
style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv7', 'img7');"> <img
name="img7" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2">
style="visibility:hidden;height: 0px; line-height: 30px; padding-left: 5px; background: #e2e2e2;font-weight:normal"></div>
|
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 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|