Stage 3: User Management
User management is critical for B2B partners managing evaluation traders. This stage validates your integration’s ability to create, manage, and terminate users within the evaluation system.
Overview
The user management stage ensures your application can:
- Create evaluation users with proper configuration
- Manage user entitlements and permissions
- Terminate users and clean up associated resources
- Handle user lifecycle events and state changes
Required Tests
1. User Creation
Endpoint: POST /user/createevaluationusers
Purpose: Create new evaluation users for the trading platform.
Test Steps:
- Create a single evaluation user with valid parameters
- Optionally, create multiple users in batch (up to 100)
- Store the user ID in your system for future reference
Example Request:
Batch User Creation:
Expected Response:
Validation Criteria:
- ✅ Users are created successfully with valid data
- ✅ Batch creation works for multiple users
- ✅ User data is stored correctly
- ✅ Duplicate usernames/emails are rejected
- ✅ Invalid data returns appropriate errors
2. Contact Information Management (Optional)
Endpoint: POST /contactinfo/updatecontactinfo
Purpose: Update user contact information after user creation, this is optional but recommended.
Test Steps:
- Update user contact information with valid data
- Verify contact information is updated correctly
- Test error handling for invalid contact data
- Verify contact information validation rules
Example Request:
Expected Response:
Validation Criteria:
- ✅ Contact information is updated successfully
- ✅ Phone number validation works correctly
- ✅ Address validation works correctly
- ✅ Invalid data returns appropriate errors
- ✅ User ID validation works correctly
3. Entitlement Management
Endpoints:
POST /userPlugin/addentitlementsubscriptionPOST /user/canceleverything
Purpose: Manage user Sim+ entitlement.
Test Steps:
- Wait for user to be verified (they must sign the Market Data Agreement)
- Add Sim+ entitlement subscriptions to verified users
- Cancel all subscriptions and permissions for users at the end of their lifecycle
Add Entitlement Subscription:
Cancel Everything (All Subscriptions and Permissions):
Expected Response for Add Entitlement:
Expected Response for Cancel Everything:
Validation Criteria:
- ✅ Agreement signatures are checked before adding entitlements
- ✅ Entitlements are only added for users with pending agreements (no ‘complete’ field)
- ✅ Alert signals are completed after successful entitlement addition
- ✅ Entitlement subscriptions are added successfully
- ✅ Required entitlementId parameter is validated
- ✅ Cancel everything works for multiple users
- ✅ All subscription types are cancelled when requested
- ✅ Invalid entitlement operations are rejected
- ✅ Entitlement changes are reflected immediately
- ✅ Billing and payment handling works correctly
User Lifecycle Management
Required Fields for User Creation
name: Unique username (3-64 characters)email: Valid email address (max 64 characters)password: Secure password (8-64 characters)firstName: First name (max 64 characters)lastName: Last name (2-64 characters)
Optional Fields
tradovateSubscriptionPlanId: Organization-specific subscription plan ID (integer > 0)entitlementIds: Array of entitlement IDs to pre-assign (array of integers)- NOTE: Do not pass the Sim+ entitlement here, users are not valid until they sign the Market Data Agreement
Testing Checklist
- Single user creation works correctly
- Batch user creation works for multiple users
- User data validation works properly
- Duplicate user prevention works
- Subscription management functions correctly
- User termination works properly
- Resource cleanup is complete
- Error handling is robust
- Performance requirements are met
- Security requirements are satisfied
Next Steps
After completing Stage 3 user management tests, proceed to Stage 4: Account Management.

