EnrollmentOperationsApi
Method | HTTP request | Description |
---|---|---|
create_enrollments | POST /api/web/v1/enrollment/api | Create enrollment records. Caller requires the ENROLLMENTS:ADD permission. |
create_enrollments_v2 | POST /api/web/v2/enrollments/{enrollmentDesignName} | Create Enrollments |
delete_enrollments | DELETE /api/web/v1/enrollment/api | Delete enrollment records. Caller requires the ENROLLMENTS:REMOVE permission. |
delete_enrollments_v2 | DELETE /api/web/v2/enrollments | Delete Enrollments |
read_enrollment_v2 | GET /api/web/v2/enrollments/{id} | Read Enrollment |
read_enrollments | POST /api/web/v1/enrollment/api/readEnrollments | Read enrollment records. Caller requires the ENROLLMENTS:VIEW permission. |
read_enrollments_design_names | GET /api/web/v2/enrollments/enrollmentDesigns | Read Enrollment designs name |
read_enrollments_v2 | POST /api/web/v2/enrollments/read/{enrollmentDesignName} | Read Enrollments |
update_enrollments | PUT /api/web/v1/enrollment/api | Update enrollment records. Caller requires the ENROLLMENTS:EDIT permission. |
update_enrollments_v2 | PUT /api/web/v2/enrollments | Update Enrollments |
create_enrollments
EnrollmentApiPayload create_enrollments(enrollment_api_payload)
Create enrollment records. Caller requires the ENROLLMENTS:ADD permission.
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_api_payload | EnrollmentApiPayload |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
202 | Accepted | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
create_enrollments_v2
List[EnrollmentResponse] create_enrollments_v2(enrollment_design_name, enrollment_request)
Create Enrollments
Create one or more enrollments. Caller requires the ENROLLMENTS:ADD permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_design_name | str | Name of the enrollment design | |
enrollment_request | List[EnrollmentRequest] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
delete_enrollments
str delete_enrollments(enrollment_api_payload)
Delete enrollment records. Caller requires the ENROLLMENTS:REMOVE permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_api_payload | EnrollmentApiPayload |
Return type
str
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: /
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
delete_enrollments_v2
List[EnrollmentResponse] delete_enrollments_v2(enrollment_delete)
Delete Enrollments
Delete one or more enrollments. Caller requires the ENROLLMENTS:DELETE permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_delete | EnrollmentDelete |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
read_enrollment_v2
EnrollmentResponse read_enrollment_v2(id)
Read Enrollment
Read an enrollment. Caller requires the ENROLLMENTS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | str | Id of the enrollment (In Base64 string format) |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
read_enrollments
EnrollmentApiPayload read_enrollments(read_enrollment_api_payload)
Read enrollment records. Caller requires the ENROLLMENTS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
read_enrollment_api_payload | ReadEnrollmentApiPayload |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
read_enrollments_design_names
List[EnrollmentDesignName] read_enrollments_design_names()
Read Enrollment designs name
Read enrollment designs name. Caller requires the ENROLLMENTS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
read_enrollments_v2
List[EnrollmentResponse] read_enrollments_v2(enrollment_design_name, model_field, offset=offset, limit=limit)
Read Enrollments
Read one or more enrollments. Caller requires the ENROLLMENTS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_design_name | str | Name of the enrollment design | |
model_field | List[ModelField] | ||
offset | int | Page number offset, default value is 1 | [optional] [default to 1] |
limit | int | Page size limit, default value is 50 | [optional] [default to 50] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
update_enrollments
str update_enrollments(enrollment_api_payload)
Update enrollment records. Caller requires the ENROLLMENTS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_api_payload | EnrollmentApiPayload |
Return type
str
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |
update_enrollments_v2
List[EnrollmentResponse] update_enrollments_v2(enrollment_request)
Update Enrollments
Update one or more enrollments. Caller requires the ENROLLMENTS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
enrollment_request | List[EnrollmentRequest] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
401 | Authorization information is missing or invalid | - |
404 | The specified resource was not found | - |
500 | Unexpected error | - |