Users

Returns the current user details

get/sites/{site-identifier}/user

Request

  • Base URL: https://api-dev.superconcepts.com.au/api/v1
  • URL: https://api-dev.superconcepts.com.au/api/v1/sites/{site-identifier}/user
  • Auth: OAuth 2 (authorization code, authorization URL https://api.supermate.com.au/oauth/v1/authorize, token URL https://api.supermate.com.au/oauth/v1/token, scopes: default)

Path parameters

site-identifierstring required

The GUID that identifies a site

Response

User detail list

UserGUIDstring guid
IdentityGUIDstring guid
IdentityTypestring
UserCodestring
UserNamestring
EmailAddressstring
MobilePhoneNumberstring
RoleCodestring
BrandGUIDstring
HasActiveApplicationsboolean

Example response

{
  "UserGUID": "ac7791ca-f564-659c-8114-2e8f51c97f0b",
  "IdentityGUID": "cc7791ca-f564-659c-8114-2e8f51c97f0a",
  "IdentityType": "TRUSTEE",
  "EmailAddress": "abc@gmail.com",
  "MobilePhoneNumber": "04xxxxx456",
  "RoleCode": "ROLE-SITE-ADMIN/ROLE-SITE-OWNER/ROLE-USER-ADMIN/ROLE-FUND-ADMIN/CUSTOM-ROLE",
  "BrandGUID": "cc7791ca-f564-659c-8114-2e8f51c97f0C",
  "Entities": [
    {
      "Type": "TRUSTEE",
      "GUID": "d4c47341-a13b-bcb8-8c14-f13fc0ded109"
    }
  ],
  "Groups": [
    {
      "GroupGUID": "b8f9ea73-af8a-16ba-c014-d7c8b0bd9f64",
      "Code": "SS_TEAM",
      "Name": "Simon's Team",
      "Leader": true,
      "Roles": [
        "Accounting",
        "Admin"
      ]
    }
  ],
  "MobileAccess": {
    "StatusCode": "ELIGIBLE",
    "FundGUID": "d4c47341-a13b-bcb8-8c14-f13fc0ded109"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.