Skip to content

User Object Reference ​

 

This User object describes a registered user.

json
  {
    "Email" : "sallydoe@company.com",
    "Status" : "Active", 
    "Role" : "TrialUser", 
    "FirstName" : "Sally", 
    "Organization" : "Sally's Company",
    "ApiExpirationDate" : "2023-01-31T00:00:00Z",
    "DaysRemaining" : 30,
    "Created": "2023-01-01T00:00:00Z",
    "Timestamp": "2023-01-18T09:42:58Z"
  }

Attributes ​

Email - string ​
User's email address. ​
Status - string ​
Valid status codes are: ​
User status codes
StatusDescription
PendingAwaiting user email confirmation
ActiveUser may execute Key is valid for use
InactiveA user whose organization has an account setup to use Zypr, but has not yet been granted priviledges by the organization's account administrator
Activation code expiredThe activation code email to user has expired
Api key expiredAPI key is no longer valid
Customer subscription expiredUser's API key expiry corresponds to their organizations subscription term, which has expired
Role - string ​
Role of user. Valid roles are: ​
Valid user roles
RoleDescription
AnonymousAn unregistered user.
Trial UserA user whose organization does not have an account setup to use Zypr.
UserA user who has been setup by their organization's account administrator as a named user. This role can create scenarios, and read and delete only scenarios that they created.
AccountUserA user has the same priviledges as a User role, plus read access to all other scenarios within the account. This role cannot delete scenarios that they did not create.
AccountAdminA user who is responsible for their organization's enterprise-wide account administration. This role can create, read, and delete any scenario within the account.
FirstName - string ​
First name of user. ​
Organization - string ​
Company or entity of user. ​
ApiKeyExpirationDate - datetime ​
Expiration date of user's Api Key. ​
DaysRemaining - integer ​
Number of days remaining before Api Key expires. ​
Created - datetime ​
Date user account was created. ​
Timestamp - datetime ​
Date when user record was created. ​

Ravello Analytics, LLC