POST WEvalWorkHours/GetWorkBaseInfo
Request Information
URI Parameters
None.
Body Parameters
WorkBaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | date |
None. |
|
| TenantCode | string |
None. |
|
| UserId | string |
None. |
|
| CompanyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Date": "2026-06-02T20:33:43.3359638+08:00",
"TenantCode": "sample string 2",
"UserId": "sample string 3",
"CompanyCode": "sample string 4"
}
application/xml, text/xml
Sample:
<WorkBaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Form"> <CompanyCode>sample string 4</CompanyCode> <TenantCode>sample string 2</TenantCode> <UserId>sample string 3</UserId> <Date>2026-06-02T20:33:43.3359638+08:00</Date> </WorkBaseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfWorkBaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | WorkBaseResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errors": "sample string 2",
"unauthed": true,
"result": {
"DayType": 1,
"DayTypeXs": 1.1,
"ApplyWorkHours": 1.1,
"MaxHours": 2,
"WorkHourUnitPrice": 1.1
}
}
application/xml, text/xml
Sample:
<RemoteResponseOfWorkBaseResponseal7jg1Tl 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Form">
<d2p1:ApplyWorkHours>1.1</d2p1:ApplyWorkHours>
<d2p1:DayType>1</d2p1:DayType>
<d2p1:DayTypeXs>1.1</d2p1:DayTypeXs>
<d2p1:MaxHours>2</d2p1:MaxHours>
<d2p1:WorkHourUnitPrice>1.1</d2p1:WorkHourUnitPrice>
</Result>
<Success>true</Success>
<UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfWorkBaseResponseal7jg1Tl>