GET api/ApiHealth
Method that returns the current application version and datetime.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiHealthName | Description | Type | Additional information |
---|---|---|---|
CurrentDateTime | date |
None. |
|
Version | string |
None. |
Response Formats
application/json
Sample:
{ "CurrentDateTime": "2024-11-23T10:02:09.7765042+01:00", "Version": "1.0.0.0" }
text/json
Sample:
{ "CurrentDateTime": "2024-11-23T10:02:09.9015282+01:00", "Version": "1.0.0.0" }
application/xml, text/xml
Sample:
<ApiHealth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OzmWebApi.Models" />