Administrator v2 /api/v2/public/acl/admin_users/sign_in

Überblick

Klasse / Datentyp
Administrator
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
true
HTTP Methode
POST
Zuletzt aktualisiert

/api/v2/public/acl/admin_users/sign_in

Parameter

Body Parameter

Schlüssel
acl_admin_user[email] optional
acl_admin_user[password] optional

Beispiel Rückgabe

{
  "data" : {
    "id"                      : "XXXXXXXXXXXXXXXXX",
    "firstname"               : "Patrick",
    "lastname"                : "Lehmann",
    "email"                   : "lehmann@squibble.me",
    "authentication_token"    : "XXXXXXXXXXXXXXXXX",
    "default_principal"       : {
      "id"          : "XXXXXXXXXXXXXXXXX",
      "name"        : "Squibble",
      "site_name"   : "Squibble",
      "main_domain" : "squibble.me"
    },
    "default_principal_roles" : [
      {
        "id"    : "56b25bbe93e2e51122273690",
        "key"   : "office_admin",
        "label" : "CRM Benutzer (Administrator)"
      },
      {
        "id"    : "56b1fa6a93e2e503d197d5d4",
        "key"   : "office_user",
        "label" : "CRM Benutzer (Standardbenutzer)"
      }
    ],
    "default_employee"        : {
      "id"        : "XXXXXXXXXXXXXXXXX",
      "firstname" : "Patrick",
      "lastname"  : "Lehmann",
      "email"     : "lehmann@squibble.me"
    }
  },
  "meta" : {
    "resource_class" : "Acl::AdminUser",
    "id"             : "XXXXXXXXXXXXXXXXX",
    "created_at"     : "2014-02-02T21:21:11.723+01:00",
    "updated_at"     : "2016-11-09T09:23:06.842+01:00"
  }
}