POST api/berba/set_dani

Request Information

URI Parameters

None.

Body Parameters

Collection of Berba_Dani
NameDescriptionTypeAdditional 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": "2024-12-23T14:04:34.5796673+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": "2024-12-23T14:04:34.5796673+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>2024-12-23T14:04:34.5796673+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>2024-12-23T14:04:34.5796673+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

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>