POST api/workTime/create/multiple
Request Information
URI Parameters
None.
Body Parameters
work_time_rqst_multiple| Name | Description | Type | Additional information |
|---|---|---|---|
| usr_id | integer |
None. |
|
| dates | Collection of date_from_to_comment |
None. |
Request Formats
application/json, text/json
Sample:
{
"usr_id": 1,
"dates": [
{
"date_from": "2025-12-15T17:00:25.0638768+01:00",
"date_to": "2025-12-15T17:00:25.0638768+01:00",
"comment": "sample string 3"
},
{
"date_from": "2025-12-15T17:00:25.0638768+01:00",
"date_to": "2025-12-15T17:00:25.0638768+01:00",
"comment": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<work_time_rqst_multiple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
<dates>
<date_from_to_comment>
<comment>sample string 3</comment>
<date_from>2025-12-15T17:00:25.0638768+01:00</date_from>
<date_to>2025-12-15T17:00:25.0638768+01:00</date_to>
</date_from_to_comment>
<date_from_to_comment>
<comment>sample string 3</comment>
<date_from>2025-12-15T17:00:25.0638768+01:00</date_from>
<date_to>2025-12-15T17:00:25.0638768+01:00</date_to>
</date_from_to_comment>
</dates>
<usr_id>1</usr_id>
</work_time_rqst_multiple>
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.