POST api/benefits/copy

Request Information

URI Parameters

None.

Body Parameters

CopyBenefits
NameDescriptionTypeAdditional information
usr_id

integer

None.

curr_year

integer

None.

next_year

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "usr_id": 1,
  "curr_year": 2,
  "next_year": 3
}

application/xml, text/xml

Sample:
<CopyBenefits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <curr_year>2</curr_year>
  <next_year>3</next_year>
  <usr_id>1</usr_id>
</CopyBenefits>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.