[GET] List HousekeepingDailyTask
Operation
Returns the list of HousekeepingDailyTask.
GET
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/housekeepingTaskDaily
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | The id of the chain. This parameter will be in the URL. Path parameter. | |
propertyId | Integer | true | The id of the property. This parameter will be in the URL. Path parameter. | |
user | Integer | false | The id of the user that has the HousekeepingTaskDaily assigned. | |
offset | Date | false | The date of the list of HousekeepingTaskDaily that are going to be retrieved. |
Example request
GET http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/housekeepingTaskDaily?user=1&offset=2018-06-02
Response
Array of elements of type HousekeepingTaskDaily.
Entity
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the HousekeepingTaskDaily. |
property | Property | true | Property related to this HousekeepingTaskDaily. |
date | Date | true | The date when the task should be done. |
user | User | false | The user that has the task assigned. |
code | String | true | Code of the HousekeepingTaskDaily. |
name | String | true | Name of the HousekeepingTaskDaily. |
instruction | String | false | Notes added to the task to clarify the process. |
estimatedTimeHours | Integer | false | Hours estimated for this task |
estimatedTimeMinutes | Integer | false | Minutes estimated for this task |
remainingTimeHours | Integer | false | Hours remaining to finish the task |
remainingTimeMinutes | Integer | false | Minutes remaining to finish the task |
housekeepingTaskDailyFacilityTaskSet | Array of HousekeepingTaskDailyFacilityTask | false | |
housekeepingTaskDailyModuleSet | Array of HousekeepingTaskDailyModule | false |
Example response
[{ "id": 11, "createdDate": "2018-09-18T11:22:14.090Z", "modifiedDate": "2018-09-18T11:22:16.557Z", "createdUser": 0, "modifiedUser": 0, "property": null, "date": "2018-06-03", "code": "A1", "name": "Task Name A 1", "instruction": "Instrucciones de las tareas", "estimatedTimeHours": 16, "estimatedTimeMinutes": 0, "remainingTimeHours": 16, "remainingTimeMinutes": 0, "housekeepingTaskDailyModuleSet": [{ "id": 42, "createdDate": "2018-09-18T11:22:14.097Z", "modifiedDate": "2018-09-18T11:22:16.567Z", "createdUser": 0, "modifiedUser": 0, "module": { "id": 2, "createdDate": "2018-09-18T11:22:03.590Z", "modifiedDate": "2018-09-18T11:22:06.060Z", "createdUser": 0, "modifiedUser": 0, "property": null, "code": "102", "name": "M102", "floor": { "id": 1, "createdDate": "2018-09-18T11:22:03.290Z", "modifiedDate": "2018-09-18T11:22:05.757Z", "createdUser": 0, "modifiedUser": 0, "code": "1", "name": "Floor 1", "order": 1 }, "moduleStatusType": { "id": 1, "code": "CL", "name": "Clean", "colorCode": "#4caf50", "nameI18n": "Clean" }, "roomModuleSet": null, "moduleLockSet": null, "hasIssue": true }, "taskStatusType": { "id": 1, "code": "1", "name": "ToDo", "nameI18n": "ToDo", "colorCode": "#ffffff" }, "housekeepingTaskDailyModuleFacilityTaskSet": [], "estimatedTimeHours": 0, "estimatedTimeMinutes": 0, "situation": "", "adultsInHouse": 1, "status": 1, "reservationRoomStayId": 4, "checkin": false, "checkout": false, "assembly": false }, { "id": 43, "createdDate": "2018-09-18T11:22:14.100Z", "modifiedDate": "2018-09-18T11:22:16.567Z", "createdUser": 0, "modifiedUser": 0, "module": { "id": 3, "createdDate": "2018-09-18T11:22:03.663Z", "modifiedDate": "2018-09-18T11:22:06.127Z", "createdUser": 0, "modifiedUser": 0, "property": null, "code": "103", "name": "M103", "floor": { "id": 1, "createdDate": "2018-09-18T11:22:03.290Z", "modifiedDate": "2018-09-18T11:22:05.757Z", "createdUser": 0, "modifiedUser": 0, "code": "1", "name": "Floor 1", "order": 1 }, "moduleStatusType": { "id": 1, "code": "CL", "name": "Clean", "colorCode": "#4caf50", "nameI18n": "Clean" }, "roomModuleSet": null, "moduleLockSet": null, "hasIssue": false }, "taskStatusType": { "id": 1, "code": "1", "name": "ToDo", "nameI18n": "ToDo", "colorCode": "#ffffff" }, "housekeepingTaskDailyModuleFacilityTaskSet": [], "estimatedTimeHours": 0, "estimatedTimeMinutes": 0, "situation": "", "adultsInHouse": 1, "status": 1, "reservationRoomStayId": 2, "checkin": false, "checkout": false, "assembly": false }, { "id": 41, "createdDate": "2018-09-18T11:22:14.097Z", "modifiedDate": "2018-09-18T11:22:16.563Z", "createdUser": 0, "modifiedUser": 0, "module": { "id": 1, "createdDate": "2018-09-18T11:22:03.510Z", "modifiedDate": "2018-09-18T11:22:05.977Z", "createdUser": 0, "modifiedUser": 0, "property": null, "code": "101", "name": "M101", "floor": { "id": 1, "createdDate": "2018-09-18T11:22:03.290Z", "modifiedDate": "2018-09-18T11:22:05.757Z", "createdUser": 0, "modifiedUser": 0, "code": "1", "name": "Floor 1", "order": 1 }, "moduleStatusType": { "id": 2, "code": "DI", "name": "Dirty", "colorCode": "#f44336", "nameI18n": "Dirty" }, "roomModuleSet": null, "moduleLockSet": null, "hasIssue": true }, "taskStatusType": { "id": 1, "code": "1", "name": "ToDo", "nameI18n": "ToDo", "colorCode": "#ffffff" }, "housekeepingTaskDailyModuleFacilityTaskSet": [], "estimatedTimeHours": 0, "estimatedTimeMinutes": 0, "situation": "", "adultsInHouse": 1, "status": 2, "reservationRoomStayId": 5, "checkin": false, "checkout": false, "assembly": true }, { "id": 44, "createdDate": "2018-09-18T11:22:14.100Z", "modifiedDate": "2018-09-18T11:22:16.570Z", "createdUser": 0, "modifiedUser": 0, "module": { "id": 4, "createdDate": "2018-09-18T11:22:03.733Z", "modifiedDate": "2018-09-18T11:22:06.200Z", "createdUser": 0, "modifiedUser": 0, "property": null, "code": "104", "name": "M104", "floor": { "id": 1, "createdDate": "2018-09-18T11:22:03.290Z", "modifiedDate": "2018-09-18T11:22:05.757Z", "createdUser": 0, "modifiedUser": 0, "code": "1", "name": "Floor 1", "order": 1 }, "moduleStatusType": { "id": 1, "code": "CL", "name": "Clean", "colorCode": "#4caf50", "nameI18n": "Clean" }, "roomModuleSet": null, "moduleLockSet": null, "hasIssue": false }, "taskStatusType": { "id": 1, "code": "1", "name": "ToDo", "nameI18n": "ToDo", "colorCode": "#ffffff" }, "housekeepingTaskDailyModuleFacilityTaskSet": [], "estimatedTimeHours": 0, "estimatedTimeMinutes": 0, "situation": "", "adultsInHouse": 1, "status": 1, "reservationRoomStayId": 6, "checkin": false, "checkout": false, "assembly": false }] }]