Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleExemplo de XML REDUZIDO para matricular candidato aprovado no processo seletivo
collapsetrue
<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>EduMatriculaProcData<ProcessServerName>EduMatricAprovadosPSData</tot:ProcessServerName>
         <!--Optional:-->
         <tot:strXmlParams><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<EduMatriculaParamsProc<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">$CODTIPOCURSO<>$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">$CODCOLIGADA<>$CODUSUARIO</b:Key>
        <b:Value i:type="c:intstring" xmlns:c="http://www.w3.org/2001/XMLSchema">1<>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">$CODUSUARIO<>$CODCOLIGADA</b:Key>
        <b:Value i:type="c:stringint" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre<>1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL<>$CODTIPOCURSO</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1<>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  <a:ArrayOfanyType>
      <a:anyType i:type="b:shorti:nil="true" xmlns="http://www.totvs.com/" xmlns:ba="http://wwwschemas.w3.org/2001/XMLSchema">1</a:anyType>
      <a:anyType i:type="b:int" xmlns:bmicrosoft.com/2003/10/Serialization/Arrays" />
  <PrimaryKeyTableName i:nil="true" xmlns="http://www.w3totvs.orgcom/2001/XMLSchema">4< /a:anyType>>
  <AlunosAprovados    <a:anyType i:type="b:string" xmlns:bxmlns:a="http://www.w3totvs.org/2001com/XMLSchema">ES-00222</a:anyType>">
    </a:ArrayOfanyType><a:EduAprovadosPSItem z:Id="i3">
  </PrimaryKeyList>
   <PrimaryKeyNames xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<a:InternalId i:nil="true" />
      <a:string>CODCOLIGADA</a:string><Cartidentidade>1287302</Cartidentidade>
    <a:string>IDHABILITACAOFILIAL</a:string>
  <Classificacao>1</Classificacao>
      <a:string>RA</a:string>
  </PrimaryKeyNames>
  <MatricPLParams z:Id="i3"<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" />
    <CodColigada>1</CodColigada>
  <ResponsavelFinanceiro i:nil="true" <CodFilial>1</CodFilial>>
     <CodStatus>1</CodStatus> <Telefone1>30264311/882861</Telefone1>
    <CodTipoCurso>1<</CodTipoCurso>a:EduAprovadosPSItem>
  </AlunosAprovados>
  <CodTurma>TSI-2-032</CodTurma><Apresentacao>EnsinoSuperior</Apresentacao>
  <CadastraAlunoComoRespFinanc>false</CadastraAlunoComoRespFinanc>
  <CodUsuario>mestre<<CadastraContrato>false</CodUsuario>CadastraContrato>
    <DataMatricula>2018-09-19T07:44:41.625612-03:00</DataMatricula><CadastraResponsavelPSComoRespFinanc>false</CadastraResponsavelPSComoRespFinanc>
  <CodCampus  <Disciplinas>/>
  <CodColigada>1</CodColigada>
  <CodFilial>1</CodFilial>
  <EduMatriculaDiscParams><CodTipoCurso>3</CodTipoCurso>
  <CodigoTurma>T4BIO</CodigoTurma>
  <Contexto z:Ref="i2" />
  <CodColigada>1<<CotaFinal>0</CodColigada>
      CotaFinal>
  <CodFilial>1<<CotaInicial>0</CodFilial>CotaInicial>
  <DataIngresso i:nil="true" />
  <DtCompetenciaFinal>  <CodStatus>13</</CodStatus>DtCompetenciaFinal>
  <DtCompetenciaInicial>  /</DtCompetenciaInicial>
  <GerarLancamento>false</GerarLancamento>
  <CodTipoCurso>1<<HabilitacaoFilial>413</CodTipoCurso>HabilitacaoFilial>
  <IdAreaInteresse>10</IdAreaInteresse>
  <IdProcessoSeletivo>27</IdProcessoSeletivo>
  <IncluirListaEspera>false</IncluirListaEspera>
  <CodUsuario>mestre<<MatriculaOfertaOnline>false</CodUsuario>MatriculaOfertaOnline>
  <ParametrosPerfilUsuario z:Id="i4">
    <InternalId <DataMatricula>2018-09-24T12:58:13.7370737-03:00</DataMatricula>		
		<GerarLogMatricPL>false</GerarLogMatricPL>i:nil="true" xmlns="http://www.totvs.com/" />
    <CodColigada>1</CodColigada>
    <IdHabilitacaoFilial>4<<CodUsuario>mestre</IdHabilitacaoFilial>CodUsuario>
        <IdPerLet>27</IdPerLet><MatriculaAlunoComAtrasoBiblioteca>false</MatriculaAlunoComAtrasoBiblioteca>
    <MatriculaAlunoComDebitoBiblioteca>false</MatriculaAlunoComDebitoBiblioteca>
    <IdTurmaDisc>1128</IdTurmaDisc>
		<NumDiario>1</NumDiario><MatriculaAlunoInadimplente>true</MatriculaAlunoInadimplente>
    <MatriculaAlunoSemDocObrigatorios>false</MatriculaAlunoSemDocObrigatorios>
    <RA>ES-00226<<MatriculaAlunosComOcorrencia>false</RA>MatriculaAlunosComOcorrencia>
    <MatriculaComConflitoHorarios>true</MatriculaComConflitoHorarios>
    <TipoDisciplina>Normal<<MatriculaComConflitoPreReq>false</TipoDisciplina>MatriculaComConflitoPreReq>
    <MatriculaEmTurmaCheia>false</MatriculaEmTurmaCheia>
    <TipoMat>1<<MatriculaForaDoPeriodo>false</TipoMat>MatriculaForaDoPeriodo>
    <MatriculaSemMinCredPLetivo>true</MatriculaSemMinCredPLetivo>
  </EduMatriculaDiscParams>ParametrosPerfilUsuario>
  <ParcelaFinal>0</ParcelaFinal>
  <<ParcelaInicial>0</Disciplinas>ParcelaInicial>
    		<PeriodoLetivo>104</PeriodoLetivo>
  <PlanoPagamento i:nil="true" <GerarLog>true</GerarLog>>
  <SobrescreverDeficienciasAlunos>false</SobrescreverDeficienciasAlunos>
  <IdHabilitacaoFilial>4<<SobrescreverEnderecoAlunos>false</IdHabilitacaoFilial>SobrescreverEnderecoAlunos>
  <StatusMatricCurso>123</StatusMatricCurso>
  <IdPerLet>27<<StatusMatricDisciplinas>123</IdPerLet>StatusMatricDisciplinas>
  <StatusMatricPeriodoLetivo>123</StatusMatricPeriodoLetivo>
  <Periodo>1<<SubstituiRespFinanc>false</Periodo>SubstituiRespFinanc>
    <RA>ES-00222</RA><TipoEscolhaGerarRA>NaoMatricularGerarLog</TipoEscolhaGerarRA>
  <<TipoMatricula>7</MatricPLParams>TipoMatricula>
  <VincProvas <MatricularDisc>Nao</MatricularDisc>>
</EduMatriculaParamsProc>EduMatricAprovadosPSParamsProc>]]></tot:strXmlParams>
      </tot:ExecuteWithXmlParams>
   </soapenv:Body>
</soapenv:Envelope>

...