WebMethods


Click here for a complete list of operations.

SavePoll

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Question:
Option1:
Option2:
Option3:
Option4:
Taget_Audiance_All:
Taget_Audiance_Specific:
Taget_Aud_Company:
Taget_Aud_Branch:
Taget_Aud_Dept:
Taget_Aud_Desg:
Taget_Aud_Gender:
PollValidityInDays:
EmpCode:
CompnayCode:
ClientCode:
str:

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 /WebMethods.asmx HTTP/1.1
Host: paywellws.bphoenix.co.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Paywellws.bphoenix.co.in/SavePoll"

<?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>
    <SavePoll xmlns="http://Paywellws.bphoenix.co.in/">
      <Question>string</Question>
      <Option1>string</Option1>
      <Option2>string</Option2>
      <Option3>string</Option3>
      <Option4>string</Option4>
      <Taget_Audiance_All>int</Taget_Audiance_All>
      <Taget_Audiance_Specific>int</Taget_Audiance_Specific>
      <Taget_Aud_Company>string</Taget_Aud_Company>
      <Taget_Aud_Branch>string</Taget_Aud_Branch>
      <Taget_Aud_Dept>string</Taget_Aud_Dept>
      <Taget_Aud_Desg>string</Taget_Aud_Desg>
      <Taget_Aud_Gender>string</Taget_Aud_Gender>
      <PollValidityInDays>int</PollValidityInDays>
      <EmpCode>string</EmpCode>
      <CompnayCode>string</CompnayCode>
      <ClientCode>string</ClientCode>
      <str>string</str>
    </SavePoll>
  </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>
    <SavePollResponse xmlns="http://Paywellws.bphoenix.co.in/" />
  </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 /WebMethods.asmx HTTP/1.1
Host: paywellws.bphoenix.co.in
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>
    <SavePoll xmlns="http://Paywellws.bphoenix.co.in/">
      <Question>string</Question>
      <Option1>string</Option1>
      <Option2>string</Option2>
      <Option3>string</Option3>
      <Option4>string</Option4>
      <Taget_Audiance_All>int</Taget_Audiance_All>
      <Taget_Audiance_Specific>int</Taget_Audiance_Specific>
      <Taget_Aud_Company>string</Taget_Aud_Company>
      <Taget_Aud_Branch>string</Taget_Aud_Branch>
      <Taget_Aud_Dept>string</Taget_Aud_Dept>
      <Taget_Aud_Desg>string</Taget_Aud_Desg>
      <Taget_Aud_Gender>string</Taget_Aud_Gender>
      <PollValidityInDays>int</PollValidityInDays>
      <EmpCode>string</EmpCode>
      <CompnayCode>string</CompnayCode>
      <ClientCode>string</ClientCode>
      <str>string</str>
    </SavePoll>
  </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>
    <SavePollResponse xmlns="http://Paywellws.bphoenix.co.in/" />
  </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 /WebMethods.asmx/SavePoll?Question=string&Option1=string&Option2=string&Option3=string&Option4=string&Taget_Audiance_All=string&Taget_Audiance_Specific=string&Taget_Aud_Company=string&Taget_Aud_Branch=string&Taget_Aud_Dept=string&Taget_Aud_Desg=string&Taget_Aud_Gender=string&PollValidityInDays=string&EmpCode=string&CompnayCode=string&ClientCode=string&str=string HTTP/1.1
Host: paywellws.bphoenix.co.in
HTTP/1.1 200 OK

HTTP POST

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

POST /WebMethods.asmx/SavePoll HTTP/1.1
Host: paywellws.bphoenix.co.in
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Question=string&Option1=string&Option2=string&Option3=string&Option4=string&Taget_Audiance_All=string&Taget_Audiance_Specific=string&Taget_Aud_Company=string&Taget_Aud_Branch=string&Taget_Aud_Dept=string&Taget_Aud_Desg=string&Taget_Aud_Gender=string&PollValidityInDays=string&EmpCode=string&CompnayCode=string&ClientCode=string&str=string
HTTP/1.1 200 OK