Pingdom Home

212-796-6890

Business hours 3 am-5 pm EST.

Pingdom API / function Test_echo

Description

Tests if web service is working properly by returning input string as output.

Arguments

stringinString (Required)

String that will be echoed back as output of the function.

Return value

Test_EchoResponseechoResponse

Response object of Test_echo function. It contains field for status of the performed operation, and field for echo string.

Example request

				
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<q1:Test_echo xmlns:q1="urn:methods">
		<inString xsi:type="xsd:string">Hello, world!</inString>
	</q1:Test_echo>
</soap:Body>
			

Example response

				
<SOAP-ENV:Body>
	<ns1:echoAPIResponse>
		<return xsi:type="ns2:Test_EchoResponse">
			<status xsi:type="xsd:int">0</status>
			<outString xsi:type="xsd:string">Hello, world!</outString>
		</return>
	</ns1:echoAPIResponse>
</SOAP-ENV:Body>