| Required role: | Admin |
| GET | /inspections |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TermId | query | int? | No | |
| BuildingIds | query | ArrayOfInt | No | |
| StudentIds | query | ArrayOfInt | No | |
| Schoolids | query | ArrayOfString | No | |
| ResidentId | query | int? | No | |
| Type | query | InspectionType? | No |
| MoveIn |
| MoveOut |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<InspectionDTO> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InspectionId | form | int | No | |
| StudentId | form | int | No | |
| RoomId | form | int | No | |
| ResidentId | form | int | No | |
| ReservationId | form | int | No | |
| InspectionDt | form | DateTime | No | |
| RepairsNeeded | form | string | No | |
| Comments | form | string | No | |
| StudentSignatureText | form | string | No | |
| RaSignatureText | form | string | No | |
| CreatedDt | form | DateTime | No | |
| CreatedBy | form | string | No | |
| ModifiedDt | form | DateTime | No | |
| ModifiedBy | form | string | No | |
| Details | form | List<InspectionDetailDTO> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InspectionDetailId | form | int? | No | |
| InspectionId | form | int | No | |
| Name | form | string | No | |
| Order | form | int | No | |
| ItemState | form | InspectionStateEnum? | No | |
| Notes | form | string | No |
| Good |
| Problem |
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 //inspections 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 'FindInspectionsResponse' 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'.)