Web Service de Integração SITX9
Click
here
for a complete list of operations.
Set_SolicitaPerfSecuritario
Método para Fazer Solicitação de Perfil SecuritárioTest
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: vader.streamsoft.com.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_SolicitaPerfSecuritario xmlns="http://tempuri.org/">
<Login>
<sUserName>string</sUserName>
<sPassWord>string</sPassWord>
<sToken>string</sToken>
</Login>
<DadosPerfSecur>
<sCd_CnpjUnidNeg>string</sCd_CnpjUnidNeg>
<sSolicitaPerfSec>string</sSolicitaPerfSec>
<iCd_Registro>int</iCd_Registro>
<sTipoCPF>string</sTipoCPF>
<sCPF>string</sCPF>
<DocsCPF>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCPF>
<sReferenciasCPF>string</sReferenciasCPF>
<sCd_Placa>string</sCd_Placa>
<DocsVeiculo>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsVeiculo>
<sCd_PlacaCarreta1>string</sCd_PlacaCarreta1>
<DocsCarreta1>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta1>
<sCd_PlacaCarreta2>string</sCd_PlacaCarreta2>
<DocsCarreta2>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta2>
<sCd_PlacaCarreta3>string</sCd_PlacaCarreta3>
<DocsCarreta3>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta3>
<InfoViagem>
<sCd_MunicipioOrigem>string</sCd_MunicipioOrigem>
<sCd_MunicipioDestino>string</sCd_MunicipioDestino>
<sNm_Produto>string</sNm_Produto>
<nVl_Carga>decimal</nVl_Carga>
</InfoViagem>
</DadosPerfSecur>
</Set_SolicitaPerfSecuritario>
</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_SolicitaPerfSecuritarioResponse xmlns="http://tempuri.org/">
<Set_SolicitaPerfSecuritarioResult>
<iCd_Registro>int</iCd_Registro>
<sStatus>string</sStatus>
<sCd_PerfSecur>string</sCd_PerfSecur>
<dtValidade>dateTime</dtValidade>
<ItensPerfSecur>
<stItensPerfSecur>
<sItem>string</sItem>
<sResultado>string</sResultado>
</stItensPerfSecur>
<stItensPerfSecur>
<sItem>string</sItem>
<sResultado>string</sResultado>
</stItensPerfSecur>
</ItensPerfSecur>
<Retorno>
<stResult>
<sCode>string</sCode>
<sResult>string</sResult>
</stResult>
<stResult>
<sCode>string</sCode>
<sResult>string</sResult>
</stResult>
</Retorno>
</Set_SolicitaPerfSecuritarioResult>
</Set_SolicitaPerfSecuritarioResponse>
</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: vader.streamsoft.com.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_SolicitaPerfSecuritario xmlns="http://tempuri.org/">
<Login>
<sUserName>string</sUserName>
<sPassWord>string</sPassWord>
<sToken>string</sToken>
</Login>
<DadosPerfSecur>
<sCd_CnpjUnidNeg>string</sCd_CnpjUnidNeg>
<sSolicitaPerfSec>string</sSolicitaPerfSec>
<iCd_Registro>int</iCd_Registro>
<sTipoCPF>string</sTipoCPF>
<sCPF>string</sCPF>
<DocsCPF>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCPF>
<sReferenciasCPF>string</sReferenciasCPF>
<sCd_Placa>string</sCd_Placa>
<DocsVeiculo>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsVeiculo>
<sCd_PlacaCarreta1>string</sCd_PlacaCarreta1>
<DocsCarreta1>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta1>
<sCd_PlacaCarreta2>string</sCd_PlacaCarreta2>
<DocsCarreta2>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta2>
<sCd_PlacaCarreta3>string</sCd_PlacaCarreta3>
<DocsCarreta3>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
<stDocsPerfSec>
<sTipo>string</sTipo>
<sLink>string</sLink>
</stDocsPerfSec>
</DocsCarreta3>
<InfoViagem>
<sCd_MunicipioOrigem>string</sCd_MunicipioOrigem>
<sCd_MunicipioDestino>string</sCd_MunicipioDestino>
<sNm_Produto>string</sNm_Produto>
<nVl_Carga>decimal</nVl_Carga>
</InfoViagem>
</DadosPerfSecur>
</Set_SolicitaPerfSecuritario>
</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_SolicitaPerfSecuritarioResponse xmlns="http://tempuri.org/">
<Set_SolicitaPerfSecuritarioResult>
<iCd_Registro>int</iCd_Registro>
<sStatus>string</sStatus>
<sCd_PerfSecur>string</sCd_PerfSecur>
<dtValidade>dateTime</dtValidade>
<ItensPerfSecur>
<stItensPerfSecur>
<sItem>string</sItem>
<sResultado>string</sResultado>
</stItensPerfSecur>
<stItensPerfSecur>
<sItem>string</sItem>
<sResultado>string</sResultado>
</stItensPerfSecur>
</ItensPerfSecur>
<Retorno>
<stResult>
<sCode>string</sCode>
<sResult>string</sResult>
</stResult>
<stResult>
<sCode>string</sCode>
<sResult>string</sResult>
</stResult>
</Retorno>
</Set_SolicitaPerfSecuritarioResult>
</Set_SolicitaPerfSecuritarioResponse>
</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: vader.streamsoft.com.br
Content-Type: application/json; charset=utf-8
Content-Length: length
{
"Login":
{
"sUserName":
string
"sPassWord":
string
"sToken":
string
}
"DadosPerfSecur":
{
"sCd_CnpjUnidNeg":
string
"sSolicitaPerfSec":
string
"iCd_Registro":
int
"sTipoCPF":
string
"sCPF":
string
"DocsCPF":
[
{
"sTipo":
string
"sLink":
string
},
{
"sTipo":
string
"sLink":
string
}
]
"sReferenciasCPF":
string
"sCd_Placa":
string
"DocsVeiculo":
[
{
"sTipo":
string
"sLink":
string
},
{
"sTipo":
string
"sLink":
string
}
]
"sCd_PlacaCarreta1":
string
"DocsCarreta1":
[
{
"sTipo":
string
"sLink":
string
},
{
"sTipo":
string
"sLink":
string
}
]
"sCd_PlacaCarreta2":
string
"DocsCarreta2":
[
{
"sTipo":
string
"sLink":
string
},
{
"sTipo":
string
"sLink":
string
}
]
"sCd_PlacaCarreta3":
string
"DocsCarreta3":
[
{
"sTipo":
string
"sLink":
string
},
{
"sTipo":
string
"sLink":
string
}
]
"InfoViagem":
{
"sCd_MunicipioOrigem":
string
"sCd_MunicipioDestino":
string
"sNm_Produto":
string
"nVl_Carga":
decimal
}
}
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length
{
"iCd_Registro":
int
"sStatus":
string
"sCd_PerfSecur":
string
"dtValidade":
dateTime
"ItensPerfSecur":
[
{
"sItem":
string
"sResultado":
string
},
{
"sItem":
string
"sResultado":
string
}
]
"Retorno":
[
{
"sCode":
string
"sResult":
string
},
{
"sCode":
string
"sResult":
string
}
]
}