POST api/benefits/budget/team/update
Request Information
URI Parameters
None.
Body Parameters
TeamBudgetDataName | Description | Type | Additional information |
---|---|---|---|
usr_id | integer |
None. |
|
year | integer |
None. |
|
month | integer |
None. |
|
teamBudgets | Collection of TeamBudget |
None. |
|
comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "usr_id": 1, "year": 2, "month": 3, "teamBudgets": [ { "usr_id": 1, "team_budget_spent": 2.0, "creator": true }, { "usr_id": 1, "team_budget_spent": 2.0, "creator": true } ], "comment": "sample string 4" }
application/xml, text/xml
Sample:
<TeamBudgetData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <comment>sample string 4</comment> <month>3</month> <teamBudgets> <TeamBudget> <creator>true</creator> <team_budget_spent>2</team_budget_spent> <usr_id>1</usr_id> </TeamBudget> <TeamBudget> <creator>true</creator> <team_budget_spent>2</team_budget_spent> <usr_id>1</usr_id> </TeamBudget> </teamBudgets> <usr_id>1</usr_id> <year>2</year> </TeamBudgetData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.