GET api/berba/set_dani_by_berba?godinaId={godinaId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| godinaId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Berba_Dani| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Berba_Id | integer |
None. |
|
| Datum | date |
None. |
|
| Status | string |
None. |
|
| Dnevnica | decimal number |
None. |
|
| CenaKg | decimal number |
None. |
|
| MinimumKgBonus | decimal number |
None. |
|
| BonusCenaKg | decimal number |
None. |
|
| OstaliDodatak | decimal number |
None. |
|
| Razlog | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Berba_Id": 2,
"Datum": "2025-11-30T23:35:30.4986565+01:00",
"Status": "sample string 4",
"Dnevnica": 1.1,
"CenaKg": 1.1,
"MinimumKgBonus": 1.1,
"BonusCenaKg": 1.1,
"OstaliDodatak": 1.1,
"Razlog": "sample string 5"
},
{
"Id": 1,
"Berba_Id": 2,
"Datum": "2025-11-30T23:35:30.4986565+01:00",
"Status": "sample string 4",
"Dnevnica": 1.1,
"CenaKg": 1.1,
"MinimumKgBonus": 1.1,
"BonusCenaKg": 1.1,
"OstaliDodatak": 1.1,
"Razlog": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfBerba_Dani xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CB.API">
<Berba_Dani>
<Berba_Id>2</Berba_Id>
<BonusCenaKg>1.1</BonusCenaKg>
<CenaKg>1.1</CenaKg>
<Datum>2025-11-30T23:35:30.4986565+01:00</Datum>
<Dnevnica>1.1</Dnevnica>
<Id>1</Id>
<MinimumKgBonus>1.1</MinimumKgBonus>
<OstaliDodatak>1.1</OstaliDodatak>
<Razlog>sample string 5</Razlog>
<Status>sample string 4</Status>
</Berba_Dani>
<Berba_Dani>
<Berba_Id>2</Berba_Id>
<BonusCenaKg>1.1</BonusCenaKg>
<CenaKg>1.1</CenaKg>
<Datum>2025-11-30T23:35:30.4986565+01:00</Datum>
<Dnevnica>1.1</Dnevnica>
<Id>1</Id>
<MinimumKgBonus>1.1</MinimumKgBonus>
<OstaliDodatak>1.1</OstaliDodatak>
<Razlog>sample string 5</Razlog>
<Status>sample string 4</Status>
</Berba_Dani>
</ArrayOfBerba_Dani>