Staff(
    int StaffID
)


Get information for one Staff User.

Note: available since RPM21.

Request

Request Data:

  • (int) StaffID: the id for the Staff User.
{
    "StaffID": <int>
}

Response

{
  "Result": {
      "Username": <string>,
      "UserID": <int>,
      "Enabled": <bool>,
      "StaffID": <int>,
      "Name": <string>,
      "RoleID": <int>,
      "Role": <string>,
      "Groups": [
          {
              "ID": <int>,
          },
          // ... more staff groups
      ],
      "Added": <string>,
      "Contact": {
          "ContactID": <int>,
          "Salutation": <string>,
          "FirstName": <string>,
          "LastName": <string>,
          "Title": <string>,
          "Email": <string>,
          "PhoneNumbers": [
              {
                  "PhoneNumberID": <int>,
                  "Type": <int>,
                  "Number": <string>
              },
              // ... more phone numbers
          ]
      },
      "Fields": [
          {
              "Field": <string>,
              "Uid": <string>,
              "Format": <int>,
              "Value": <string>
          },
          // ... more custom fields
      ]
  }
}

Errors

  • “Staff not found”