Skip to content

API Quick Reference ​

Essential Information ​

ItemValue
Base URLhttps://engagifii-trainingandaccreditation.azurewebsites.net
API Versionv1
Required Headertenant-code: YOUR_TENANT_CODE
Content Typeapplication/json
Auth (Optional)Authorization: Bearer {token}
Rate Limit1000 requests/minute

Most Common Endpoints ​

Awards & Certifications ​

MethodEndpointDescription
GET/api/v1/Awards/ListList all awards
GET/api/v1/Awards/{id}Get award details
POST/api/v1/AwardsCreate award
PUT/api/v1/Awards/{id}Update award
DELETE/api/v1/Awards/{id}Delete award
POST/api/v1/AwardsRegistration/RegisterMemberRegister for award
GET/api/v1/Awards/{id}/AwardStatsGet award statistics

Classes & Sessions ​

MethodEndpointDescription
GET/api/v1/Classes/ListList all classes
GET/api/v1/Classes/{id}Get class details
POST/api/v1/ClassesCreate class
PUT/api/v1/Classes/{id}Update class
POST/api/v1/registration/ClassRegistrationRegister for class
POST/api/v1/ClassAttendance/MarkAttendanceMark attendance
GET/api/v1/Classes/{id}/StatisticsGet class statistics

Courses ​

MethodEndpointDescription
GET/api/v1/Courses/ListList all courses
GET/api/v1/Courses/{id}Get course details
POST/api/v1/CoursesCreate course
PUT/api/v1/Courses/{id}Update course
GET/api/v1/Courses/{id}/CurriculumGet course curriculum

Registration Management ​

MethodEndpointDescription
POST/api/v1/registration/ClassRegistrationClass registration
POST/api/v1/AwardsRegistration/RegisterMemberAward registration
POST/api/v1/AwardsRegistration/ApproveRequestApprove registration
POST/api/v1/AwardsRegistration/RejectRequestReject registration
GET/api/v1/registration/{id}/statusCheck registration status

Credits ​

MethodEndpointDescription
GET/api/v1/CreditType/ListList credit types
POST/api/v1/CreditRequestsSubmit credit request
GET/api/v1/CoursesCreditsEarned/{memberId}Get credit history
POST/api/v1/CreditRequests/ApproveApprove credits

People & Organizations ​

MethodEndpointDescription
GET/api/v1/People/{id}Get person details
GET/api/v1/People/ListList all people
GET/api/v1/Organization/ListList organizations
GET/api/v1/Organization/{id}Get organization details

Quick Examples ​

1. Get Awards (cURL) ​

bash
curl -X GET "https://engagifii-trainingandaccreditation.azurewebsites.net/api/v1/Awards/List" \
  -H "tenant-code: YOUR_TENANT_CODE"

2. Register for Class (JavaScript) ​

javascript
fetch('https://engagifii-trainingandaccreditation.azurewebsites.net/api/v1/registration/ClassRegistration', {
  method: 'POST',
  headers: {
    'tenant-code': 'YOUR_TENANT_CODE',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    classId: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
    memberId: '9fa85f64-5717-4562-b3fc-2c963f66afa4',
    registrationType: 'Regular'
  })
});

3. Create Award (Python) ​

python
import requests

url = "https://engagifii-trainingandaccreditation.azurewebsites.net/api/v1/Awards"
headers = {
    "tenant-code": "YOUR_TENANT_CODE",
    "Content-Type": "application/json"
}
data = {
    "name": "New Certification",
    "description": "Professional certification",
    "price": 299.99,
    "isActive": True
}

response = requests.post(url, json=data, headers=headers)

Common Query Parameters ​

ParameterTypeDefaultDescription
pageint1Page number (1-based)
pageSizeint50Items per page (max: 200)
sortBystringvariesField to sort by
sortDirectionstringascSort order: asc or desc
includeInactiveboolfalseInclude inactive records
searchTermstring-Search across fields

Status Codes ​

CodeMeaningAction
200SuccessProcess response
201CreatedResource created
204No ContentOperation successful
400Bad RequestCheck validation
401UnauthorizedAdd authentication
403ForbiddenCheck permissions
404Not FoundVerify resource ID
409ConflictResolve conflict
422Business ErrorCheck business rules
429Rate LimitedWait and retry
500Server ErrorRetry with backoff

Common Error Codes ​

CodeDescriptionResolution
VALIDATION_ERRORInvalid inputCheck field requirements
REQUIRED_FIELDMissing fieldAdd required field
INVALID_FORMATWrong formatFix data format
AUTHENTICATION_REQUIREDNo authAdd credentials
TOKEN_EXPIREDExpired tokenRefresh token
INSUFFICIENT_PERMISSIONSNo accessRequest permissions
RESOURCE_NOT_FOUNDNot foundCheck ID
REGISTRATION_CLOSEDToo lateCheck dates
CAPACITY_EXCEEDEDFullJoin waitlist
RATE_LIMIT_EXCEEDEDToo manyWait 60s

Pagination Headers ​

HeaderDescription
X-Total-CountTotal items available
X-Page-CountTotal pages
X-Current-PageCurrent page
X-Page-SizeItems per page

Rate Limit Headers ​

HeaderDescription
X-RateLimit-LimitMax requests/minute
X-RateLimit-RemainingRequests left
X-RateLimit-ResetReset time (Unix)
Retry-AfterSeconds to wait

Data Types ​

TypeFormatExample
GUIDUUID v43fa85f64-5717-4562-b3fc-2c963f66afa6
DateTimeISO 86012024-01-15T10:30:00Z
DateISO 86012024-01-15
DecimalNumber99.99
BooleanBooltrue or false

Common Enums ​

Registration Status ​

  • Draft
  • Submitted
  • PendingApproval
  • Approved
  • Rejected
  • Registered
  • Waitlisted
  • Completed
  • Cancelled

Class Status ​

  • Draft
  • Published
  • RegistrationOpen
  • InProgress
  • Completed
  • Cancelled

Location Type ​

  • InPerson
  • Virtual
  • Hybrid
  • OnDemand

Payment Method ​

  • CreditCard
  • PurchaseOrder
  • Invoice
  • Free

Credit Type ​

  • CPE - Continuing Professional Education
  • CEU - Continuing Education Unit
  • PDH - Professional Development Hour
  • CLE - Continuing Legal Education
  • CME - Continuing Medical Education

Quick Tips ​

Authentication ​

javascript
// Always include tenant code
headers: {
  'tenant-code': 'YOUR_TENANT_CODE'
}

Error Handling ​

javascript
if (response.status === 429) {
  // Rate limited - wait and retry
  const retryAfter = response.headers.get('Retry-After');
  await sleep(retryAfter * 1000);
}

Pagination ​

javascript
// Get page 2 with 100 items
const url = '/api/v1/Awards/List?page=2&pageSize=100';

Date Filtering ​

javascript
// Filter by date
const url = '/api/v1/Awards/List?selectedDate=2024-01-15T00:00:00Z';

Sorting ​

javascript
// Sort by name descending
const url = '/api/v1/Awards/List?sortBy=name&sortDirection=desc';

Useful Resources ​

ResourceLink
Full DocumentationAPI Reference
Authentication GuideAuthentication
Error HandlingError Guide
Data ModelsData Models
Postman CollectionDownload
OpenAPI SpecOpenAPI
Swagger UILive Swagger

Support Contacts ​

  • API Issues: Include request ID in support ticket
  • Documentation: Report issues on GitHub
  • Emergency: Contact system administrator

Quick Reference v1.0 | Last Updated: January 2025