PUT api/HourRecordOld
Request Information
URI Parameters
None.
Body Parameters
HourRecordDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user | string |
None. |
|
| date | string |
None. |
|
| start | string |
None. |
|
| end | string |
None. |
|
| difference | string |
None. |
|
| incident | string |
None. |
|
| incidentReason | string |
None. |
|
| effective | string |
None. |
|
| pause | string |
None. |
|
| exceedTimeReason | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"user": "sample string 2",
"date": "sample string 3",
"start": "sample string 4",
"end": "sample string 5",
"difference": "sample string 6",
"incident": "sample string 7",
"incidentReason": "sample string 8",
"effective": "sample string 9",
"pause": "sample string 10",
"exceedTimeReason": 1
}
application/xml, text/xml
Sample:
<HourRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VTC_API.Dto.HourRecord"> <date>sample string 3</date> <difference>sample string 6</difference> <effective>sample string 9</effective> <end>sample string 5</end> <exceedTimeReason>1</exceedTimeReason> <id>1</id> <incident>sample string 7</incident> <incidentReason>sample string 8</incidentReason> <pause>sample string 10</pause> <start>sample string 4</start> <user>sample string 2</user> </HourRecordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Message": {}
}
application/xml, text/xml
Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VTC_API.Dto.Response"> <Code>sample string 1</Code> <Message /> </ResponseDto>