AdminApi

Used to retrieve an authentication token for NexPort API Requests.

post

Used to retrieve an authentication token for NexPort API Requests. Will not work for system operators or users with the customer service role. The client makes a request to the token endpoint by adding the following parameters using the "application/x-www-form-urlencoded" format per Appendix B with a character encoding of UTF-8 in the HTTP request entity-body.

Body

Contains information for obtaining an authentication token

usernamestringRequired

Username for user requesting token

passwordstringRequired

Password for user requesting token

grant_typestringRequired

Only "password" is supported currently

scopestringOptional

Scope of the access request

utc_expiration_datestring · date-timeOptional

Optional expiration date for the token (set to null for no expiration)

Responses
200

Authentication Token Information

post
POST /api/v1/AdminApi/Authenticate HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 121

{
  "username": "text",
  "password": "text",
  "grant_type": "text",
  "scope": "text",
  "utc_expiration_date": "2025-09-13T11:10:18.678Z"
}
{
  "access_token": "00000000-0000-0000-0000-000000000000",
  "token_type": "text",
  "expires_in": 1,
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

get
Query parameters
access_tokenstring · uuidRequired
Responses
200

Validation results

get
GET /api/v1/AdminApi/ValidateAccessToken HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
  "utc_expiration_date": "2025-09-13T11:10:18.678Z",
  "error_message": "text",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Creates a user with the information specified by request. Requires the Create Users permission in the specified owner org or any ancestors.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains fields for creating a new user

owner_org_idstring · uuidRequired

Id of the user's owner organization

Example: 00000000-0000-0000-0000-000000000000
loginstringRequired

The login for this account

passwordstringRequired

The password for this account

first_namestringRequired

First name of the user

middle_namestringOptional

Middle name of the user

last_namestringRequired

Last name of the user

emailstringOptional

Email address of the user

titlestringOptional

User's title prefix

nicknamestringOptional

User's nickname

Responses
200

Id of created user

post
POST /api/v1/AdminApi/CreateUser HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 448

{
  "owner_org_id": "00000000-0000-0000-0000-000000000000",
  "login": "text",
  "password": "text",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "email": "text",
  "title": "text",
  "nickname": "text",
  "contact_info": {
    "address_line_1": "text",
    "address_line_2": "text",
    "city": "text",
    "state": "text",
    "country": "text",
    "postal_code": "text",
    "phone": "text",
    "mobile": "text",
    "fax": "text",
    "caption": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text"
    }
  }
}
{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

get
Query parameters
loginstringOptional

Login of the user to get

user_idstring · uuidOptional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

User information

get
GET /api/v1/AdminApi/GetUser HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "owner_org_id": "00000000-0000-0000-0000-000000000000",
  "owner_org_short_name": "text",
  "last_name": "text",
  "middle_name": "text",
  "first_name": "text",
  "email": "text",
  "internal-email": "text",
  "title": "text",
  "nickname": "text",
  "owner_org_name": "text",
  "owner_org": {
    "org_id": "00000000-0000-0000-0000-000000000000",
    "name": "text",
    "short_name": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  },
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

get
Query parameters
loginstringRequired

User's nexport username

passwordstringRequired

User's password

access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

User information

get
GET /api/v1/AdminApi/AuthenticateUser HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "owner_org_id": "00000000-0000-0000-0000-000000000000",
  "owner_org_short_name": "text",
  "last_name": "text",
  "middle_name": "text",
  "first_name": "text",
  "email": "text",
  "internal-email": "text",
  "title": "text",
  "nickname": "text",
  "owner_org_name": "text",
  "owner_org": {
    "org_id": "00000000-0000-0000-0000-000000000000",
    "name": "text",
    "short_name": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  },
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

get
Query parameters
search_termstringOptional
pageinteger · int32Optional

Which page of results to start on

per_pageinteger · int32Optional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of users

get
GET /api/v1/AdminApi/GetUsers HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "user_id": "00000000-0000-0000-0000-000000000000",
    "owner_org_id": "00000000-0000-0000-0000-000000000000",
    "owner_org_short_name": "text",
    "last_name": "text",
    "middle_name": "text",
    "first_name": "text",
    "email": "text",
    "internal-email": "text",
    "title": "text",
    "nickname": "text",
    "owner_org_name": "text",
    "owner_org": {
      "org_id": "00000000-0000-0000-0000-000000000000",
      "name": "text",
      "short_name": "text",
      "api_error_entity": {
        "error_code": 0,
        "error_message": "text",
        "warning_messages": [
          "text"
        ]
      }
    },
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

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.

get
Query parameters
user_idstring · uuidOptional
loginstringOptional

Login of the user to get the contact information for

access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

Address and contact information

get
GET /api/v1/AdminApi/GetUserContactInformation HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "address_line_1": "text",
  "address_line_2": "text",
  "city": "text",
  "state": "text",
  "country": "text",
  "postal_code": "text",
  "phone": "text",
  "mobile": "text",
  "fax": "text",
  "caption": "text",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Creates a group under the given parent group or organization. Requires the AddGroup permission in the specified parent or one of it's ancestors.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body
namestringRequired

The name of the new group

short_namestringRequired

Short name must be unique within the system...if any other groups have the same group name then an error will be thrown

billing_codestringRequired

Any string value that can be used for tracking groups later

descriptionstringRequired

Description of the group

parent_idstring · uuidRequired

ID of the group or organization that this new group will be created under.

Example: 00000000-0000-0000-0000-000000000000
Responses
200

Id of created group

post
POST /api/v1/AdminApi/CreateGroup HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 129

{
  "name": "text",
  "short_name": "text",
  "billing_code": "text",
  "description": "text",
  "parent_id": "00000000-0000-0000-0000-000000000000"
}
{
  "group_id": "00000000-0000-0000-0000-000000000000",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Create membership request object

groupsstring · uuid[]Required

The the groups to give the user a membership in

user_idstring · uuidRequired

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.

Example: 00000000-0000-0000-0000-000000000000
Responses
200

Memberships were successfully created

post
POST /api/v1/AdminApi/CreateMembership HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "groups": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "user_id": "00000000-0000-0000-0000-000000000000"
}
{
  "memberships": [
    {
      "membership_id": "00000000-0000-0000-0000-000000000000",
      "group_id": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Remove memberships in each of the given groups. This call is atomic. If one membership removal fails then they will all fail.

post

Requires either a user Id and the list of group Ids OR the list of membership Ids.

###Permission requirements Requires the RemoveMemberships permission in the specified group or one of it's ancestors.

Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Remove membership request object

groupsstring · uuid[]Optional

The list of membership group Ids to be removed

user_idstring · uuidOptional

The user Id that will be used to remove the group membership(s)

Example: 00000000-0000-0000-0000-000000000000
membershipsstring · uuid[]Optional

The list of membership Ids to be removed

Responses
200

Memberships were successfully removed

post
POST /api/v1/AdminApi/RemoveMembership HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 155

{
  "groups": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "user_id": "00000000-0000-0000-0000-000000000000",
  "memberships": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
{
  "memberships": [
    {
      "membership_id": "00000000-0000-0000-0000-000000000000",
      "group_id": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Edits user information

post

Edits user information (including contact information) based on given input. Use either user_id OR login to specify the user to edit. If a field is not passed in, the value will remain unchanged. ###Permission requirements

For editing your own profile:

  • Editing contact information requires the Edit User Profile permission.

For editing another profile:

  • Requires the View User Profiles permission.

  • Editing basic information (primary email, prefix title, nickname) requires the Edit User Profile permission.

  • Editing name (first, middle, last) requires the Edit User Profile permission AND the target user's owner organization must have Allow Admin User Edit set to true.

  • Editing contact information requires the Edit User Profile permission.

Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains fields for editing a user's profile

user_idstring · uuidOptional

Id of the user whose information is being edited. Use either this OR login.

Example: 00000000-0000-0000-0000-000000000000
loginstringOptional

Login of the user whose information is being edited. User either this OR user_id.

first_namestringOptional

First name of the user

middle_namestringOptional

Middle name of the user

last_namestringOptional

Last name of the user

emailstringOptional

User's email address

titlestringOptional

User's title prefix

nicknamestringOptional

User's nickname

Responses
200

Edited user information

post
POST /api/v1/AdminApi/EditUser HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 425

{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "login": "text",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "email": "text",
  "title": "text",
  "nickname": "text",
  "contact_info": {
    "address_line_1": "text",
    "address_line_2": "text",
    "city": "text",
    "state": "text",
    "country": "text",
    "postal_code": "text",
    "phone": "text",
    "mobile": "text",
    "fax": "text",
    "caption": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text"
    }
  }
}
{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Creates a subscription with the information specified by request. Requires the Add Subscriptions permission.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains fields for creating a new subscription

org_idstring · uuidRequired

Id of the subscription's organization

Example: 00000000-0000-0000-0000-000000000000
user_idstring · uuidRequired

The user id to create the subscription for

Example: 00000000-0000-0000-0000-000000000000
Responses
200

Id of created subscription

post
POST /api/v1/AdminApi/CreateSubscription HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 98

{
  "org_id": "00000000-0000-0000-0000-000000000000",
  "user_id": "00000000-0000-0000-0000-000000000000"
}
{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Gets subscription information for the user in the organization.

get

Gets subscription information for the user in the organization. Valid parameter combinations are:

  • user_id and org_short_name

  • user_id and org_id

  • subscription_id

###Permissions Requires the View User Subscriptions permission in the subscription organization or an ancestor.

Query parameters
user_idstring · uuidOptional
org_short_namestringOptional
org_idstring · uuidOptional
subscription_idstring · uuidOptional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

Subscription information

get
GET /api/v1/AdminApi/GetSubscription HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "user_id": "00000000-0000-0000-0000-000000000000",
  "org_id": "00000000-0000-0000-0000-000000000000",
  "org_name": "text",
  "org_shortname": "text",
  "utc_date_created": "2025-09-13T11:10:18.678Z",
  "utc_date_updated": "2025-09-13T11:10:18.678Z",
  "billing_code": "text",
  "utc_expiration_date": "2025-09-13T11:10:18.678Z",
  "is_disabled": true,
  "subscription_status": {
    "current_status_name": "text",
    "previous_status_name": "text",
    "status_date_set": "2025-09-13T11:10:18.678Z"
  },
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}
Deprecated

Get subscription information for a user or an organization.

get

Use either user_id OR login OR org_id. If searching by user, results will be ordered by the subscription UtcExpirationDate from earliest to latest. If searching by org, results will be ordered by the subscription user last name then first name in alphabetical order. Requires the View User Subscriptions permission in the target user's organization if viewing user subscriptions and the Add, Remove, or Update Subscriptions permission in the given organization if viewing organization subscriptions.

Query parameters
user_idstring · uuidOptional
loginstringOptional

Login of the user to get subscriptions for

org_idstring · uuidOptional
pageinteger · int32Optional

Which page of results to start on

per_pageinteger · int32Optional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of subscriptions

get
GET /api/v1/AdminApi/GetSubscriptions HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "subscription_id": "00000000-0000-0000-0000-000000000000",
    "user_id": "00000000-0000-0000-0000-000000000000",
    "org_id": "00000000-0000-0000-0000-000000000000",
    "org_name": "text",
    "org_shortname": "text",
    "utc_date_created": "2025-09-13T11:10:18.678Z",
    "utc_date_updated": "2025-09-13T11:10:18.678Z",
    "billing_code": "text",
    "utc_expiration_date": "2025-09-13T11:10:18.678Z",
    "is_disabled": true,
    "subscription_status": {
      "current_status_name": "text",
      "previous_status_name": "text",
      "status_date_set": "2025-09-13T11:10:18.678Z"
    },
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

Search subscription information for a user or an organization.

post

At least one user id OR one org id must be specified.

Results will be ordered by the subscription Creation Date from earliest to latest. ###Permissions Requires the View User Subscriptions permission in the target user's organization if viewing user subscriptions and the Add, Remove, or Update Subscriptions permission in the given organization if viewing organization subscriptions.

Query parameters
pageinteger · int32Optional

The request page of results

per_pageinteger · int32Optional

Number of results to return on each page

access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body
user_idsstring · uuid[]Optional

Limit the results to only subscriptions for these users

org_idsstring · uuid[]Optional

Limit the results to only subscriptions to these organizations

utc_expires_beforestring · date-timeOptional

Only return subscriptions expiring before this date

utc_expires_afterstring · date-timeOptional

Only return subscriptions expiring after this date

utc_create_beforestring · date-timeOptional

Only return subscriptions createa before this date

utc_create_afterstring · date-timeOptional

Only return subscriptions created AFTER this date

Responses
200

Subscription search results successfully returned

post
POST /api/v1/AdminApi/SearchSubscriptions HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 386

{
  "user_ids": [
    "27c2cbbf-5ad9-4340-bf21-d2a4db371e04",
    "9b26cafe-a14e-4b47-9bfb-cdba65a479a9"
  ],
  "org_ids": [
    "cad4a303-cf06-4321-bd00-5db3d468f740",
    "a53924e4-6e31-4e03-8b8e-8eb395fbead7"
  ],
  "utc_expires_before": "2025-09-13T08:19:43.8672092Z",
  "utc_expires_after": "2027-09-13T08:19:43.8672092Z",
  "utc_create_before": "2025-09-12T08:19:43.8672092Z",
  "utc_create_after": "2025-08-24T08:19:43.8672092Z"
}
{
  "subscriptions": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "subscription_id": "00000000-0000-0000-0000-000000000000",
      "user_id": "00000000-0000-0000-0000-000000000000",
      "org_id": "00000000-0000-0000-0000-000000000000",
      "org_name": "Test Organization",
      "org_shortname": "testorg",
      "utc_date_created": "0001-01-01T00:00:00",
      "is_disabled": false,
      "api_error_entity": {
        "error_code": 0,
        "warning_messages": []
      }
    }
  ],
  "page": 5,
  "page_size": 15,
  "total_count": 28,
  "api_error_entity": {
    "error_code": 0,
    "warning_messages": []
  }
}

Enables or disables a subscription. Requires the Update Subscriptions permission in the subscription organization or an ancestor.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains information for enabling or disabling a subscription

subscription_idstring · uuidRequired

Id of the subscription to enable or disable

Example: 00000000-0000-0000-0000-000000000000
disablebooleanOptional

Enable or disable this subscription. Setting this to false enables the subscription. Setting it to true will disable it.

Responses
200

Whether the subscription is disabled after the method call

post
POST /api/v1/AdminApi/DisableSubscription HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "disable": true
}
{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "disabled": true,
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Sets the Subscription Status on the Subscription.

post

Sets the subscription status for the supplied subscriber. Subscription status name is case sensitive and must be a pre existing status. This action will not create a status that does not exist. You can send an empty string for the subscription status if you want to set it back to the default subscription status. ###Permissions Requirements Requires the Update Subscriptions permission in the specified org or an ancestor.

Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body
subscription_idstring · uuidRequired

The Subscription Id

Example: 00000000-0000-0000-0000-000000000000
subscription_statusstringRequired

The status that should be set on this subscription. Use empty string to set the subscription status to the default subscription status.

Responses
200

Subscription Id, Current Subscription Status, Previous Subscription Status, and the date the new Subscription Status was set

post
POST /api/v1/AdminApi/SetSubscriptionStatus HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 87

{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "subscription_status": "text"
}
{
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "current_subscription_status": "text",
  "previous_scubscription_status": "text",
  "status_date_set": "2025-09-13T11:10:18.678Z",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Gets all the custom profile fields available to an organization, or a field matching an id in a given org.

get

Will throw a CustomFieldNotFound exception if no custom profile field exists with the given field id.

Query parameters
org_idstring · uuidRequired
field_idstring · uuidOptional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of custom profile fields

get
GET /api/v1/AdminApi/GetCustomProfileFields HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "field_id": "00000000-0000-0000-0000-000000000000",
    "name": "text",
    "key": "text",
    "description": "text",
    "type": 0,
    "org_id": "00000000-0000-0000-0000-000000000000",
    "org_short_name": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

Gets the custom profile field values based on the given criteria, with DateTime fields being in UTC.

get

Valid argument combinations are: subscriber_id; user_id and org_id; subscriber_id and key; user_id, org_id, and key. Requires the View User Profiles permission for the subscription organization or an ancestor.

Query parameters
subscriber_idstring · uuidOptional
user_idstring · uuidOptional
org_idstring · uuidOptional
keystringOptional

Key of the custom profile field to get the value for

access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of custom profile field values

get
GET /api/v1/AdminApi/GetCustomProfileFieldValues HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "name": "text",
    "key": "text",
    "value": "text",
    "org_id": "00000000-0000-0000-0000-000000000000",
    "org_short_name": "text",
    "field_id": "00000000-0000-0000-0000-000000000000",
    "type": 0,
    "utc_date_modified": "2025-09-13T11:10:18.678Z",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

Sets the custom profile field values for a subscription based on the subscriber id and key/value pairs in the request.

post

All fields that can be set will be set and any fields that are not found will be ignored. Warnings will be added to the {Nexport.WebApi.Model.v1.ApiErrorEntity} property's warnings collection and the ItemNotFound error code set. ###Permissions This method requires the Edit User Profile permission in the subscription organization or an ancestor.

Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Contains id of the subscription and the custom fields/values to set

subscriber_idstring · uuidRequired

Id of the subscription to set the custom values for

Example: 00000000-0000-0000-0000-000000000000
Responses
200

Error information

post
POST /api/v1/AdminApi/SetCustomProfileFieldValues HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 246

{
  "subscriber_id": "f2a24534-6f54-4da8-801e-8d56deda0a3d",
  "subscriber_pair": {
    "user_id": "0c6111fb-0ded-4e95-aa65-c398c09b54da",
    "org_id": "e573229b-0515-48e5-9a2f-da0639a59d01"
  },
  "custom_profile_field_values": {
    "gender": "male",
    "badge_number": "5434533"
  }
}
{
  "message": "text",
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

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.

get
Query parameters
search_operatorinteger · enumRequired

0 = Disjunction, 1 = Conjunction

Possible values:
base_org_idstring · uuidRequired
namestringOptional

The organization/group name

short_namestringOptional
pageinteger · int32Optional

Which page of results to start on

per_pageinteger · int32Optional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of organizations and groups

get
GET /api/v1/AdminApi/SearchDirectory HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "parent_org_id": "00000000-0000-0000-0000-000000000000",
    "name": "text",
    "short_name": "text",
    "type": 1,
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

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.

get
Query parameters
org_idstring · uuidOptional
org_short_namestringOptional
pageinteger · int32Optional

Which page of results to start on

per_pageinteger · int32Optional
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Responses
200

List of organizations

get
GET /api/v1/AdminApi/GetOrganizations HTTP/1.1
Host: www.nexportcampus.com
Accept: */*
[
  {
    "org_id": "00000000-0000-0000-0000-000000000000",
    "name": "text",
    "short_name": "text",
    "api_error_entity": {
      "error_code": 0,
      "error_message": "text",
      "warning_messages": [
        "text"
      ]
    }
  }
]

Checks if the given user has permission on a group.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

Model used for Request

user_idstring · uuidRequired

The User Id

Example: 00000000-0000-0000-0000-000000000000
group_idstring · uuidRequired

The Group Id

Example: 00000000-0000-0000-0000-000000000000
permissionstringRequired

The Permission. From PermissionAttribute on Role Properties.

Responses
200

Is Permitted

post
POST /api/v1/AdminApi/HasGroupPermission HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "group_id": "00000000-0000-0000-0000-000000000000",
  "permission": "text"
}
{
  "is_permitted": true,
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}

Searches for groups on which the given user has permission.

post
Query parameters
access_tokenstringRequired

Use the AdminApi Authenticate method to get the access_token

Body

The Request object used for AdminApiController.SearchGroupsForPermission

user_idstring · uuidRequired

The User Id

Example: 00000000-0000-0000-0000-000000000000
org_idstring · uuidRequired

The Organization Id to look for permissions under.

Example: 00000000-0000-0000-0000-000000000000
permissionstringRequired

The Permission Attribute Name Value from the Role class

pageinteger · int32Optional

The page to return

per_pageinteger · int32Optional

The number of items per page

Responses
200

List of organizations and groups

post
POST /api/v1/AdminApi/SearchGroupsForPermission HTTP/1.1
Host: www.nexportcampus.com
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "user_id": "00000000-0000-0000-0000-000000000000",
  "org_id": "00000000-0000-0000-0000-000000000000",
  "permission": "text",
  "page": 1,
  "per_page": 1
}
{
  "groups": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "parent_org_id": "00000000-0000-0000-0000-000000000000",
      "name": "text",
      "short_name": "text",
      "type": 1,
      "api_error_entity": {
        "error_code": 0,
        "error_message": "text",
        "warning_messages": [
          "text"
        ]
      }
    }
  ],
  "page": 1,
  "page_size": 1,
  "total_count": 1,
  "api_error_entity": {
    "error_code": 0,
    "error_message": "text",
    "warning_messages": [
      "text"
    ]
  }
}