GET api/user/{id}/branchid
Fetch user by branchId.
Requires Authorisation
The api request must supply authenticated token in a custom variable in the request header. The custom variable name is configured in web.config. The default name of the custom variable is “X-Fern-Token”.
Requires Api License and User Access
The api requires license and user permission for API ID, GETapi/user/{id}/branchid. The user permission can be defined on User Settings screen in Abacus. For license, please contact Fern manager.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Response Codes
Success Status:
- OK (200), please see resource description below.
Failed Status(es):
Resource Description
Collection of UsersDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
Unique Identifier of a User. |
integer | |
| UserName |
Name of the Abacus User. |
string |
Response Formats
application/json, text/json
Sample:
[
{
"userID": 1,
"userName": "sample string 1"
},
{
"userID": 1,
"userName": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfUsersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fern.Abacus.ObjectModel.Dto">
<UsersDto>
<UserID>1</UserID>
<UserName>sample string 1</UserName>
</UsersDto>
<UsersDto>
<UserID>1</UserID>
<UserName>sample string 1</UserName>
</UsersDto>
</ArrayOfUsersDto>