POST api/berba/update_dani
Request Information
URI Parameters
None.
Body Parameters
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:33:08.5734381+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:
<Berba_Dani xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CB.API"> <Berba_Id>2</Berba_Id> <BonusCenaKg>1.1</BonusCenaKg> <CenaKg>1.1</CenaKg> <Datum>2025-11-30T23:33:08.5734381+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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:33:08.7360448+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:
<Berba_Dani xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CB.API"> <Berba_Id>2</Berba_Id> <BonusCenaKg>1.1</BonusCenaKg> <CenaKg>1.1</CenaKg> <Datum>2025-11-30T23:33:08.7360448+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>