O objetivo deste ProcessServer é possibilitar matricular candidatos aprovados no processo seletivo através de WebService. A matrícula do candidato poderá ser visualizadas através da visão de Matrícula no período letivo do aluno do Totvs Educacional.
Este ProcessServer também poderá ser utilizado para matricular candidatos através de processos seletivos que utilizem a modalidade venda online de cursos.
Através do processServer "EduMatricAprovadosPSData" é possível, por meio do método ExecuteWithXmlParams, realizar a inclusão da matrícula do candidato.
Se necessário clique aqui para obter ajuda na configuração do Host.
Este método realizará a inclusão da matrícula do candidato.
O contexto para execução do processo e validações dos parâmetros do sistema junto ao perfil do usuário, são $CODCOLIGADA, $CODFILIAL, $CODTIPOCURSO, $CODSISTEMA e $CODUSUARIO.
A seguir temos dois exemplos de XML um completo, com todas as tags, e outro reduzido, apenas com as tags necessárias.
<?xml version="1.0" encoding="utf-16"?> <EduMatricAprovadosPSParamsProc z:Id="i1" xmlns="http://www.totvs.com.br/RM/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ActionModule xmlns="http://www.totvs.com/">S</ActionModule> <ActionName xmlns="http://www.totvs.com/">EduMatricAprovadosPSAction</ActionName> <CanParallelize xmlns="http://www.totvs.com/">true</CanParallelize> <CanSendMail xmlns="http://www.totvs.com/">false</CanSendMail> <CanWaitSchedule xmlns="http://www.totvs.com/">false</CanWaitSchedule> <CodUsuario xmlns="http://www.totvs.com/">mestre</CodUsuario> <ConnectionId i:nil="true" xmlns="http://www.totvs.com/" /> <ConnectionString i:nil="true" xmlns="http://www.totvs.com/" /> <Context z:Id="i2" xmlns="http://www.totvs.com/" xmlns:a="http://www.totvs.com.br/RM/"> <a:_params xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUNIDADEBIB</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CHAPAFUNCIONARIO</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$EXERCICIOFISCAL</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$RHTIPOUSR</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIOSERVICO</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema" /> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$EDUTIPOUSR</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODLOCPRT</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIO</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODSISTEMA</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">S</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODCOLIGADA</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODTIPOCURSO</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">3</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODIGOEXTERNO</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$IDPRJ</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value> </b:KeyValueOfanyTypeanyType> </a:_params> <a:Environment>DotNet</a:Environment> </Context> <CustomData i:nil="true" xmlns="http://www.totvs.com/" /> <DisableIsolateProcess xmlns="http://www.totvs.com/">false</DisableIsolateProcess> <DriverType i:nil="true" xmlns="http://www.totvs.com/" /> <ExecutionId xmlns="http://www.totvs.com/">978c1f00-fa98-4147-bd5e-16bdc4e889c4</ExecutionId> <FailureMessage xmlns="http://www.totvs.com/">Falha na execução do processo</FailureMessage> <FriendlyLogs i:nil="true" xmlns="http://www.totvs.com/" /> <HideProgressDialog xmlns="http://www.totvs.com/">false</HideProgressDialog> <HostName xmlns="http://www.totvs.com/">BHN050103194</HostName> <Initialized xmlns="http://www.totvs.com/">true</Initialized> <Ip xmlns="http://www.totvs.com/">10.31.8.189</Ip> <IsolateProcess xmlns="http://www.totvs.com/">false</IsolateProcess> <JobID xmlns="http://www.totvs.com/"> <Children /> <ExecID>1</ExecID> <ID>212852</ID> <IsPriorityJob>false</IsPriorityJob> </JobID> <JobServerHostName xmlns="http://www.totvs.com/">BHN050103194</JobServerHostName> <MasterActionName i:nil="true" xmlns="http://www.totvs.com/" /> <MaximumQuantityOfPrimaryKeysPerProcess xmlns="http://www.totvs.com/">1000</MaximumQuantityOfPrimaryKeysPerProcess> <MinimumQuantityOfPrimaryKeysPerProcess xmlns="http://www.totvs.com/">1</MinimumQuantityOfPrimaryKeysPerProcess> <NetworkUser xmlns="http://www.totvs.com/">guilherme.campolina</NetworkUser> <NotifyEmail xmlns="http://www.totvs.com/">false</NotifyEmail> <NotifyEmailList i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <NotifyFluig xmlns="http://www.totvs.com/">false</NotifyFluig> <OnlineMode xmlns="http://www.totvs.com/">false</OnlineMode> <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <PrimaryKeyNames i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <PrimaryKeyTableName i:nil="true" xmlns="http://www.totvs.com/" /> <ProcessName xmlns="http://www.totvs.com/">Assistente de matrícula de candidatos aprovados em processo seletivo</ProcessName> <QuantityOfSplits xmlns="http://www.totvs.com/">0</QuantityOfSplits> <SaveLogInDatabase xmlns="http://www.totvs.com/">true</SaveLogInDatabase> <SaveParamsExecution xmlns="http://www.totvs.com/">false</SaveParamsExecution> <ScheduleDateTime xmlns="http://www.totvs.com/">2019-02-07T16:50:51.6937442-02:00</ScheduleDateTime> <Scheduler xmlns="http://www.totvs.com/">JobMonitor</Scheduler> <SendMail xmlns="http://www.totvs.com/">false</SendMail> <ServerName xmlns="http://www.totvs.com/">EduMatricAprovadosPSData</ServerName> <ServiceInterface i:type="b:RuntimeType" z:FactoryType="c:UnitySerializationHolder" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.datacontract.org/2004/07/System" xmlns:b="-mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089-System-System.RuntimeType" xmlns:c="-mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089-System-System.UnitySerializationHolder"> <Data i:type="d:string" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">RM.Edu.Interfaces.IEduMatricAprovadosPS</Data> <UnityType i:type="d:int" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">4</UnityType> <AssemblyName i:type="d:string" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">RM.Edu.Interfaces.Intf, Version=12.1.24.1, Culture=neutral, PublicKeyToken=null</AssemblyName> </ServiceInterface> <ShouldParallelize xmlns="http://www.totvs.com/">false</ShouldParallelize> <ShowReExecuteButton xmlns="http://www.totvs.com/">true</ShowReExecuteButton> <StatusMessage i:nil="true" xmlns="http://www.totvs.com/" /> <SuccessMessage xmlns="http://www.totvs.com/">Processo executado com sucesso</SuccessMessage> <SyncExecution xmlns="http://www.totvs.com/">false</SyncExecution> <UseJobMonitor xmlns="http://www.totvs.com/">true</UseJobMonitor> <UserName xmlns="http://www.totvs.com/">mestre</UserName> <WaitSchedule xmlns="http://www.totvs.com/">false</WaitSchedule> <AlunosAprovados> <EduAprovadosPSItem z:Id="i3"> <InternalId i:nil="true" xmlns="http://www.totvs.com/" /> <Cartidentidade>1287302</Cartidentidade> <Classificacao>1</Classificacao> <CodColigada>1</CodColigada> <CodMae i:nil="true" /> <CodPai i:nil="true" /> <CodRespAcademico i:nil="true" /> <CodUsuarioPS>0</CodUsuarioPS> <Codcoligadaresponsavel i:nil="true" /> <Codpessoa>118</Codpessoa> <Codpessoaresponsavel i:nil="true" /> <Cpf>04706139988</Cpf> <Dtnascimento>1985-12-15T00:00:00</Dtnascimento> <Idps>27</Idps> <Nome>JULIANA FRIEDRICH FARAJ</Nome> <Numeroinscricao>2</Numeroinscricao> <Pontuacao>0</Pontuacao> <RA i:nil="true" /> <ResponsavelFinanceiro i:nil="true" /> <Telefone1>30264311/882861</Telefone1> </EduAprovadosPSItem> </AlunosAprovados> <Apresentacao>EnsinoSuperior</Apresentacao> <CadastraAlunoComoRespFinanc>false</CadastraAlunoComoRespFinanc> <CadastraContrato>false</CadastraContrato> <CadastraResponsavelPSComoRespFinanc>false</CadastraResponsavelPSComoRespFinanc> <CodCampus /> <CodColigada>1</CodColigada> <CodFilial>1</CodFilial> <CodTipoCurso>3</CodTipoCurso> <CodigoTurma>T4BIO</CodigoTurma> <Contexto z:Ref="i2" /> <CotaFinal>0</CotaFinal> <CotaInicial>0</CotaInicial> <DataIngresso i:nil="true" /> <DtCompetenciaFinal> /</DtCompetenciaFinal> <DtCompetenciaInicial> /</DtCompetenciaInicial> <GerarLancamento>false</GerarLancamento> <HabilitacaoFilial>413</HabilitacaoFilial> <IdAreaInteresse>10</IdAreaInteresse> <IdProcessoSeletivo>27</IdProcessoSeletivo> <IncluirListaEspera>false</IncluirListaEspera> <MatriculaOfertaOnline>false</MatriculaOfertaOnline> <ParametrosPerfilUsuario z:Id="i4"> <InternalId i:nil="true" xmlns="http://www.totvs.com/" /> <CodColigada>1</CodColigada> <CodUsuario>mestre</CodUsuario> <MatriculaAlunoComAtrasoBiblioteca>false</MatriculaAlunoComAtrasoBiblioteca> <MatriculaAlunoComDebitoBiblioteca>false</MatriculaAlunoComDebitoBiblioteca> <MatriculaAlunoInadimplente>true</MatriculaAlunoInadimplente> <MatriculaAlunoSemDocObrigatorios>false</MatriculaAlunoSemDocObrigatorios> <MatriculaAlunosComOcorrencia>false</MatriculaAlunosComOcorrencia> <MatriculaComConflitoHorarios>true</MatriculaComConflitoHorarios> <MatriculaComConflitoPreReq>false</MatriculaComConflitoPreReq> <MatriculaEmTurmaCheia>false</MatriculaEmTurmaCheia> <MatriculaForaDoPeriodo>false</MatriculaForaDoPeriodo> <MatriculaSemMinCredPLetivo>true</MatriculaSemMinCredPLetivo> </ParametrosPerfilUsuario> <ParcelaFinal>0</ParcelaFinal> <ParcelaInicial>0</ParcelaInicial> <PeriodoLetivo>104</PeriodoLetivo> <PlanoPagamento i:nil="true" /> <SobrescreverDeficienciasAlunos>false</SobrescreverDeficienciasAlunos> <SobrescreverEnderecoAlunos>false</SobrescreverEnderecoAlunos> <StatusMatricCurso>123</StatusMatricCurso> <StatusMatricDisciplinas>123</StatusMatricDisciplinas> <StatusMatricPeriodoLetivo>123</StatusMatricPeriodoLetivo> <SubstituiRespFinanc>false</SubstituiRespFinanc> <TipoEscolhaGerarRA>NaoMatricularGerarLog</TipoEscolhaGerarRA> <TipoMatricula>7</TipoMatricula> <VincProvas /> </EduMatricAprovadosPSParamsProc> |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/"> <soapenv:Header/> <soapenv:Body> <tot:ExecuteWithXmlParams> <!--Optional:--> <tot:ProcessServerName>EduMatricAprovadosPSData</tot:ProcessServerName> <!--Optional:--> <tot:strXmlParams><![CDATA[<?xml version="1.0" encoding="utf-16"?> <EduMatricAprovadosPSParamsProc z:Id="i1" xmlns="http://www.totvs.com.br/RM/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <Context z:Id="i2" xmlns="http://www.totvs.com/" xmlns:a="http://www.totvs.com.br/RM/"> <a:_params xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIO</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODSISTEMA</b:Key> <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">S</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODCOLIGADA</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value> </b:KeyValueOfanyTypeanyType> <b:KeyValueOfanyTypeanyType> <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODTIPOCURSO</b:Key> <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">3</b:Value> </b:KeyValueOfanyTypeanyType> </a:_params> <a:Environment>DotNet</a:Environment> </Context> <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <PrimaryKeyNames i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <PrimaryKeyTableName i:nil="true" xmlns="http://www.totvs.com/" /> <AlunosAprovados> <EduAprovadosPSItem z:Id="i3"> <InternalId i:nil="true" xmlns="http://www.totvs.com/" /> <Cartidentidade>1287302</Cartidentidade> <Classificacao>1</Classificacao> <CodColigada>1</CodColigada> <CodMae i:nil="true" /> <CodPai i:nil="true" /> <CodRespAcademico i:nil="true" /> <CodUsuarioPS>0</CodUsuarioPS> <Codcoligadaresponsavel i:nil="true" /> <Codpessoa>118</Codpessoa> <Codpessoaresponsavel i:nil="true" /> <Cpf>04706139988</Cpf> <Dtnascimento>1985-12-15T00:00:00</Dtnascimento> <Idps>27</Idps> <Nome>JULIANA FRIEDRICH FARAJ</Nome> <Numeroinscricao>2</Numeroinscricao> <Pontuacao>0</Pontuacao> <RA i:nil="true" /> <ResponsavelFinanceiro i:nil="true" /> <Telefone1>30264311/882861</Telefone1> </EduAprovadosPSItem> </AlunosAprovados> <Apresentacao>EnsinoSuperior</Apresentacao> <CadastraAlunoComoRespFinanc>false</CadastraAlunoComoRespFinanc> <CadastraContrato>false</CadastraContrato> <CadastraResponsavelPSComoRespFinanc>false</CadastraResponsavelPSComoRespFinanc> <CodCampus /> <CodColigada>1</CodColigada> <CodFilial>1</CodFilial> <CodTipoCurso>3</CodTipoCurso> <CodigoTurma>T4BIO</CodigoTurma> <Contexto z:Ref="i2" /> <CotaFinal>0</CotaFinal> <CotaInicial>0</CotaInicial> <DataIngresso i:nil="true" /> <DtCompetenciaFinal> /</DtCompetenciaFinal> <DtCompetenciaInicial> /</DtCompetenciaInicial> <GerarLancamento>false</GerarLancamento> <HabilitacaoFilial>413</HabilitacaoFilial> <IdAreaInteresse>10</IdAreaInteresse> <IdProcessoSeletivo>27</IdProcessoSeletivo> <IncluirListaEspera>false</IncluirListaEspera> <MatriculaOfertaOnline>false</MatriculaOfertaOnline> <ParametrosPerfilUsuario z:Id="i4"> <InternalId i:nil="true" xmlns="http://www.totvs.com/" /> <CodColigada>1</CodColigada> <CodUsuario>mestre</CodUsuario> <MatriculaAlunoComAtrasoBiblioteca>false</MatriculaAlunoComAtrasoBiblioteca> <MatriculaAlunoComDebitoBiblioteca>false</MatriculaAlunoComDebitoBiblioteca> <MatriculaAlunoInadimplente>true</MatriculaAlunoInadimplente> <MatriculaAlunoSemDocObrigatorios>false</MatriculaAlunoSemDocObrigatorios> <MatriculaAlunosComOcorrencia>false</MatriculaAlunosComOcorrencia> <MatriculaComConflitoHorarios>true</MatriculaComConflitoHorarios> <MatriculaComConflitoPreReq>false</MatriculaComConflitoPreReq> <MatriculaEmTurmaCheia>false</MatriculaEmTurmaCheia> <MatriculaForaDoPeriodo>false</MatriculaForaDoPeriodo> <MatriculaSemMinCredPLetivo>true</MatriculaSemMinCredPLetivo> </ParametrosPerfilUsuario> <ParcelaFinal>0</ParcelaFinal> <ParcelaInicial>0</ParcelaInicial> <PeriodoLetivo>104</PeriodoLetivo> <PlanoPagamento i:nil="true" /> <SobrescreverDeficienciasAlunos>false</SobrescreverDeficienciasAlunos> <SobrescreverEnderecoAlunos>false</SobrescreverEnderecoAlunos> <StatusMatricCurso>123</StatusMatricCurso> <StatusMatricDisciplinas>123</StatusMatricDisciplinas> <StatusMatricPeriodoLetivo>123</StatusMatricPeriodoLetivo> <SubstituiRespFinanc>false</SubstituiRespFinanc> <TipoEscolhaGerarRA>NaoMatricularGerarLog</TipoEscolhaGerarRA> <TipoMatricula>7</TipoMatricula> <VincProvas /> </EduMatricAprovadosPSParamsProc>]]></tot:strXmlParams> </tot:ExecuteWithXmlParams> </soapenv:Body> </soapenv:Envelope> |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <ExecuteWithXmlParamsResponse xmlns="http://www.totvs.com/"> <ExecuteWithXmlParamsResult>1</ExecuteWithXmlParamsResult> </ExecuteWithXmlParamsResponse> </s:Body> </s:Envelope> |
|
À partir das versões 12.1.24.274, 12.1.25.223, 12.1.26.166 e 12.1.27.107 foi disponibilizado os parâmetros:
|
Para utilização deste ProcessServer para matricular candidatos na modalidade de venda online de cursos, é necessário alterar a tag "MatriculaOfertaOnline" no XML do processo no seguinte formato:
|