POST api/Reports/GetAllSeriesData

Request Information

URI Parameters

None.

Body Parameters

SeriesReportCreteria
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

FromTime

string

None.

FromTimeT

time interval

None.

ToTime

string

None.

ToTimeT

time interval

None.

UnVisitedDays

integer

None.

SeriesStatus

string

None.

SurgCode

integer

None.

InsureCode

integer

None.

BranchCode

integer

None.

GroupOperCode

integer

None.

FromTreatAmount

integer

None.

ToTreatAmount

integer

None.

PerSurg

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UnVisitedDays": 1,
  "SeriesStatus": "sample string 2",
  "SurgCode": 3,
  "InsureCode": 4,
  "BranchCode": 5,
  "GroupOperCode": 6,
  "FromTreatAmount": 7,
  "ToTreatAmount": 8,
  "PerSurg": true,
  "FromDate": "2024-12-03T00:00:00+02:00",
  "ToDate": "2024-12-03T00:00:00+02:00",
  "FromTime": "sample string 3",
  "FromTimeT": "00:00:00",
  "ToTime": "sample string 4",
  "ToTimeT": "00:00:00"
}

application/xml, text/xml

Sample:
<SeriesReportCreteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <FromDate>2024-12-03T00:00:00+02:00</FromDate>
  <FromTime>sample string 3</FromTime>
  <ToDate>2024-12-03T00:00:00+02:00</ToDate>
  <ToTime>sample string 4</ToTime>
  <BranchCode>5</BranchCode>
  <FromTreatAmount>7</FromTreatAmount>
  <GroupOperCode>6</GroupOperCode>
  <InsureCode>4</InsureCode>
  <PerSurg>true</PerSurg>
  <SeriesStatus>sample string 2</SeriesStatus>
  <SurgCode>3</SurgCode>
  <ToTreatAmount>8</ToTreatAmount>
  <UnVisitedDays>1</UnVisitedDays>
</SeriesReportCreteria>

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 'SeriesReportCreteria'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.