[GET] Module Rack

Operation

Returns a list of Module, which is a custom model created to retrieve all the data related to the Reservation, ReservationRoomStay and Module.

GET


Request

This request has no parameters.

Example request

GET https://prod.ulysescloud.com/api/v1/chain/1/property/2/moduleRack


Response

PropertyTypeRequiredDescription
ModuleModule (Rack)trueArray of Module

Entity


FieldTypeRequiredDescription
moduleIdIntegertrueId of the represented Module (ModuleRack).
codeStringfalseCode of the Module (ModuleRack).
nameStringfalseName of the Module (ModuleRack).
floorCodeStringfalseCode of the Floor.
floorNameStringfalseName of the Floor.
floorOrderIntegerfalseOrder of the Floor.
moduleOrderIntegerfalseOrder of the Module (ModuleRack).
propertyRoomTypeIdIntegerfalseId of the PropertyRoomType.
propertyRoomSubTypeIdIntegerfalseId of the PropertyRoomSubType.
statusIntegerfalseStatusType of the Module (ModuleRack).
situationStringfalseSituationType of the Module (ModuleRack).
moduleLockIdIntegerfalseId of the ModuleLock.
reservationIdIntegerfalseId of the Reservation.
reservationRoomStayIdIntegerfalseId of the ReservationRoomStay.
adultsCheckinIntegerfalseNumber of adults doing checkin today.
adultsInHouseIntegerfalseNumber of adults In House.
checkinBooleanfalseThe Reservation must do the checkin today in this Module.
checkoutBooleanfalseThe Reservation must do the checkout today in this Module.
assemblyBooleanfalseThere's an assembly in the room/module.
propertyRoomFeatureTypeIdListArray of IntegerfalseArray of ID's of all the PropertyRoomFeatureType's
propertyRoomFeatureTypeListArray of PropertyRoomFeatureTypefalseArray of objects of type PropertyRoomFeatureType.
hasIssueBooleanfalseThere's an issue or not in the module.

Example response

[{
	"moduleId": 1,
	"code": "101",
	"name": null,
	"floorCode": "1",
	"floorName": "Floor 1",
	"floorOrder": 1,
	"moduleOrder": 0,
	"propertyRoomTypeId": 2,
	"propertyRoomSubTypeId": 14,
	"status": 1,
	"situation": "O",
	"moduleLockId": null,
	"reservationId": 685,
	"reservationRoomStayId": 865,
	"adultsCheckin": null,
	"adultsInhouse": 1,
	"checkin": false,
	"checkout": false,
	"assembly": false,
	"propertyRoomFeatureTypeIdList": [2, 8, 14, 20, 26, 32, 38, 44, 50, 56, 62, 68, 74, 80, 86, 92, 98, 104, 110, 116, 122, 128, 134, 140, 146, 152, 158, 164, 170, 176, 182],
	"propertyRoomFeatureTypeList": null,
	"hasIssue": true
}, {
	"moduleId": 2,
	"code": "102",
	"name": null,
	"floorCode": "1",
	"floorName": "Floor 1",
	"floorOrder": 1,
	"moduleOrder": 0,
	"propertyRoomTypeId": 14,
	"propertyRoomSubTypeId": 8,
	"status": 2,
	"situation": "O",
	"moduleLockId": null,
	"reservationId": 669,
	"reservationRoomStayId": 847,
	"adultsCheckin": null,
	"adultsInhouse": 1,
	"checkin": false,
	"checkout": false,
	"assembly": true,
	"propertyRoomFeatureTypeIdList": [2, 8, 14, 20, 26, 32, 38, 44, 50, 56, 62, 68, 74, 80, 86, 92, 98, 104, 110, 116, 122, 128, 134, 140, 146, 152, 158, 164, 170, 176, 182],
	"propertyRoomFeatureTypeList": null,
	"hasIssue": false
}, {
	"moduleId": 3,
	"code": "103",
	"name": null,
	"floorCode": "1",
	"floorName": "Floor 1",
	"floorOrder": 1,
	"moduleOrder": 0,
	"propertyRoomTypeId": 26,
	"propertyRoomSubTypeId": 2,
	"status": 2,
	"situation": "O",
	"moduleLockId": null,
	"reservationId": 680,
	"reservationRoomStayId": 860,
	"adultsCheckin": null,
	"adultsInhouse": 1,
	"checkin": false,
	"checkout": true,
	"assembly": true,
	"propertyRoomFeatureTypeIdList": [2, 8, 14, 20, 26, 32, 38, 44, 50, 56, 62, 68, 74, 80, 86, 92, 98, 104, 110, 116, 122, 128, 134, 140, 146, 152, 158, 164, 170, 176, 182],
	"propertyRoomFeatureTypeList": null,
	"hasIssue": false
}]