POST api/benefits/budget/personal/accept

Request Information

URI Parameters

None.

Body Parameters

PBAcceptReject
NameDescriptionTypeAdditional information
budget_id

integer

None.

modifier

integer

None.

reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "budget_id": 1,
  "modifier": 2,
  "reason": "sample string 3"
}

application/xml, text/xml

Sample:
<PBAcceptReject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <budget_id>1</budget_id>
  <modifier>2</modifier>
  <reason>sample string 3</reason>
</PBAcceptReject>

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 'PBAcceptReject'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.