| Required role: | Admin |
| POST | /inspections/moveOut |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResidentId | body | int | No | |
| RaSignText | body | string | No | |
| StudentSignText | body | string | No | |
| InspectionDt | body | DateTime? | No | |
| RepairsNeeded | body | string | No | |
| Comments | body | string | No | |
| Details | body | 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 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //inspections/moveOut HTTP/1.1
Host: api.lsu-staging.abodehms.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
residentId: 0,
raSignText: String,
studentSignText: String,
inspectionDt: 0001-01-01,
repairsNeeded: String,
comments: String,
details:
[
{
inspectionDetailId: 0,
inspectionId: 0,
name: String,
order: 0,
itemState: Good,
notes: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
inspectionId: 0,
studentId: 0,
roomId: 0,
residentId: 0,
reservationId: 0,
inspectionDt: 0001-01-01,
repairsNeeded: String,
comments: String,
studentSignatureText: String,
raSignatureText: String,
createdDt: 0001-01-01,
createdBy: String,
modifiedDt: 0001-01-01,
modifiedBy: String,
details:
[
{
inspectionDetailId: 0,
inspectionId: 0,
name: String,
order: 0,
itemState: Good,
notes: String
}
]
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}