POST api/entry/update

Request Information

URI Parameters

None.

Body Parameters

entryRqst
NameDescriptionTypeAdditional information
event_id

integer

None.

usr_id

integer

None.

type

integer

None.

work_start

date

None.

work_end

date

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "event_id": 1,
  "usr_id": 2,
  "type": 3,
  "work_start": "2025-05-22T16:59:07.1247851+02:00",
  "work_end": "2025-05-22T16:59:07.1247851+02:00",
  "comment": "sample string 6"
}

application/xml, text/xml

Sample:
<entryRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <comment>sample string 6</comment>
  <event_id>1</event_id>
  <type>3</type>
  <usr_id>2</usr_id>
  <work_end>2025-05-22T16:59:07.1247851+02:00</work_end>
  <work_start>2025-05-22T16:59:07.1247851+02:00</work_start>
</entryRqst>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.