Soap Request for GetQuestions() webservices

Document ID : KB000112558
Last Modified Date : 30/08/2018
Show Technical Document Details
Question:
Could you please provide the sample Soap Request for GetQuestions() webservices ?
Answer:
Here is a sample request which can be used to get the Questions using Web services.

 
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:msgs="http://ws.arcot.com/WebFortAuthAPI/7.0/msgs" xmlns:xsd="http://ws.arcot.com/WebFortCommonAPI/7.0/xsd">
   <soap:Header>
                <orgname>DEFAULTORG</orgname>
                <userid>globaladmin</userid>
                <credential>password</credential>
   </soap:Header>
   <soap:Body>
      <msgs:GetQuestionsRequest>
         <!--Optional:-->
         <xsd:clientTxnId>?</xsd:clientTxnId>
         <msgs:userName>TESTUSER1</msgs:userName>
         <!--Optional:-->
         <msgs:orgName>DEFAULTORG</msgs:orgName>
         </msgs:GetQuestionsRequest>
   </soap:Body>
</soap:Envelope>