| Required role: | Admin |
| GET | /students/{StudentId}/disciplines | ||
|---|---|---|---|
| GET | /disciplines |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StudentId | path | int? | No | |
| TermId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Results | form | IEnumerable<DisciplineDTO> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Title | form | string | No | |
| StudentId | form | int | No | |
| Description | form | string | No | |
| DisciplineDate | form | DateTime | No | |
| Types | form | IEnumerable<DisciplineTypeDTO> | No | |
| Comments | form | string | No | |
| Notes | form | string | No | |
| Attachment | form | byte[] | No | |
| LetterIssued | form | bool | No | |
| Probation | form | bool | No | |
| Action | form | string | No | |
| IssuingDean | form | string | No | |
| Resolved | form | bool | No | |
| ProbationStart | form | DateTime? | No | |
| ProbationEnd | form | DateTime? | No | |
| IncidentId | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreatedDt | form | DateTime | No | |
| CreatedBy | form | string | No | |
| ModifiedDt | form | DateTime? | No | |
| ModifiedBy | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| DefaultCharge | form | int? | No | |
| Name | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET //students/{StudentId}/disciplines HTTP/1.1
Host: api.lsu.abodehms.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'FindDisciplinesResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)