# Training Unit
Use this API to create training units used in Cornerstone Learning's Extended Enterprise module.
# Create Training Unit Assignment
This endpoint replicates the functionality of creating new training unit assignments in the Extended Enterprise (EXE) module of Cornerstone Learning. All business rules configured in your Cornerstone portal are observed for this call.
The API observes the following presets while processing the request:
- Assignment Type = Standard
- Distribution Method = Key Code
- Scheduling = Immediately
- Email Notifications = System Defaults
- Expiration Type = Fixed Date
Permission Required: Training Unit Assignment - View
OAuth 2.0 Scope: trainingunit:create
# Error Descriptions
Handled Error List
Error Types | Error Message |
---|---|
AssignmentTitle | Invalid AssignmentTitle (provide value passed). |
SchedulingDate | Invalid SchedulingDate (provide value passed). |
ExpirationDate | Invalid ExpirationDate (provide value passed). |
Amount | Invalid Amount (provide value passed). |
KeyCode | Invalid KeyCode (Not valid – provide value passed or duplicate). |
Contact | Contact Not Found (provide value passed). |
OU | OU Not Found (provide value passed). |
TrainingUnitItem | Invalid TrainingUnit Details (provide value passed). |
Comments | Invalid Additional Comments (provide value passed). |