POST api/workTime/create
Request Information
URI Parameters
None.
Body Parameters
workTimeRqst| Name | Description | Type | Additional information |
|---|---|---|---|
| rqst_id | integer |
None. |
|
| usr_id | integer |
None. |
|
| comment | string |
None. |
|
| date_from | date |
None. |
|
| date_to | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"rqst_id": 1,
"usr_id": 1,
"comment": "sample string 2",
"date_from": "2025-12-15T17:00:44.5221109+01:00",
"date_to": "2025-12-15T17:00:44.5231095+01:00"
}
application/xml, text/xml
Sample:
<workTimeRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <comment>sample string 2</comment> <date_from>2025-12-15T17:00:44.5221109+01:00</date_from> <date_to>2025-12-15T17:00:44.5231095+01:00</date_to> <rqst_id>1</rqst_id> <usr_id>1</usr_id> </workTimeRqst>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.