POST api/benefits/budget/personal/update/hr

Request Information

URI Parameters

None.

Body Parameters

PersonalBudgetUpdate
NameDescriptionTypeAdditional information
hr_id

integer

None.

budget_id

integer

None.

usr_id

integer

None.

comment

string

None.

personal_budget_spent

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "hr_id": 1,
  "budget_id": 2,
  "usr_id": 3,
  "comment": "sample string 4",
  "personal_budget_spent": 5.0
}

application/xml, text/xml

Sample:
<PersonalBudgetUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <budget_id>2</budget_id>
  <comment>sample string 4</comment>
  <hr_id>1</hr_id>
  <personal_budget_spent>5</personal_budget_spent>
  <usr_id>3</usr_id>
</PersonalBudgetUpdate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PersonalBudgetUpdate'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.