GET api/PolovneReviry?Nazov={Nazov}

Podľa názvu

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Nazov

časť názvu revíru

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of REVIR
NameDescriptionTypeAdditional information
Id

integer

None.

Nazov

string

String length: inclusive between 0 and 50

DatumRozhodnutia

date

None.

CisloRozhodnutia

string

String length: inclusive between 0 and 25

ID_Okres

integer

None.

PolovnaOblast

string

String length: inclusive between 0 and 10

WKT

DbGeometry

None.

GeoJSON

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Nazov": "sample string 2",
    "DatumRozhodnutia": "2022-10-05T20:26:44.1801826+02:00",
    "CisloRozhodnutia": "sample string 4",
    "ID_Okres": 1,
    "PolovnaOblast": "sample string 8",
    "WKT": null,
    "GeoJSON": "sample string 9"
  },
  {
    "Id": 1,
    "Nazov": "sample string 2",
    "DatumRozhodnutia": "2022-10-05T20:26:44.1801826+02:00",
    "CisloRozhodnutia": "sample string 4",
    "ID_Okres": 1,
    "PolovnaOblast": "sample string 8",
    "WKT": null,
    "GeoJSON": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfREVIR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Datasety.Models.sde_polov">
  <REVIR>
    <Id>1</Id>
    <Nazov>sample string 2</Nazov>
    <DatumRozhodnutia>2022-10-05T20:26:44.1801826+02:00</DatumRozhodnutia>
    <CisloRozhodnutia>sample string 4</CisloRozhodnutia>
    <ID_Okres>1</ID_Okres>
    <PolovnaOblast>sample string 8</PolovnaOblast>
    <WKT xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <GeoJSON>sample string 9</GeoJSON>
  </REVIR>
  <REVIR>
    <Id>1</Id>
    <Nazov>sample string 2</Nazov>
    <DatumRozhodnutia>2022-10-05T20:26:44.1801826+02:00</DatumRozhodnutia>
    <CisloRozhodnutia>sample string 4</CisloRozhodnutia>
    <ID_Okres>1</ID_Okres>
    <PolovnaOblast>sample string 8</PolovnaOblast>
    <WKT xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <GeoJSON>sample string 9</GeoJSON>
  </REVIR>
</ArrayOfREVIR>