POST api/berba/set_dani
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Berba_Id": 2,
"Datum": "2025-11-30T23:34:08.6883351+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:34:08.6883351+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:34:08.6883351+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:34:08.6883351+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>