POST api/events/worktime/add
Request Information
URI Parameters
None.
Body Parameters
AddWorkTimeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| events | Collection of integer |
None. |
|
| time | time interval |
None. |
|
| change_type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"events": [
1,
2
],
"time": "00:00:00.1234567",
"change_type": 1
}
application/xml, text/xml
Sample:
<AddWorkTimeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
<change_type>1</change_type>
<events xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</events>
<time>PT0.1234567S</time>
</AddWorkTimeRequest>
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.