GetDateTime
Initial Build |
2006.02 |
xWEB |
Web Method |
Response Type |
DateTime |
The GetDateTime web method returns the system date and time of the netFORUM system.
This method does not require authentication. As such, in addition to the method's inherent purpose, it can be useful for general diagnostics to ensure the xWeb service is running properly. Another useful diagnostic web method is GetVersion, which does require authentication.
If this method is not operating properly, then there are issues with the xWeb service's configuration that should be addressed.
Parameters
This method does not require parameters.
Response
See Sample Response.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header/>
<soapenv:Body>
<ns:GetDateTime/>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetDateTimeResponse xmlns="http://www.avectra.com/2005/">
<GetDateTimeResult>2011-12-22T11:01:51.9831088-05:00</GetDateTimeResult>
</GetDateTimeResponse>
</soap:Body>
</soap:Envelope>
JSON Method
GET /xWeb/JSON/GetDateTime
Copy
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
"2021-10-26T21:02:43.6668804+13:00"