POST api/apartment/edit/hr

Request Information

URI Parameters

None.

Body Parameters

AptEditHr
NameDescriptionTypeAdditional information
id

integer

None.

month_amount

decimal number

None.

usr_id

integer

None.

valid_from

date

None.

year_amount

decimal number

None.

modify_usr

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "month_amount": 2.0,
  "usr_id": 3,
  "valid_from": "2025-05-22T17:12:12.7778603+02:00",
  "year_amount": 5.0,
  "modify_usr": 6
}

application/xml, text/xml

Sample:
<AptEditHr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <id>1</id>
  <modify_usr>6</modify_usr>
  <month_amount>2</month_amount>
  <usr_id>3</usr_id>
  <valid_from>2025-05-22T17:12:12.7778603+02:00</valid_from>
  <year_amount>5</year_amount>
</AptEditHr>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.