POST api/Client/Definition/GetReport

Request Information

URI Parameters

None.

Body Parameters

ReportSearchModel
NameDescriptionTypeAdditional information
Yetki

integer

None.

CompanyId

integer

None.

Name

string

None.

Id

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Yetki": 1,
  "CompanyId": 2,
  "Name": "sample string 3",
  "Id": 4,
  "CreatedOn": "2025-10-25T21:12:26.5593606+03:00",
  "ModifiedOn": "2025-10-25T21:12:26.5593606+03:00",
  "Status": 5
}

application/xml, text/xml

Sample:
<ReportSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:12:26.5593606+03:00</CreatedOn>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">4</Id>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:12:26.5593606+03:00</ModifiedOn>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">5</Status>
  <CompanyId>2</CompanyId>
  <Name>sample string 3</Name>
  <Yetki>1</Yetki>
</ReportSearchModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReportSearchModel'.

Response Information

Resource Description

ResultModelOfListOfReportResponseModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Data

Collection of ReportResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3",
  "Data": [
    {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Yetki": 1,
      "Id": 3,
      "CreatedOn": "2025-10-25T21:12:26.5749616+03:00",
      "ModifiedOn": "2025-10-25T21:12:26.5749616+03:00",
      "Status": 4
    },
    {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Yetki": 1,
      "Id": 3,
      "CreatedOn": "2025-10-25T21:12:26.5749616+03:00",
      "ModifiedOn": "2025-10-25T21:12:26.5749616+03:00",
      "Status": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfReportResponseModelIjrq4xa9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
    <d2p1:ReportResponseModel>
      <CreatedOn>2025-10-25T21:12:26.5749616+03:00</CreatedOn>
      <Id>3</Id>
      <ModifiedOn>2025-10-25T21:12:26.5749616+03:00</ModifiedOn>
      <Status>4</Status>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Url>sample string 2</d2p1:Url>
      <d2p1:Yetki>1</d2p1:Yetki>
    </d2p1:ReportResponseModel>
    <d2p1:ReportResponseModel>
      <CreatedOn>2025-10-25T21:12:26.5749616+03:00</CreatedOn>
      <Id>3</Id>
      <ModifiedOn>2025-10-25T21:12:26.5749616+03:00</ModifiedOn>
      <Status>4</Status>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Url>sample string 2</d2p1:Url>
      <d2p1:Yetki>1</d2p1:Yetki>
    </d2p1:ReportResponseModel>
  </Data>
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModelOfArrayOfReportResponseModelIjrq4xa9>