Web Service de Integração SITX9

Click here for a complete list of operations.

Set_AlteraCondutorV2

Método para Inserir/Alterar os dados do Condutor V2 (Novo)

Test

The test form is not available with struct, array or byref parameter types. Please use a SOAP 1.1 or 1.2 compliant client program for testing of your web service.

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 /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Set_AlteraCondutorV2 xmlns="http://tempuri.org/">
      <Login>
        <sUserName>string</sUserName>
        <sPassWord>string</sPassWord>
        <sToken>string</sToken>
      </Login>
      <DadosAC>
        <sCd_CnpjUnidNeg>string</sCd_CnpjUnidNeg>
        <sNo_CpfCondutor>string</sNo_CpfCondutor>
        <sId_AutoInclusao>string</sId_AutoInclusao>
        <DadosCondutor>
          <sNm_Condutor>string</sNm_Condutor>
          <sAb_Condutor>string</sAb_Condutor>
          <sNo_CNH>string</sNo_CNH>
          <dDt_ValidadeCNH>date</dDt_ValidadeCNH>
          <sId_CategoriaCNH>string</sId_CategoriaCNH>
          <sTp_Identidade>string</sTp_Identidade>
          <sNo_Identidade>string</sNo_Identidade>
          <sSg_OrgaoExpedIdentidade>string</sSg_OrgaoExpedIdentidade>
          <dDt_EmissaoIdentidade>date</dDt_EmissaoIdentidade>
          <sId_VinculoEmpreg>string</sId_VinculoEmpreg>
          <iCd_CEP>int</iCd_CEP>
          <sNm_Logradouro>string</sNm_Logradouro>
          <sNo_Logradouro>string</sNo_Logradouro>
          <sCp_Logradouro>string</sCp_Logradouro>
          <sNm_Bairro>string</sNm_Bairro>
          <sCd_Municipio>string</sCd_Municipio>
          <sCd_Latitude>string</sCd_Latitude>
          <sCd_Longitude>string</sCd_Longitude>
          <sDc_Obs>string</sDc_Obs>
          <dDt_InterrupAtivid>date</dDt_InterrupAtivid>
          <sCd_SegCentralMonit>string</sCd_SegCentralMonit>
          <sNm_Mae>string</sNm_Mae>
          <sNm_Pai>string</sNm_Pai>
          <dDt_Nascimento>date</dDt_Nascimento>
          <sCd_MunNatural>string</sCd_MunNatural>
          <sId_EstadoCivil>string</sId_EstadoCivil>
          <sId_Sexo>string</sId_Sexo>
          <sCd_SegurancaCNH>string</sCd_SegurancaCNH>
          <sUF_SegurancaCNH>string</sUF_SegurancaCNH>
          <sCd_MOP>string</sCd_MOP>
          <dDt_ValidadeMOP>date</dDt_ValidadeMOP>
        </DadosCondutor>
        <DadosCondutorCnt>
          <stDadosCondutorCnt>
            <iCd_DDD>int</iCd_DDD>
            <sNo_TelContato>string</sNo_TelContato>
            <sId_TipoTelefone>string</sId_TipoTelefone>
            <sId_Propriedade>string</sId_Propriedade>
            <iCd_OperTelefonia>int</iCd_OperTelefonia>
            <sNm_PessoaCnt>string</sNm_PessoaCnt>
          </stDadosCondutorCnt>
          <stDadosCondutorCnt>
            <iCd_DDD>int</iCd_DDD>
            <sNo_TelContato>string</sNo_TelContato>
            <sId_TipoTelefone>string</sId_TipoTelefone>
            <sId_Propriedade>string</sId_Propriedade>
            <iCd_OperTelefonia>int</iCd_OperTelefonia>
            <sNm_PessoaCnt>string</sNm_PessoaCnt>
          </stDadosCondutorCnt>
        </DadosCondutorCnt>
        <DadosPerfSecCondutor>
          <iCd_FornecPerfSec>int</iCd_FornecPerfSec>
          <sId_VincCondutorPS>string</sId_VincCondutorPS>
          <sCd_PesquisaPS>string</sCd_PesquisaPS>
          <dDt_PesquisaPS>date</dDt_PesquisaPS>
          <dDt_ValidadePS>date</dDt_ValidadePS>
        </DadosPerfSecCondutor>
        <ListaDocumentos>
          <stDocumento>
            <sTipo>string</sTipo>
            <sLink>string</sLink>
          </stDocumento>
          <stDocumento>
            <sTipo>string</sTipo>
            <sLink>string</sLink>
          </stDocumento>
        </ListaDocumentos>
      </DadosAC>
    </Set_AlteraCondutorV2>
  </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:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Set_AlteraCondutorV2Response xmlns="http://tempuri.org/">
      <Set_AlteraCondutorV2Result>
        <Retorno>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
        </Retorno>
      </Set_AlteraCondutorV2Result>
    </Set_AlteraCondutorV2Response>
  </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 /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Set_AlteraCondutorV2 xmlns="http://tempuri.org/">
      <Login>
        <sUserName>string</sUserName>
        <sPassWord>string</sPassWord>
        <sToken>string</sToken>
      </Login>
      <DadosAC>
        <sCd_CnpjUnidNeg>string</sCd_CnpjUnidNeg>
        <sNo_CpfCondutor>string</sNo_CpfCondutor>
        <sId_AutoInclusao>string</sId_AutoInclusao>
        <DadosCondutor>
          <sNm_Condutor>string</sNm_Condutor>
          <sAb_Condutor>string</sAb_Condutor>
          <sNo_CNH>string</sNo_CNH>
          <dDt_ValidadeCNH>date</dDt_ValidadeCNH>
          <sId_CategoriaCNH>string</sId_CategoriaCNH>
          <sTp_Identidade>string</sTp_Identidade>
          <sNo_Identidade>string</sNo_Identidade>
          <sSg_OrgaoExpedIdentidade>string</sSg_OrgaoExpedIdentidade>
          <dDt_EmissaoIdentidade>date</dDt_EmissaoIdentidade>
          <sId_VinculoEmpreg>string</sId_VinculoEmpreg>
          <iCd_CEP>int</iCd_CEP>
          <sNm_Logradouro>string</sNm_Logradouro>
          <sNo_Logradouro>string</sNo_Logradouro>
          <sCp_Logradouro>string</sCp_Logradouro>
          <sNm_Bairro>string</sNm_Bairro>
          <sCd_Municipio>string</sCd_Municipio>
          <sCd_Latitude>string</sCd_Latitude>
          <sCd_Longitude>string</sCd_Longitude>
          <sDc_Obs>string</sDc_Obs>
          <dDt_InterrupAtivid>date</dDt_InterrupAtivid>
          <sCd_SegCentralMonit>string</sCd_SegCentralMonit>
          <sNm_Mae>string</sNm_Mae>
          <sNm_Pai>string</sNm_Pai>
          <dDt_Nascimento>date</dDt_Nascimento>
          <sCd_MunNatural>string</sCd_MunNatural>
          <sId_EstadoCivil>string</sId_EstadoCivil>
          <sId_Sexo>string</sId_Sexo>
          <sCd_SegurancaCNH>string</sCd_SegurancaCNH>
          <sUF_SegurancaCNH>string</sUF_SegurancaCNH>
          <sCd_MOP>string</sCd_MOP>
          <dDt_ValidadeMOP>date</dDt_ValidadeMOP>
        </DadosCondutor>
        <DadosCondutorCnt>
          <stDadosCondutorCnt>
            <iCd_DDD>int</iCd_DDD>
            <sNo_TelContato>string</sNo_TelContato>
            <sId_TipoTelefone>string</sId_TipoTelefone>
            <sId_Propriedade>string</sId_Propriedade>
            <iCd_OperTelefonia>int</iCd_OperTelefonia>
            <sNm_PessoaCnt>string</sNm_PessoaCnt>
          </stDadosCondutorCnt>
          <stDadosCondutorCnt>
            <iCd_DDD>int</iCd_DDD>
            <sNo_TelContato>string</sNo_TelContato>
            <sId_TipoTelefone>string</sId_TipoTelefone>
            <sId_Propriedade>string</sId_Propriedade>
            <iCd_OperTelefonia>int</iCd_OperTelefonia>
            <sNm_PessoaCnt>string</sNm_PessoaCnt>
          </stDadosCondutorCnt>
        </DadosCondutorCnt>
        <DadosPerfSecCondutor>
          <iCd_FornecPerfSec>int</iCd_FornecPerfSec>
          <sId_VincCondutorPS>string</sId_VincCondutorPS>
          <sCd_PesquisaPS>string</sCd_PesquisaPS>
          <dDt_PesquisaPS>date</dDt_PesquisaPS>
          <dDt_ValidadePS>date</dDt_ValidadePS>
        </DadosPerfSecCondutor>
        <ListaDocumentos>
          <stDocumento>
            <sTipo>string</sTipo>
            <sLink>string</sLink>
          </stDocumento>
          <stDocumento>
            <sTipo>string</sTipo>
            <sLink>string</sLink>
          </stDocumento>
        </ListaDocumentos>
      </DadosAC>
    </Set_AlteraCondutorV2>
  </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:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Set_AlteraCondutorV2Response xmlns="http://tempuri.org/">
      <Set_AlteraCondutorV2Result>
        <Retorno>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
        </Retorno>
      </Set_AlteraCondutorV2Result>
    </Set_AlteraCondutorV2Response>
  </soap12:Body>
</soap12:Envelope>

JSON

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

POST /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: application/json; charset=utf-8
Content-Length: length
{
   "Login":
   {
     "sUserName": string
     "sPassWord": string
     "sToken": string
   }
   "DadosAC":
   {
     "sCd_CnpjUnidNeg": string
     "sNo_CpfCondutor": string
     "sId_AutoInclusao": string
     "DadosCondutor":
     {
       "sNm_Condutor": string
       "sAb_Condutor": string
       "sNo_CNH": string
       "dDt_ValidadeCNH": date
       "sId_CategoriaCNH": string
       "sTp_Identidade": string
       "sNo_Identidade": string
       "sSg_OrgaoExpedIdentidade": string
       "dDt_EmissaoIdentidade": date
       "sId_VinculoEmpreg": string
       "iCd_CEP": int
       "sNm_Logradouro": string
       "sNo_Logradouro": string
       "sCp_Logradouro": string
       "sNm_Bairro": string
       "sCd_Municipio": string
       "sCd_Latitude": string
       "sCd_Longitude": string
       "sDc_Obs": string
       "dDt_InterrupAtivid": date
       "sCd_SegCentralMonit": string
       "sNm_Mae": string
       "sNm_Pai": string
       "dDt_Nascimento": date
       "sCd_MunNatural": string
       "sId_EstadoCivil": string
       "sId_Sexo": string
       "sCd_SegurancaCNH": string
       "sUF_SegurancaCNH": string
       "sCd_MOP": string
       "dDt_ValidadeMOP": date
     }
     "DadosCondutorCnt":
     [
       {         
         "iCd_DDD": int
         "sNo_TelContato": string
         "sId_TipoTelefone": string
         "sId_Propriedade": string
         "iCd_OperTelefonia": int
         "sNm_PessoaCnt": string
       },
       {         
         "iCd_DDD": int
         "sNo_TelContato": string
         "sId_TipoTelefone": string
         "sId_Propriedade": string
         "iCd_OperTelefonia": int
         "sNm_PessoaCnt": string
       }
     ]
     "DadosPerfSecCondutor":
     {
       "iCd_FornecPerfSec": int
       "sId_VincCondutorPS": string
       "sCd_PesquisaPS": string
       "dDt_PesquisaPS": date
       "dDt_ValidadePS": date
     }
     "ListaDocumentos":
     [
       {         
         "sTipo": string
         "sLink": string
       },
       {         
         "sTipo": string
         "sLink": string
       }
     ]
   }
}

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{

   "Retorno":
   [
     {       
       "sCode": string
       "sResult": string
     },
     {       
       "sCode": string
       "sResult": string
     }
   ]
}