Get User Logins

GET /api/v2/user/logins

This endpoint retrieves a list of the user logins for the authenticated user. The response data will be an array of objects, with each one being the data related to a users login record.

Query parameters

  • ExcludeFormattedValues string

    If set to any value, formatted values will be excluded from the response.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • success boolean

      Default value is true.

    • data array[object]
      Hide data attributes Show data attributes object
      • UserGUID string(uuid)
      • CompanyGUID string
      • Adviser integer
      • IsPrimaryCompany integer
      • ActiveLogin integer
      • SecurityProfileGUID string(uuid)
      • Valid integer
      • InvalidReason string
      • FormattedValues object
GET /api/v2/user/logins
curl \
 --request GET 'https://api.fincalc.co.uk/api/v2/user/logins' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "data": [
    {
      "UserGUID": "5457D396-9A7E-8574-8775-E54F5323AA72",
      "CompanyGUID": "0AD202E5-6C00-76FA-934D-9A85E405C66B",
      "Adviser": 1,
      "IsPrimaryCompany": 1,
      "ActiveLogin": 1,
      "SecurityProfileGUID": "46C03D29-2983-4D92-A5BE-2643D962A334",
      "Valid": 2,
      "InvalidReason": "Invalid Tenant",
      "FormattedValues": {
        "Valid": "No",
        "Adviser": "Yes",
        "ActiveLogin": "Yes",
        "CompanyGUID": "FinCalc",
        "IsPrimaryCompany": "Yes",
        "SecurityProfileGUID": "Administrator"
      }
    }
  ]
}