GET api/Report/GetNewCaseReport?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfNewCaseReportDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of NewCaseReportDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Date": "sample string 1",
      "DateReported": "2025-04-03T19:03:16.136173-07:00",
      "minDate": "2025-04-03T19:03:16.136173-07:00",
      "maxDate": "2025-04-03T19:03:16.136173-07:00",
      "Count": 5
    },
    {
      "Date": "sample string 1",
      "DateReported": "2025-04-03T19:03:16.136173-07:00",
      "minDate": "2025-04-03T19:03:16.136173-07:00",
      "maxDate": "2025-04-03T19:03:16.136173-07:00",
      "Count": 5
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfNewCaseReportDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:NewCaseReportDTO>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Date>sample string 1</d2p1:Date>
      <d2p1:DateReported>2025-04-03T19:03:16.136173-07:00</d2p1:DateReported>
      <d2p1:maxDate>2025-04-03T19:03:16.136173-07:00</d2p1:maxDate>
      <d2p1:minDate>2025-04-03T19:03:16.136173-07:00</d2p1:minDate>
    </d2p1:NewCaseReportDTO>
    <d2p1:NewCaseReportDTO>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Date>sample string 1</d2p1:Date>
      <d2p1:DateReported>2025-04-03T19:03:16.136173-07:00</d2p1:DateReported>
      <d2p1:maxDate>2025-04-03T19:03:16.136173-07:00</d2p1:maxDate>
      <d2p1:minDate>2025-04-03T19:03:16.136173-07:00</d2p1:minDate>
    </d2p1:NewCaseReportDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfNewCaseReportDTO3NYuOdgi>