POST api/employees/update/hr/number

Request Information

URI Parameters

None.

Body Parameters

hr_number_update
NameDescriptionTypeAdditional information
usr_id

integer

None.

hr_number

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "usr_id": 1,
  "hr_number": 2
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.