ValutecWS


Click here for a complete list of operations.

SurveyAnswers_Set

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ClientKey:
CardNumber:
Answer1:
Answer2:
Answer3:
Answer4:
Answer5:
Answer6:
Answer7:
Answer8:
Answer9:
Answer10:

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 /Valutec.asmx HTTP/1.1
Host: uat-ws.valutec.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws.valutec.net/SurveyAnswers_Set"

<?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>
    <SurveyAnswers_Set xmlns="https://ws.valutec.net/">
      <ClientKey>string</ClientKey>
      <CardNumber>string</CardNumber>
      <Answer1>string</Answer1>
      <Answer2>string</Answer2>
      <Answer3>string</Answer3>
      <Answer4>string</Answer4>
      <Answer5>string</Answer5>
      <Answer6>string</Answer6>
      <Answer7>string</Answer7>
      <Answer8>string</Answer8>
      <Answer9>string</Answer9>
      <Answer10>string</Answer10>
    </SurveyAnswers_Set>
  </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>
    <SurveyAnswers_SetResponse xmlns="https://ws.valutec.net/">
      <SurveyAnswers_SetResult>
        <Authorized>boolean</Authorized>
        <ErrMessage>string</ErrMessage>
        <CardNumber>string</CardNumber>
        <Action>string</Action>
        <Answer1>string</Answer1>
        <Answer2>string</Answer2>
        <Answer3>string</Answer3>
        <Answer4>string</Answer4>
        <Answer5>string</Answer5>
        <Answer6>string</Answer6>
        <Answer7>string</Answer7>
        <Answer8>string</Answer8>
        <Answer9>string</Answer9>
        <Answer10>string</Answer10>
      </SurveyAnswers_SetResult>
    </SurveyAnswers_SetResponse>
  </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 /Valutec.asmx HTTP/1.1
Host: uat-ws.valutec.net
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>
    <SurveyAnswers_Set xmlns="https://ws.valutec.net/">
      <ClientKey>string</ClientKey>
      <CardNumber>string</CardNumber>
      <Answer1>string</Answer1>
      <Answer2>string</Answer2>
      <Answer3>string</Answer3>
      <Answer4>string</Answer4>
      <Answer5>string</Answer5>
      <Answer6>string</Answer6>
      <Answer7>string</Answer7>
      <Answer8>string</Answer8>
      <Answer9>string</Answer9>
      <Answer10>string</Answer10>
    </SurveyAnswers_Set>
  </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>
    <SurveyAnswers_SetResponse xmlns="https://ws.valutec.net/">
      <SurveyAnswers_SetResult>
        <Authorized>boolean</Authorized>
        <ErrMessage>string</ErrMessage>
        <CardNumber>string</CardNumber>
        <Action>string</Action>
        <Answer1>string</Answer1>
        <Answer2>string</Answer2>
        <Answer3>string</Answer3>
        <Answer4>string</Answer4>
        <Answer5>string</Answer5>
        <Answer6>string</Answer6>
        <Answer7>string</Answer7>
        <Answer8>string</Answer8>
        <Answer9>string</Answer9>
        <Answer10>string</Answer10>
      </SurveyAnswers_SetResult>
    </SurveyAnswers_SetResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /Valutec.asmx/SurveyAnswers_Set?ClientKey=string&CardNumber=string&Answer1=string&Answer2=string&Answer3=string&Answer4=string&Answer5=string&Answer6=string&Answer7=string&Answer8=string&Answer9=string&Answer10=string HTTP/1.1
Host: uat-ws.valutec.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SurveyResponse xmlns="https://ws.valutec.net/">
  <Authorized>boolean</Authorized>
  <ErrMessage>string</ErrMessage>
  <CardNumber>string</CardNumber>
  <Action>string</Action>
  <Answer1>string</Answer1>
  <Answer2>string</Answer2>
  <Answer3>string</Answer3>
  <Answer4>string</Answer4>
  <Answer5>string</Answer5>
  <Answer6>string</Answer6>
  <Answer7>string</Answer7>
  <Answer8>string</Answer8>
  <Answer9>string</Answer9>
  <Answer10>string</Answer10>
</SurveyResponse>

HTTP POST

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

POST /Valutec.asmx/SurveyAnswers_Set HTTP/1.1
Host: uat-ws.valutec.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ClientKey=string&CardNumber=string&Answer1=string&Answer2=string&Answer3=string&Answer4=string&Answer5=string&Answer6=string&Answer7=string&Answer8=string&Answer9=string&Answer10=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SurveyResponse xmlns="https://ws.valutec.net/">
  <Authorized>boolean</Authorized>
  <ErrMessage>string</ErrMessage>
  <CardNumber>string</CardNumber>
  <Action>string</Action>
  <Answer1>string</Answer1>
  <Answer2>string</Answer2>
  <Answer3>string</Answer3>
  <Answer4>string</Answer4>
  <Answer5>string</Answer5>
  <Answer6>string</Answer6>
  <Answer7>string</Answer7>
  <Answer8>string</Answer8>
  <Answer9>string</Answer9>
  <Answer10>string</Answer10>
</SurveyResponse>