POST api/events/time/worked

Request Information

URI Parameters

None.

Body Parameters

event_date_filter
NameDescriptionTypeAdditional information
usr_id

integer

None.

date

date

None.

date_to

date

None.

com_event_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "usr_id": 1,
  "date": "2025-05-22T16:29:41.8410949+02:00",
  "date_to": "2025-05-22T16:29:41.8410949+02:00",
  "com_event_id": 1
}

application/xml, text/xml

Sample:
<event_date_filter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <com_event_id>1</com_event_id>
  <date>2025-05-22T16:29:41.8410949+02:00</date>
  <date_to>2025-05-22T16:29:41.8410949+02:00</date_to>
  <usr_id>1</usr_id>
</event_date_filter>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.