Funcionarios


Click here for a complete list of operations.

ExportarTreinamentoV1

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServices/Funcionarios.asmx HTTP/1.1
Host: implantacao.faponline.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ExportarTreinamentoV1"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ValidationSoapHeader xmlns="http://tempuri.org/">
      <Usuario>string</Usuario>
      <Senha>string</Senha>
    </ValidationSoapHeader>
  </soap:Header>
  <soap:Body>
    <ExportarTreinamentoV1 xmlns="http://tempuri.org/">
      <Cnpj>string</Cnpj>
      <Cpf>string</Cpf>
      <AnoRealizacao>int</AnoRealizacao>
    </ExportarTreinamentoV1>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ExportarTreinamentoV1Response xmlns="http://tempuri.org/">
      <ExportarTreinamentoV1Result>
        <SSOTreinamentoList>
          <Treinamento_Id>string</Treinamento_Id>
          <Treinamento_Cnpj>string</Treinamento_Cnpj>
          <Treinamento_DataInicio>string</Treinamento_DataInicio>
          <Treinamento_DataFim>string</Treinamento_DataFim>
          <Treinamento_DataVencimento>string</Treinamento_DataVencimento>
          <Treinamento_AplicaNota>string</Treinamento_AplicaNota>
          <Treinamento_NotaMinima>string</Treinamento_NotaMinima>
          <Treinamento_Status>string</Treinamento_Status>
          <Treinamento_OutroTreinamento_Tipo>string</Treinamento_OutroTreinamento_Tipo>
          <Treinamento_Departamento>string</Treinamento_Departamento>
          <Treinamento_ObjetivoGeral>string</Treinamento_ObjetivoGeral>
          <Treinamento_Sala>string</Treinamento_Sala>
          <Treinamento_HoraInicial>string</Treinamento_HoraInicial>
          <Treinamento_HoraFinal>string</Treinamento_HoraFinal>
          <Treinamento_Modalidade>string</Treinamento_Modalidade>
          <Treinamento_Tipo>string</Treinamento_Tipo>
          <Treinamento_Observacao>string</Treinamento_Observacao>
          <Treinamento_OutroEmprego>string</Treinamento_OutroEmprego>
          <Treinamento_Reciclagem>string</Treinamento_Reciclagem>
          <Treinamento_RecursoProprio>string</Treinamento_RecursoProprio>
          <Treinamento_EnviarESocial>string</Treinamento_EnviarESocial>
          <TipoTreinamento>
            <SSOTipoTreinamento xsi:nil="true" />
            <SSOTipoTreinamento xsi:nil="true" />
          </TipoTreinamento>
          <ConteudoProgramatico>
            <SSOConteudoProgramatico xsi:nil="true" />
            <SSOConteudoProgramatico xsi:nil="true" />
          </ConteudoProgramatico>
          <Instrutor>
            <SSOInstrutor xsi:nil="true" />
            <SSOInstrutor xsi:nil="true" />
          </Instrutor>
          <Participante>
            <SSOParticipante xsi:nil="true" />
            <SSOParticipante xsi:nil="true" />
          </Participante>
          <Retorno>
            <retornoSucesso xsi:nil="true" />
            <retornoErro xsi:nil="true" />
          </Retorno>
        </SSOTreinamentoList>
        <SSOTreinamentoList>
          <Treinamento_Id>string</Treinamento_Id>
          <Treinamento_Cnpj>string</Treinamento_Cnpj>
          <Treinamento_DataInicio>string</Treinamento_DataInicio>
          <Treinamento_DataFim>string</Treinamento_DataFim>
          <Treinamento_DataVencimento>string</Treinamento_DataVencimento>
          <Treinamento_AplicaNota>string</Treinamento_AplicaNota>
          <Treinamento_NotaMinima>string</Treinamento_NotaMinima>
          <Treinamento_Status>string</Treinamento_Status>
          <Treinamento_OutroTreinamento_Tipo>string</Treinamento_OutroTreinamento_Tipo>
          <Treinamento_Departamento>string</Treinamento_Departamento>
          <Treinamento_ObjetivoGeral>string</Treinamento_ObjetivoGeral>
          <Treinamento_Sala>string</Treinamento_Sala>
          <Treinamento_HoraInicial>string</Treinamento_HoraInicial>
          <Treinamento_HoraFinal>string</Treinamento_HoraFinal>
          <Treinamento_Modalidade>string</Treinamento_Modalidade>
          <Treinamento_Tipo>string</Treinamento_Tipo>
          <Treinamento_Observacao>string</Treinamento_Observacao>
          <Treinamento_OutroEmprego>string</Treinamento_OutroEmprego>
          <Treinamento_Reciclagem>string</Treinamento_Reciclagem>
          <Treinamento_RecursoProprio>string</Treinamento_RecursoProprio>
          <Treinamento_EnviarESocial>string</Treinamento_EnviarESocial>
          <TipoTreinamento>
            <SSOTipoTreinamento xsi:nil="true" />
            <SSOTipoTreinamento xsi:nil="true" />
          </TipoTreinamento>
          <ConteudoProgramatico>
            <SSOConteudoProgramatico xsi:nil="true" />
            <SSOConteudoProgramatico xsi:nil="true" />
          </ConteudoProgramatico>
          <Instrutor>
            <SSOInstrutor xsi:nil="true" />
            <SSOInstrutor xsi:nil="true" />
          </Instrutor>
          <Participante>
            <SSOParticipante xsi:nil="true" />
            <SSOParticipante xsi:nil="true" />
          </Participante>
          <Retorno>
            <retornoSucesso xsi:nil="true" />
            <retornoErro xsi:nil="true" />
          </Retorno>
        </SSOTreinamentoList>
      </ExportarTreinamentoV1Result>
    </ExportarTreinamentoV1Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServices/Funcionarios.asmx HTTP/1.1
Host: implantacao.faponline.com.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <ValidationSoapHeader xmlns="http://tempuri.org/">
      <Usuario>string</Usuario>
      <Senha>string</Senha>
    </ValidationSoapHeader>
  </soap12:Header>
  <soap12:Body>
    <ExportarTreinamentoV1 xmlns="http://tempuri.org/">
      <Cnpj>string</Cnpj>
      <Cpf>string</Cpf>
      <AnoRealizacao>int</AnoRealizacao>
    </ExportarTreinamentoV1>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ExportarTreinamentoV1Response xmlns="http://tempuri.org/">
      <ExportarTreinamentoV1Result>
        <SSOTreinamentoList>
          <Treinamento_Id>string</Treinamento_Id>
          <Treinamento_Cnpj>string</Treinamento_Cnpj>
          <Treinamento_DataInicio>string</Treinamento_DataInicio>
          <Treinamento_DataFim>string</Treinamento_DataFim>
          <Treinamento_DataVencimento>string</Treinamento_DataVencimento>
          <Treinamento_AplicaNota>string</Treinamento_AplicaNota>
          <Treinamento_NotaMinima>string</Treinamento_NotaMinima>
          <Treinamento_Status>string</Treinamento_Status>
          <Treinamento_OutroTreinamento_Tipo>string</Treinamento_OutroTreinamento_Tipo>
          <Treinamento_Departamento>string</Treinamento_Departamento>
          <Treinamento_ObjetivoGeral>string</Treinamento_ObjetivoGeral>
          <Treinamento_Sala>string</Treinamento_Sala>
          <Treinamento_HoraInicial>string</Treinamento_HoraInicial>
          <Treinamento_HoraFinal>string</Treinamento_HoraFinal>
          <Treinamento_Modalidade>string</Treinamento_Modalidade>
          <Treinamento_Tipo>string</Treinamento_Tipo>
          <Treinamento_Observacao>string</Treinamento_Observacao>
          <Treinamento_OutroEmprego>string</Treinamento_OutroEmprego>
          <Treinamento_Reciclagem>string</Treinamento_Reciclagem>
          <Treinamento_RecursoProprio>string</Treinamento_RecursoProprio>
          <Treinamento_EnviarESocial>string</Treinamento_EnviarESocial>
          <TipoTreinamento>
            <SSOTipoTreinamento xsi:nil="true" />
            <SSOTipoTreinamento xsi:nil="true" />
          </TipoTreinamento>
          <ConteudoProgramatico>
            <SSOConteudoProgramatico xsi:nil="true" />
            <SSOConteudoProgramatico xsi:nil="true" />
          </ConteudoProgramatico>
          <Instrutor>
            <SSOInstrutor xsi:nil="true" />
            <SSOInstrutor xsi:nil="true" />
          </Instrutor>
          <Participante>
            <SSOParticipante xsi:nil="true" />
            <SSOParticipante xsi:nil="true" />
          </Participante>
          <Retorno>
            <retornoSucesso xsi:nil="true" />
            <retornoErro xsi:nil="true" />
          </Retorno>
        </SSOTreinamentoList>
        <SSOTreinamentoList>
          <Treinamento_Id>string</Treinamento_Id>
          <Treinamento_Cnpj>string</Treinamento_Cnpj>
          <Treinamento_DataInicio>string</Treinamento_DataInicio>
          <Treinamento_DataFim>string</Treinamento_DataFim>
          <Treinamento_DataVencimento>string</Treinamento_DataVencimento>
          <Treinamento_AplicaNota>string</Treinamento_AplicaNota>
          <Treinamento_NotaMinima>string</Treinamento_NotaMinima>
          <Treinamento_Status>string</Treinamento_Status>
          <Treinamento_OutroTreinamento_Tipo>string</Treinamento_OutroTreinamento_Tipo>
          <Treinamento_Departamento>string</Treinamento_Departamento>
          <Treinamento_ObjetivoGeral>string</Treinamento_ObjetivoGeral>
          <Treinamento_Sala>string</Treinamento_Sala>
          <Treinamento_HoraInicial>string</Treinamento_HoraInicial>
          <Treinamento_HoraFinal>string</Treinamento_HoraFinal>
          <Treinamento_Modalidade>string</Treinamento_Modalidade>
          <Treinamento_Tipo>string</Treinamento_Tipo>
          <Treinamento_Observacao>string</Treinamento_Observacao>
          <Treinamento_OutroEmprego>string</Treinamento_OutroEmprego>
          <Treinamento_Reciclagem>string</Treinamento_Reciclagem>
          <Treinamento_RecursoProprio>string</Treinamento_RecursoProprio>
          <Treinamento_EnviarESocial>string</Treinamento_EnviarESocial>
          <TipoTreinamento>
            <SSOTipoTreinamento xsi:nil="true" />
            <SSOTipoTreinamento xsi:nil="true" />
          </TipoTreinamento>
          <ConteudoProgramatico>
            <SSOConteudoProgramatico xsi:nil="true" />
            <SSOConteudoProgramatico xsi:nil="true" />
          </ConteudoProgramatico>
          <Instrutor>
            <SSOInstrutor xsi:nil="true" />
            <SSOInstrutor xsi:nil="true" />
          </Instrutor>
          <Participante>
            <SSOParticipante xsi:nil="true" />
            <SSOParticipante xsi:nil="true" />
          </Participante>
          <Retorno>
            <retornoSucesso xsi:nil="true" />
            <retornoErro xsi:nil="true" />
          </Retorno>
        </SSOTreinamentoList>
      </ExportarTreinamentoV1Result>
    </ExportarTreinamentoV1Response>
  </soap12:Body>
</soap12:Envelope>