Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Returns the list of HousekeepingDailyTask.

Style
table {
  width: 100%;
}

body.page-gadget {
  padding-top: 20px;
}

.separator{
  margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/housekeepingTaskDaily



Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
The id of the chain. This parameter will be in the URL. Path parameter.
propertyIdIntegertrue
The id of the property. This parameter will be in the URL. Path parameter.
userIntegerfalse
The id of the user that has the HousekeepingTaskDaily assigned.
offsetDatefalse
The date of the list of HousekeepingTaskDaily that are going to be retrieved.


Example request

Code Block
languagepowershell
themeDJango
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

Insert excerpt
HousekeepingTaskDaily
HousekeepingTaskDaily
nopaneltrue

Example response

Code Block
themeDJango
[{
	"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
	}]
}]