POST api/vacation/data/update
Request Information
URI Parameters
None.
Body Parameters
vacation_data_requestName | Description | Type | Additional information |
---|---|---|---|
vac_id | integer |
None. |
|
usr_id | integer |
None. |
|
year | integer |
None. |
|
num_of_vacat_days | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "vac_id": 1, "usr_id": 2, "year": 3, "num_of_vacat_days": 4 }
application/xml, text/xml
Sample:
<vacation_data_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <num_of_vacat_days>4</num_of_vacat_days> <usr_id>2</usr_id> <vac_id>1</vac_id> <year>3</year> </vacation_data_request>
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.