POST api/Reports/InsurerByDepartments

Request Information

URI Parameters

None.

Body Parameters

CritForInsurerByDepartments
NameDescriptionTypeAdditional information
StartDate

date

None.

ToDate

date

None.

charge

boolean

None.

DocName

integer

None.

Groups

Collection of integer

None.

BusinessBranches

Collection of string

None.

BusinessBranchesGroups

Collection of integer

None.

Report

integer

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2024-11-21T11:36:41.1608322+02:00",
  "ToDate": "2024-11-21T11:36:41.1608322+02:00",
  "charge": true,
  "DocName": 4,
  "Groups": [
    1,
    2
  ],
  "BusinessBranches": [
    "sample string 1",
    "sample string 2"
  ],
  "BusinessBranchesGroups": [
    1,
    1
  ],
  "Report": 5,
  "Type": "sample string 6"
}

application/xml, text/xml

Sample:
<CritForInsurerByDepartments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <BusinessBranches xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BusinessBranches>
  <BusinessBranchesGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </BusinessBranchesGroups>
  <DocName>4</DocName>
  <Groups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Groups>
  <Report>5</Report>
  <StartDate>2024-11-21T11:36:41.1608322+02:00</StartDate>
  <ToDate>2024-11-21T11:36:41.1608322+02:00</ToDate>
  <Type>sample string 6</Type>
  <charge>true</charge>
</CritForInsurerByDepartments>

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

application/bson

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

Response Information

Resource Description

Collection of InsurerByDepartmentsReport
NameDescriptionTypeAdditional information
counterOper1

integer

None.

counterOper2

integer

None.

counterSum1

decimal number

None.

counterSum2

decimal number

None.

counterCust1

integer

None.

counterCust2

integer

None.

insurname

string

None.

group

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "counterOper1": 1,
    "counterOper2": 2,
    "counterSum1": 1.0,
    "counterSum2": 1.0,
    "counterCust1": 3,
    "counterCust2": 4,
    "insurname": "sample string 5",
    "group": "sample string 6"
  },
  {
    "counterOper1": 1,
    "counterOper2": 2,
    "counterSum1": 1.0,
    "counterSum2": 1.0,
    "counterCust1": 3,
    "counterCust2": 4,
    "insurname": "sample string 5",
    "group": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInsurerByDepartmentsReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <InsurerByDepartmentsReport>
    <counterCust1>3</counterCust1>
    <counterCust2>4</counterCust2>
    <counterOper1>1</counterOper1>
    <counterOper2>2</counterOper2>
    <counterSum1>1</counterSum1>
    <counterSum2>1</counterSum2>
    <group>sample string 6</group>
    <insurname>sample string 5</insurname>
  </InsurerByDepartmentsReport>
  <InsurerByDepartmentsReport>
    <counterCust1>3</counterCust1>
    <counterCust2>4</counterCust2>
    <counterOper1>1</counterOper1>
    <counterOper2>2</counterOper2>
    <counterSum1>1</counterSum1>
    <counterSum2>1</counterSum2>
    <group>sample string 6</group>
    <insurname>sample string 5</insurname>
  </InsurerByDepartmentsReport>
</ArrayOfInsurerByDepartmentsReport>

application/bson

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