AdminApi
Contains information for obtaining an authentication token
Username for user requesting token
Password for user requesting token
Only "password" is supported currently
Scope of the access request
Optional expiration date for the token (set to null for no expiration)
Authentication Token Information
Should conform to RFC 6750 Section 4 https://tools.ietf.org/html/rfc6750#section-4 and https://tools.ietf.org/html/rfc6749#section-4.2.2 If the resource owner grants the access request, the authorization server issues an access token and delivers it to the client by adding the following parameters to the fragment component of the redirection URI using the "application/x-www-form-urlencoded" format, per Appendix B:
REQUIRED. The access token issued by the authorization server.
00000000-0000-0000-0000-000000000000REQUIRED. The type of the token issued as described in Section 7.1. Value is case insensitive.
RECOMMENDED. The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated. If omitted, the authorization server SHOULD provide the expiration time via other means or document the default value. This field will be excluded from the response if the client provides a specific expiration date in the request.
Unable to authenticate
Validation exception. See response body for more info.
Used to determine whether an access token is valid or not. Returns either the expiration date or
a message describing why the token is invalid. If there is no expiration on the token, then
it will just return the generic api_error_entity with the no error error code.
Validation results
Contains token expiration date or error message if the token is expired or invalid
When the token expires or null if it is already expired or invalid (or if the token never expires, in which case ErrorMessage will also be empty)
Message describing why the token cannot be used, if applicable
Validation exception. See response body for more info.
Creates a user with the information specified by request. Requires the Create Users permission
in the specified owner org or any ancestors.
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating a new user
Id of the user's owner organization
00000000-0000-0000-0000-000000000000The login for this account
The password for this account
First name of the user
Middle name of the user
Last name of the user
Email address of the user
User's title prefix
User's nickname
Id of created user
Contains the id of the user created by the CreateUser web api method
Id of the created user
00000000-0000-0000-0000-000000000000Not authorized to create a user
Entity not found or duplicate login
Validation exception
Gets a user based on login string OR user id. Requires the View Users permission in either the user's
owner org, its ancestors, or any of the user's subscription organizations, or their ancestors.
Login of the user to get
Use the AdminApi Authenticate method to get the access_token
User information
Contains user information
Id of the user
00000000-0000-0000-0000-000000000000Id of the user's owner organization
00000000-0000-0000-0000-000000000000Short name of the user's owner organization
Last name of the user
Middle name of the user
First name of the user
Email address of the user
Email address used for internal communications within NexPort Campus
User's title prefix
User's nickname
Full name of the owner org
Not authorized to view users
Entity not found
Validation exception
Validates a user's login/password combination and returns a user response. The calling account must have the view users permision in the user's owner org or one of their subscription orgs.
User's nexport username
User's password
Use the AdminApi Authenticate method to get the access_token
User information
Contains user information
Id of the user
00000000-0000-0000-0000-000000000000Id of the user's owner organization
00000000-0000-0000-0000-000000000000Short name of the user's owner organization
Last name of the user
Middle name of the user
First name of the user
Email address of the user
Email address used for internal communications within NexPort Campus
User's title prefix
User's nickname
Full name of the owner org
Not authorized to view users
Entity not found
Validation exception
Returns all the users with at least a partial match to the search term as part of their login,
first name, last name, or email. Sorted by last name, first name, then login, in alphabetical order.
This will only search in organizations in which the method caller has the appropriate permissions.
Requires the View Users permission.
Which page of results to start on
Use the AdminApi Authenticate method to get the access_token
List of users
Contains user information
Id of the user
00000000-0000-0000-0000-000000000000Id of the user's owner organization
00000000-0000-0000-0000-000000000000Short name of the user's owner organization
Last name of the user
Middle name of the user
First name of the user
Email address of the user
Email address used for internal communications within NexPort Campus
User's title prefix
User's nickname
Full name of the owner org
Not authorized to view users
Validation exception. See response body for more info.
Get contact information for a user based on their user id or their login. Throws a ValidationException
if both user_id and login fields are present.
Requires the View User Profiles permission in either the user's owner org, its ancestors, or any of the
user's subscription organizations, or their ancestors.
Login of the user to get the contact information for
Use the AdminApi Authenticate method to get the access_token
Address and contact information
Inherits all fields from UserContactInfoBase, used in GetUserContactInfo api method.
Id of the user this contact information belongs to
00000000-0000-0000-0000-000000000000First line of user's address
Second line of user's address
User's city
User's state
User's country
User's postal code
User's phone number
User's mobile phone number
User's fax number
Caption
Not authorized to view user contact information
Entity not found
Validation exception
Creates a group under the given parent group or organization. Requires the AddGroup permission
in the specified parent or one of it's ancestors.
Use the AdminApi Authenticate method to get the access_token
The name of the new group
Short name must be unique within the system...if any other groups have the same group name then an error will be thrown
Any string value that can be used for tracking groups later
Description of the group
ID of the group or organization that this new group will be created under.
00000000-0000-0000-0000-000000000000Id of created group
00000000-0000-0000-0000-000000000000Not authorized to create a group in the given parent
Entity not found or duplicate login
Validation exception. See response body for more info.
Creates memberships in each of the given groups. This call is atomic. If one membership creation fails then they will all fail. Requires the AddMembership permission
in the specified group or one of it's ancestors.
Use the AdminApi Authenticate method to get the access_token
Create membership request object
The the groups to give the user a membership in
ID of the user to give memberships in each of the listed groups. The user must have subscriptions in the orgs that the groups belong to.
00000000-0000-0000-0000-000000000000Memberships were successfully created
Create membership response object
Not authorized to add memberships to the given group
Entity not found or duplicate login
Validation exception. See response body for more info.
Remove memberships in each of the given groups. This call is atomic. If one membership removal fails then they will all fail.
Use the AdminApi Authenticate method to get the access_token
Remove membership request object
The list of membership group Ids to be removed
The user Id that will be used to remove the group membership(s)
00000000-0000-0000-0000-000000000000The list of membership Ids to be removed
Memberships were successfully removed
Remove membership response object
Not authorized to remove memberships from the given group
Entity not found or duplicate login
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
Contains fields for editing a user's profile
Id of the user whose information is being edited. Use either this OR login.
00000000-0000-0000-0000-000000000000Login of the user whose information is being edited. User either this OR user_id.
First name of the user
Middle name of the user
Last name of the user
User's email address
User's title prefix
User's nickname
Edited user information
Contains information about the edited user
Id of the edited user
00000000-0000-0000-0000-000000000000Not authorized to view/edit users
Entity not found
Validation exception
Creates a subscription with the information specified by request. Requires the Add Subscriptions permission.
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating a new subscription
Id of the subscription's organization
00000000-0000-0000-0000-000000000000The user id to create the subscription for
00000000-0000-0000-0000-000000000000Id of created subscription
Contains the id of the enrollment created by the CreateEnrollment web api method
Id of the created subscription
00000000-0000-0000-0000-000000000000Not authorized to create a subscription
Entity not found or duplicate subscription
Validation exception
Use the AdminApi Authenticate method to get the access_token
Subscription information
Contains relevant details about a user subscription
Id of the subscription
00000000-0000-0000-0000-000000000000Id of the user this subscription belongs to
00000000-0000-0000-0000-000000000000Id of the organization this subscription belongs to
00000000-0000-0000-0000-000000000000Name of the organization this subscription belongs to
Short name of the organization this subscription belongs to
When this subscription was created
When this subscription was last updated
The billing code for this subscription
When this subscription expires
True if disabled, false if not disabled
Not authorized to view subscriptions
Entity not found
Validation exception
Login of the user to get subscriptions for
Which page of results to start on
Use the AdminApi Authenticate method to get the access_token
List of subscriptions
Contains relevant details about a user subscription
Id of the subscription
00000000-0000-0000-0000-000000000000Id of the user this subscription belongs to
00000000-0000-0000-0000-000000000000Id of the organization this subscription belongs to
00000000-0000-0000-0000-000000000000Name of the organization this subscription belongs to
Short name of the organization this subscription belongs to
When this subscription was created
When this subscription was last updated
The billing code for this subscription
When this subscription expires
True if disabled, false if not disabled
Not authorized to view subscriptions
Entity not found
Validation exception
The request page of results
Number of results to return on each page
Use the AdminApi Authenticate method to get the access_token
Limit the results to only subscriptions for these users
Limit the results to only subscriptions to these organizations
Only return subscriptions expiring before this date
Only return subscriptions expiring after this date
Only return subscriptions createa before this date
Only return subscriptions created AFTER this date
Subscription search results successfully returned
Results of a subscription search call
The one based index of the current page
Requested page size
Number of records across ALL pages
Not authorized to view subscriptions
Entity not found
Validation exception
Enables or disables a subscription. Requires the Update Subscriptions permission in the subscription
organization or an ancestor.
Use the AdminApi Authenticate method to get the access_token
Contains information for enabling or disabling a subscription
Id of the subscription to enable or disable
00000000-0000-0000-0000-000000000000Enable or disable this subscription. Setting this to false enables the subscription. Setting it to true will disable it.
Whether the subscription is disabled after the method call
Contains information about the subscription that was enabled/disabled. You can use this to verify that the call to DisableSubscription had the intended effect on the subscription if no errors are thrown.
Id of the subscription that was enabled/disabled
00000000-0000-0000-0000-000000000000True if subscription is disabled, false otherwise
Not authorized to update subscriptions
Entity not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
The Subscription Id
00000000-0000-0000-0000-000000000000The status that should be set on this subscription. Use empty string to set the subscription status to the default subscription status.
Subscription Id, Current Subscription Status, Previous Subscription Status, and the date the new Subscription Status was set
Id of the Subscription
00000000-0000-0000-0000-000000000000The current subscription status
The previous subscription status
The datetime the status was last changed
Not authorized to update subscriptions
Subscription or Subscription Status not found
Validation exception. See response body for more info.
Gets all the custom profile fields available to an organization, or a field matching an id in a given org.
Use the AdminApi Authenticate method to get the access_token
List of custom profile fields
Contains information for a single custom profile field
Id of the custom profile field
00000000-0000-0000-0000-000000000000Represents the name of the custom profile field
Key of the custom profile field
Description of the custom profile field
Type of custom profile field. None=0; Text=1; DateTime=2; Boolean=3; Numeric=4; Email=5; SelectDropDown=6; DateOnly=7; SelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field
Id of the organization this custom profile field belongs to
00000000-0000-0000-0000-000000000000Short name of the organization this custom profile field belongs to
Entity not found
Validation exception. See response body for more info.
Gets the custom profile field values based on the given criteria, with DateTime fields being in UTC.
Key of the custom profile field to get the value for
Use the AdminApi Authenticate method to get the access_token
List of custom profile field values
Contains information for a single custom profile field value
Represents the name of the custom field
Key of the custom field
Custom field value
Id of the subscription organization this custom profile field value belongs to
00000000-0000-0000-0000-000000000000Short name of the subscription organization this custom profile field value belongs to
Id of the field this custom profile field value corresponds to
00000000-0000-0000-0000-000000000000Type of custom profile field this value belongs to. None=0; Text=1; DateTime=2; Boolean=3; Numeric=4; Email=5; SelectDropDown=6; DateOnly=7; SelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field
Date/Time that the value was last modified
Not authorized to view user profiles
Entity not found
Validation exception
Sets the custom profile field values for a subscription based on
the subscriber id and key/value pairs in the request.
Use the AdminApi Authenticate method to get the access_token
Contains id of the subscription and the custom fields/values to set
Id of the subscription to set the custom values for
00000000-0000-0000-0000-000000000000Error information
Used to inform the method caller if any of the passed in fields are invalid. Message may contain additional error information.
Contains additional information about the type of error that occurred
Not authorized to edit profiles
Entity not found
Validation exception. See response body for more info.
Returns a list of organizations and groups that matches the search term with their name or short name. Each item in the list will contain
the id of the organization/group, name, short name and the type.
Results are in alphabetical order by name followed by the short name.
0 = Disjunction, 1 = Conjunction
The organization/group name
Which page of results to start on
Use the AdminApi Authenticate method to get the access_token
List of organizations and groups
Contains organization/group name, short name
Id of an organization or a group
00000000-0000-0000-0000-000000000000Id of the parent organization (if existed)
00000000-0000-0000-0000-000000000000Name of the organization or the group
Short name of the organization or the group
Type of the directory, either an organization or a group
Entity not found
Validation exception
Returns a list of sub organizations (as well as the parent organization)
corresponding to the given id or short name. Each item in the list will contain
the org id, org name, and org short name.
Results are in alphabetical order by org name.
Which page of results to start on
Use the AdminApi Authenticate method to get the access_token
List of organizations
Contains organization name, short name, and custom fields
Id of the organization
00000000-0000-0000-0000-000000000000Name of the organization
Short name of the organization
Entity not found
Validation exception
Use the AdminApi Authenticate method to get the access_token
Model used for Request
The User Id
00000000-0000-0000-0000-000000000000The Group Id
00000000-0000-0000-0000-000000000000The Permission. From PermissionAttribute on Role Properties.
Is Permitted
Not authorized to view groups
Entity not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
The Request object used for AdminApiController.SearchGroupsForPermission
The User Id
00000000-0000-0000-0000-000000000000The Organization Id to look for permissions under.
00000000-0000-0000-0000-000000000000The Permission Attribute Name Value from the Role class
The page to return
The number of items per page
List of organizations and groups
The Request object used for AdminApiController.SearchGroupsForPermission
The one based index of the current page
Requested page size
Number of records across ALL pages
Not authorized to search for groups
Validation exception. See response body for more info.
Last updated