GET api/PodneJednotky/{id}
Podľa id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
identifikátor |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PodneJednotky| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PodnyTyp1 | integer |
None. |
|
| Perc1 | integer |
None. |
|
| PodnyTyp2 | integer |
None. |
|
| Perc2 | integer |
None. |
|
| Pod1 | string |
String length: inclusive between 0 and 12 |
|
| Pod2 | string |
String length: inclusive between 0 and 12 |
|
| Hlbka | integer |
None. |
|
| Zrnitost | integer |
None. |
|
| Podtyp | integer |
None. |
|
| Subtyp | integer |
None. |
|
| Hlbka2 | integer |
None. |
|
| Zrnitost2 | integer |
None. |
|
| txPodtyp | string |
String length: inclusive between 0 and 100 |
|
| txPodtyp2 | string |
String length: inclusive between 0 and 100 |
|
| HlavPodTyp | string |
String length: inclusive between 0 and 100 |
|
| WKT | DbGeometry |
None. |
|
| GeoJSON | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"PodnyTyp1": 1,
"Perc1": 1,
"PodnyTyp2": 1,
"Perc2": 1,
"Pod1": "sample string 2",
"Pod2": "sample string 3",
"Hlbka": 1,
"Zrnitost": 1,
"Podtyp": 1,
"Subtyp": 1,
"Hlbka2": 1,
"Zrnitost2": 1,
"txPodtyp": "sample string 4",
"txPodtyp2": "sample string 5",
"HlavPodTyp": "sample string 6",
"WKT": null,
"GeoJSON": "sample string 7"
}
application/xml, text/xml
Sample:
<PodneJednotky xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Datasety.Models.sde_sr"> <Id>1</Id> <PodnyTyp1>1</PodnyTyp1> <Perc1>1</Perc1> <PodnyTyp2>1</PodnyTyp2> <Perc2>1</Perc2> <Pod1>sample string 2</Pod1> <Pod2>sample string 3</Pod2> <Hlbka>1</Hlbka> <Zrnitost>1</Zrnitost> <Podtyp>1</Podtyp> <Subtyp>1</Subtyp> <Hlbka2>1</Hlbka2> <Zrnitost2>1</Zrnitost2> <txPodtyp>sample string 4</txPodtyp> <txPodtyp2>sample string 5</txPodtyp2> <HlavPodTyp>sample string 6</HlavPodTyp> <WKT xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" /> <GeoJSON>sample string 7</GeoJSON> </PodneJednotky>