POST api/Employee/WeeklyTimeSlip
Request Information
URI Parameters
None.
Body Parameters
WeeklyTimeSlipViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthenticationCode | string |
None. |
|
| ByProjectId | integer |
None. |
|
| ProjectTask | string |
None. |
|
| CurrentWeekNo | integer |
None. |
|
| Hours1 | decimal number |
None. |
|
| Hours2 | decimal number |
None. |
|
| Hours3 | decimal number |
None. |
|
| Hours4 | decimal number |
None. |
|
| Hours5 | decimal number |
None. |
|
| Hours6 | decimal number |
None. |
|
| Hours7 | decimal number |
None. |
|
| Comment | string |
None. |
|
| ByTimeTrackingId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthenticationCode": "sample string 1",
"ByProjectId": 2,
"ProjectTask": "sample string 3",
"CurrentWeekNo": 4,
"Hours1": 1.0,
"Hours2": 1.0,
"Hours3": 1.0,
"Hours4": 1.0,
"Hours5": 1.0,
"Hours6": 1.0,
"Hours7": 1.0,
"Comment": "sample string 5",
"ByTimeTrackingId": 6,
"LanguageId": 7
}
text/html
Sample:
{"AuthenticationCode":"sample string 1","ByProjectId":2,"ProjectTask":"sample string 3","CurrentWeekNo":4,"Hours1":1.0,"Hours2":1.0,"Hours3":1.0,"Hours4":1.0,"Hours5":1.0,"Hours6":1.0,"Hours7":1.0,"Comment":"sample string 5","ByTimeTrackingId":6,"LanguageId":7}
application/xml, text/xml
Sample:
<WeeklyTimeSlipViewModel 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> <Comment>sample string 5</Comment> <CurrentWeekNo>4</CurrentWeekNo> <Hours1>1</Hours1> <Hours2>1</Hours2> <Hours3>1</Hours3> <Hours4>1</Hours4> <Hours5>1</Hours5> <Hours6>1</Hours6> <Hours7>1</Hours7> <LanguageId>7</LanguageId> <ProjectTask>sample string 3</ProjectTask> </WeeklyTimeSlipViewModel>
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. |