GET api/ping/{id}?q={q}&message={message}&NewerThan={NewerThan}&OlderThan={OlderThan}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

q

string

Default value is

message

string

Default value is

NewerThan

date

None.

OlderThan

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PingData
NameDescriptionTypeAdditional information
Date

date

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2024-12-13T00:52:18.7463501+01:00",
    "Message": "sample string 2"
  },
  {
    "Date": "2024-12-13T00:52:18.7463501+01:00",
    "Message": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPingController.PingData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BSA_AliveChecker_API.Controllers">
  <PingController.PingData>
    <Date>2024-12-13T00:52:18.7463501+01:00</Date>
    <Message>sample string 2</Message>
  </PingController.PingData>
  <PingController.PingData>
    <Date>2024-12-13T00:52:18.7463501+01:00</Date>
    <Message>sample string 2</Message>
  </PingController.PingData>
</ArrayOfPingController.PingData>