POST api/Employee/DailyTimeSlip
Request Information
URI Parameters
None.
Body Parameters
DailyTimeSlipViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthenticationCode | string |
None. |
|
| ByProjectId | integer |
None. |
|
| ProjectTask | string |
None. |
|
| FromDate | date |
None. |
|
| TaskHours | string |
None. |
|
| Comment | string |
None. |
|
| ByTimeTrackingId | integer |
None. |
|
| ColorCodeId | string |
None. |
|
| CurrentTimer | date |
None. |
|
| IsTrackingTimer | boolean |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthenticationCode": "sample string 1",
"ByProjectId": 2,
"ProjectTask": "sample string 3",
"FromDate": "2025-12-31T17:38:43.9626585+00:00",
"TaskHours": "sample string 4",
"Comment": "sample string 5",
"ByTimeTrackingId": 6,
"ColorCodeId": "sample string 7",
"CurrentTimer": "2025-12-31T17:38:43.9631581+00:00",
"IsTrackingTimer": true,
"LanguageId": 8
}
text/html
Sample:
{"AuthenticationCode":"sample string 1","ByProjectId":2,"ProjectTask":"sample string 3","FromDate":"2025-12-31T17:38:43.9626585+00:00","TaskHours":"sample string 4","Comment":"sample string 5","ByTimeTrackingId":6,"ColorCodeId":"sample string 7","CurrentTimer":"2025-12-31T17:38:43.9631581+00:00","IsTrackingTimer":true,"LanguageId":8}
application/xml, text/xml
Sample:
<DailyTimeSlipViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel"> <AuthenticationCode>sample string 1</AuthenticationCode> <ByProjectId>2</ByProjectId> <ByTimeTrackingId>6</ByTimeTrackingId> <ColorCodeId>sample string 7</ColorCodeId> <Comment>sample string 5</Comment> <CurrentTimer>2025-12-31T17:38:43.9631581+00:00</CurrentTimer> <FromDate>2025-12-31T17:38:43.9626585+00:00</FromDate> <IsTrackingTimer>true</IsTrackingTimer> <LanguageId>8</LanguageId> <ProjectTask>sample string 3</ProjectTask> <TaskHours>sample string 4</TaskHours> </DailyTimeSlipViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |