EvaluateText

Obtém o valor resolvido de uma expressão.

Disponível no Web Service CAPRequests.asmx

Parâmetros

  • contextRequestId [Integer]: ID da solicitação.

  • expression [String]: Expressão do CAP a ser resolvida.

Obs. Neste caso a expressão deve incluir as chaves e a palavra expression.

( {Expression: } )

Exemplo de Solicitação/Resposta SOAP (v1.2)

POST /Services/CAPRequests.asmx HTTP/1.1
Host: qa.capworkflow.com
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>
<EvaluateText xmlns="http://iteris.cap.webservices">
<contextRequestId>int</contextRequestId>
<expression>string</expression>
</EvaluateText>
</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>
<EvaluateTextResponse xmlns="http://iteris.cap.webservices">
<EvaluateTextResult>string</EvaluateTextResult>
</EvaluateTextResponse>
</soap12:Body>
</soap12:Envelope>

Encontrou a sua resposta?