Department
| API | Description |
|---|---|
| POST api/Department/Add |
Adds a new department |
| POST api/Department/Update?departmentName={departmentName}&departmentId={departmentId} |
Updates existing department |
| GET api/Department/List |
Gets a list of all departments |
| GET api/Department/Get?departmentName={departmentName}&departmentId={departmentId} |
Gets a single department |
| DELETE api/Department/Delete?departmentName={departmentName}&departmentId={departmentId} |
Deletes a department |
| DELETE api/Department/DeletePositionFromDepartment?memberAbbreviation={memberAbbreviation}&departmentName={departmentName} |
Deletes a member from department |
UserAccount
| API | Description |
|---|---|
| GET api/UserAccount/List?username={username} |
Gets a list of all users (If username is provided returns single user) |
| GET api/UserAccount/GetByUsername/{username} |
Gets a single user |
| POST api/UserAccount/Add |
Adds a new user |
| POST api/UserAccount/Update?username={username} |
Updates existing user |
| POST api/UserAccount/Deactivate/{username} |
Deactivates a user |
| POST api/UserAccount/Activate/{username} |
Activates a user |
| POST api/UserAccount/AddPositions |
Assigns positions to a user |
Position
| API | Description |
|---|---|
| POST api/Position/Add |
Adds a new position |
| POST api/Position/Update?positionAbbreviation={positionAbbreviation}&positionNumber={positionNumber}&positionId={positionId} |
Updates existing position |
| GET api/Position/List?username={username} |
Gets a list of all positions (If username is provided gets a list of positions for user) |
| GET api/Position/Get?positionAbbreviation={positionAbbreviation}&positionNumber={positionNumber}&positionId={positionId} |
Gets a single position |
| DELETE api/Position/Delete?positionAbbreviation={positionAbbreviation}&positionNumber={positionNumber}&positionId={positionId} |
Deletes a position |
Health
| API | Description |
|---|---|
| GET health |
No documentation available. |
| GET api/Health/Get |
No documentation available. |
| GET api/Health |
No documentation available. |