GET api/Report/GetNatureOfInjuryReport?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| q | string | Required | 
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfCommonReportDTO| Name | Description | Type | Additional information | 
|---|---|---|---|
| isSuccess | boolean | None. | |
| message | string | None. | |
| jsonObj | Collection of CommonReportDTO | None. | |
| totalCount | integer | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Label": "sample string 1",
      "Count": 2,
      "Percentage": 3.0
    },
    {
      "Label": "sample string 1",
      "Count": 2,
      "Percentage": 3.0
    }
  ],
  "totalCount": 3
}
        application/xml, text/xml
            Sample:
<AsapResponseOfArrayOfCommonReportDTO3NYuOdgi 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:CommonReportDTO>
      <d2p1:Count>2</d2p1:Count>
      <d2p1:Label>sample string 1</d2p1:Label>
      <d2p1:Percentage>3</d2p1:Percentage>
    </d2p1:CommonReportDTO>
    <d2p1:CommonReportDTO>
      <d2p1:Count>2</d2p1:Count>
      <d2p1:Label>sample string 1</d2p1:Label>
      <d2p1:Percentage>3</d2p1:Percentage>
    </d2p1:CommonReportDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCommonReportDTO3NYuOdgi>