GET api/user/user?usercode={usercode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
usercode

string

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
UserCode

string

None.

UserName

string

None.

DefaultBranchCode

string

None.

DefaultDepartmentCode

string

None.

DefaultLocationCode

string

None.

EmailAddress

string

None.

MobileNo

string

None.

Inactive

boolean

None.

Roles

Collection of Role

None.

Response Formats

application/json, text/json

Sample:
{
  "UserCode": "sample string 1",
  "UserName": "sample string 2",
  "DefaultBranchCode": "sample string 3",
  "DefaultDepartmentCode": "sample string 4",
  "DefaultLocationCode": "sample string 5",
  "EmailAddress": "sample string 6",
  "MobileNo": "sample string 7",
  "Inactive": true,
  "Roles": [
    {
      "RoleCode": "sample string 1",
      "RoleName": "sample string 2"
    },
    {
      "RoleCode": "sample string 1",
      "RoleName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.CO">
  <DefaultBranchCode>sample string 3</DefaultBranchCode>
  <DefaultDepartmentCode>sample string 4</DefaultDepartmentCode>
  <DefaultLocationCode>sample string 5</DefaultLocationCode>
  <EmailAddress>sample string 6</EmailAddress>
  <Inactive>true</Inactive>
  <MobileNo>sample string 7</MobileNo>
  <Roles>
    <Role>
      <RoleCode>sample string 1</RoleCode>
      <RoleName>sample string 2</RoleName>
    </Role>
    <Role>
      <RoleCode>sample string 1</RoleCode>
      <RoleName>sample string 2</RoleName>
    </Role>
  </Roles>
  <UserCode>sample string 1</UserCode>
  <UserName>sample string 2</UserName>
</User>