POST WEvalWorkHours/SaveWorkHours
Request Information
URI Parameters
None.
Body Parameters
PostWorkProjectRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Post | Collection of PostWorkProjectModel |
None. |
|
| TenantCode | string |
None. |
|
| UserId | string |
None. |
|
| CompanyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Post": [
{
"FillDate": "2026-06-02T20:33:19.3636499+08:00",
"Pid": 2,
"WorkType": 3,
"WorkHours": 4.1,
"WorkHourAmount": 5.1,
"WorkItem": "sample string 6",
"WorkHourUnitPrice": 7.1
},
{
"FillDate": "2026-06-02T20:33:19.3636499+08:00",
"Pid": 2,
"WorkType": 3,
"WorkHours": 4.1,
"WorkHourAmount": 5.1,
"WorkItem": "sample string 6",
"WorkHourUnitPrice": 7.1
}
],
"TenantCode": "sample string 1",
"UserId": "sample string 2",
"CompanyCode": "sample string 3"
}
application/xml, text/xml
Sample:
<PostWorkProjectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Form">
<CompanyCode>sample string 3</CompanyCode>
<TenantCode>sample string 1</TenantCode>
<UserId>sample string 2</UserId>
<Post>
<PostWorkProjectModel>
<FillDate>2026-06-02T20:33:19.3636499+08:00</FillDate>
<Pid>2</Pid>
<WorkHourAmount>5.1</WorkHourAmount>
<WorkHourUnitPrice>7.1</WorkHourUnitPrice>
<WorkHours>4.1</WorkHours>
<WorkItem>sample string 6</WorkItem>
<WorkType>3</WorkType>
</PostWorkProjectModel>
<PostWorkProjectModel>
<FillDate>2026-06-02T20:33:19.3636499+08:00</FillDate>
<Pid>2</Pid>
<WorkHourAmount>5.1</WorkHourAmount>
<WorkHourUnitPrice>7.1</WorkHourUnitPrice>
<WorkHours>4.1</WorkHours>
<WorkItem>sample string 6</WorkItem>
<WorkType>3</WorkType>
</PostWorkProjectModel>
</Post>
</PostWorkProjectRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errors": "sample string 2",
"unauthed": true,
"result": true
}
application/xml, text/xml
Sample:
<RemoteResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model"> <Errors>sample string 2</Errors> <Result>true</Result> <Success>true</Success> <UnAuthorizedRequest>true</UnAuthorizedRequest> </RemoteResponseOfboolean>