User Tools

Site Tools


sis_developer_manual

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sis_developer_manual [2025/07/29 03:50] – [Download and Install the Main Development Tools] ghacheysis_developer_manual [2025/07/29 05:02] (current) – [Building and Running Backend] ghachey
Line 187: Line 187:
 {{ :sis-developer-manual:swagger-1.jpg?nolink |}} {{ :sis-developer-manual:swagger-1.jpg?nolink |}}
  
 +==== Initialize First User ====
 +
 +You can use the API endpoint "/{tenant}/User/insertInitialDataAtRegistration" to initialize the first school and user. Use something like the follow payload.
 +
 +<code javascript> 
 +{
 +  "schoolName": "School Template",
 +  "userName": "Username",
 +  "emailAddress": "user@example.com",
 +  "password": "somepassword",
 +  "tenantName": "tenant",
 +  "apiDomain": "https://localhost:44309/",
 +  "schoolBeginDate": "2025-02-01",
 +  "schoolEndDate": "2025-11-30",
 +  "_userName": "string",
 +  "_tenantName": "string",
 +  "_token": "string",
 +  "_tokenExpiry": "2025-07-29T04:52:53.585Z",
 +  "_failure": true,
 +  "_message": "string",
 +  "_academicYear": 0
 +}
 +</code>
 ==== Install Frontend Dependencies ==== ==== Install Frontend Dependencies ====
  
sis_developer_manual.txt · Last modified: 2025/07/29 05:02 by ghachey