GET api/WMesUser/GetUserStatuses?strBranchId={strBranchId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| strBranchId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_ID | string |
None. |
|
| USER_NAME | string |
None. |
|
| USER_BRANCH | string |
None. |
|
| BRANCH_NAME | string |
None. |
|
| ISLEAVE | integer |
None. |
|
| ISLEAVE_ICON | string |
None. |
|
| WORK_STATUS | integer |
None. |
|
| WORK_STATUS_ICON | string |
None. |
|
| IS_ON_WORK | integer |
None. |
|
| IS_ON_WORK_ICON | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"USER_ID": "sample string 1",
"USER_NAME": "sample string 2",
"USER_BRANCH": "sample string 3",
"BRANCH_NAME": "sample string 4",
"ISLEAVE": 5,
"ISLEAVE_ICON": "",
"WORK_STATUS": 6,
"WORK_STATUS_ICON": "",
"IS_ON_WORK": 7,
"IS_ON_WORK_ICON": "el-icon-close"
},
{
"USER_ID": "sample string 1",
"USER_NAME": "sample string 2",
"USER_BRANCH": "sample string 3",
"BRANCH_NAME": "sample string 4",
"ISLEAVE": 5,
"ISLEAVE_ICON": "",
"WORK_STATUS": 6,
"WORK_STATUS_ICON": "",
"IS_ON_WORK": 7,
"IS_ON_WORK_ICON": "el-icon-close"
}
]
application/xml, text/xml
Sample:
<ArrayOfUserStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebMesApi.Models">
<UserStatus>
<BRANCH_NAME>sample string 4</BRANCH_NAME>
<ISLEAVE>5</ISLEAVE>
<IS_ON_WORK>7</IS_ON_WORK>
<USER_BRANCH>sample string 3</USER_BRANCH>
<USER_ID>sample string 1</USER_ID>
<USER_NAME>sample string 2</USER_NAME>
<WORK_STATUS>6</WORK_STATUS>
</UserStatus>
<UserStatus>
<BRANCH_NAME>sample string 4</BRANCH_NAME>
<ISLEAVE>5</ISLEAVE>
<IS_ON_WORK>7</IS_ON_WORK>
<USER_BRANCH>sample string 3</USER_BRANCH>
<USER_ID>sample string 1</USER_ID>
<USER_NAME>sample string 2</USER_NAME>
<WORK_STATUS>6</WORK_STATUS>
</UserStatus>
</ArrayOfUserStatus>