Service
Clique aqui para obter uma lista completa das operações.
EnviarEmail
Testar
Para testar a operação usando o protocolo HTTP POST, clique no botão 'Chamar'.SOAP 1.1
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /sendemail/Service.asmx HTTP/1.1
Host: www.fiscale.vc
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/EnviarEmail"
<?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>
<EnviarEmail xmlns="http://tempuri.org/">
<pDataSolicitacao>string</pDataSolicitacao>
<pSolicitante>string</pSolicitante>
<pEmailSolicitante>string</pEmailSolicitante>
<pTelefoneSolicitante>string</pTelefoneSolicitante>
<pDescricaoProblema>string</pDescricaoProblema>
<pTipo>string</pTipo>
<pLinkFotoAntes>string</pLinkFotoAntes>
<pLinkFotoDepois>string</pLinkFotoDepois>
<pIdSolicitacao>string</pIdSolicitacao>
<pIdAgrupamento>string</pIdAgrupamento>
<pDescricaoSolucao>string</pDescricaoSolucao>
<pMotivoRecusa>string</pMotivoRecusa>
<pLogoPrefeitura>string</pLogoPrefeitura>
<pTelefoneContato>string</pTelefoneContato>
<pNomePrefeitura>string</pNomePrefeitura>
</EnviarEmail>
</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>
<EnviarEmailResponse xmlns="http://tempuri.org/">
<EnviarEmailResult>string</EnviarEmailResult>
</EnviarEmailResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /sendemail/Service.asmx HTTP/1.1
Host: www.fiscale.vc
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>
<EnviarEmail xmlns="http://tempuri.org/">
<pDataSolicitacao>string</pDataSolicitacao>
<pSolicitante>string</pSolicitante>
<pEmailSolicitante>string</pEmailSolicitante>
<pTelefoneSolicitante>string</pTelefoneSolicitante>
<pDescricaoProblema>string</pDescricaoProblema>
<pTipo>string</pTipo>
<pLinkFotoAntes>string</pLinkFotoAntes>
<pLinkFotoDepois>string</pLinkFotoDepois>
<pIdSolicitacao>string</pIdSolicitacao>
<pIdAgrupamento>string</pIdAgrupamento>
<pDescricaoSolucao>string</pDescricaoSolucao>
<pMotivoRecusa>string</pMotivoRecusa>
<pLogoPrefeitura>string</pLogoPrefeitura>
<pTelefoneContato>string</pTelefoneContato>
<pNomePrefeitura>string</pNomePrefeitura>
</EnviarEmail>
</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>
<EnviarEmailResponse xmlns="http://tempuri.org/">
<EnviarEmailResult>string</EnviarEmailResult>
</EnviarEmailResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
A seguir é apresentado um exemplo de solicitação e de resposta HTTP GET. Os espaços reservados mostrados devem ser substituídos por valores reais.
GET /sendemail/Service.asmx/EnviarEmail?pDataSolicitacao=string&pSolicitante=string&pEmailSolicitante=string&pTelefoneSolicitante=string&pDescricaoProblema=string&pTipo=string&pLinkFotoAntes=string&pLinkFotoDepois=string&pIdSolicitacao=string&pIdAgrupamento=string&pDescricaoSolucao=string&pMotivoRecusa=string&pLogoPrefeitura=string&pTelefoneContato=string&pNomePrefeitura=string HTTP/1.1 Host: www.fiscale.vc
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
A seguir é apresentado um exemplo de solicitação e resposta HTTP POST. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /sendemail/Service.asmx/EnviarEmail HTTP/1.1 Host: www.fiscale.vc Content-Type: application/x-www-form-urlencoded Content-Length: length pDataSolicitacao=string&pSolicitante=string&pEmailSolicitante=string&pTelefoneSolicitante=string&pDescricaoProblema=string&pTipo=string&pLinkFotoAntes=string&pLinkFotoDepois=string&pIdSolicitacao=string&pIdAgrupamento=string&pDescricaoSolucao=string&pMotivoRecusa=string&pLogoPrefeitura=string&pTelefoneContato=string&pNomePrefeitura=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>