Versions Compared

Key

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

Operation

Information of the operationThis operation returns an array of MaintenanceIssue's. The list returned can be filtered by different terms, as stated in the table below.

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}/maintenanceIssue



Request

PropertyTypeRequiredDefault valueDescription
chainIdStringtrue
The id of the chain. This parameter will be in the URL.
propertyIdStringtrue
The id of the property. This parameter  will be in the URL.
expiredDateDatefalse
Filter by expiredDate.
searchStringfalse
A String that will filter results searching by name, location, and assignedUser
moduleIdIntegerfalse
Filter by module
userIdIntegerfalse
Filter by user
priorityIdIntegerfalse
Filter by priority
maintenanceIssueStatusTypeIdListArray of Integerfalse
Filter by maintenanceIssueStatusType
offsetIntegerfalse0The offset of the list of results
limitIntegerfalse10The limit amount of the list of results
sortStringfalseidfield of maintenanceIssue to sort by.
sortModeStringfalseAscMode of sorting: asc, desc..


Example request

Code Block
languagepowershell
themeDJango
GET http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/maintenanceIssue



Response

Array of MaintenaceIssue.

Entity

Insert excerpt
MaintenanceIssue
MaintenanceIssue
nopaneltrue

Example response

Code Block
themeDJango
{
  "count": 12,
  "offset": 0,
  "limit": 10,
  "list": [
    {
      "id": 1,
      "createdDate": "2018-07-16T15:26:00.423Z",
      "modifiedDate": "2018-07-16T15:26:00.427Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 1",
      "reportedBy": "Phyllis",
      "module": {
        "id": 13,
        "createdDate": "2018-07-16T15:25:07.753Z",
        "modifiedDate": "2018-07-16T15:34:11.903Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "113",
        "name": "M113",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 1,
        "code": "1",
        "name": "ToDo",
        "nameI18n": "ToDo",
        "colorCode": "#e53935"
      },
      "maintenanceIssueImageSet": null
    },
    {
      "id": 2,
      "createdDate": "2018-07-16T15:26:00.443Z",
      "modifiedDate": "2018-07-16T15:26:00.453Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 1",
      "reportedBy": "Christine",
      "module": {
        "id": 2,
        "createdDate": "2018-07-16T15:25:06.910Z",
        "modifiedDate": "2018-07-16T15:38:00.537Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "102",
        "name": "M102",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 2,
        "code": "2",
        "name": "InProgress",
        "nameI18n": "InProgress",
        "colorCode": "#64b5f6"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "3462070c-028a-41dd-947f-f70bfd9d2f3a.jpg"
    },
    {
      "id": 3,
      "createdDate": "2018-07-16T15:26:04.527Z",
      "modifiedDate": "2018-07-16T15:26:04.530Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 1",
      "reportedBy": "Clarence",
      "module": {
        "id": 3,
        "createdDate": "2018-07-16T15:25:06.997Z",
        "modifiedDate": "2018-07-16T15:38:00.230Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "103",
        "name": "M103",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 3,
        "code": "3",
        "name": "Done",
        "nameI18n": "Done",
        "colorCode": "#388e3c"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "113bede1-7fd6-40b5-8259-df1b5c8790f3.jpg"
    },
    {
      "id": 4,
      "createdDate": "2018-07-16T15:26:06.457Z",
      "modifiedDate": "2018-07-16T15:26:06.460Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 2",
      "reportedBy": "Joan",
      "module": {
        "id": 9,
        "createdDate": "2018-07-16T15:25:07.473Z",
        "modifiedDate": "2018-07-16T15:36:38.383Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "109",
        "name": "M109",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 1,
        "code": "1",
        "name": "ToDo",
        "nameI18n": "ToDo",
        "colorCode": "#e53935"
      },
      "maintenanceIssueImageSet": null
    },
    {
      "id": 5,
      "createdDate": "2018-07-16T15:26:06.477Z",
      "modifiedDate": "2018-07-16T15:26:06.480Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 2",
      "reportedBy": "Brandon",
      "module": {
        "id": 3,
        "createdDate": "2018-07-16T15:25:06.997Z",
        "modifiedDate": "2018-07-16T15:38:00.230Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "103",
        "name": "M103",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 2,
        "code": "2",
        "name": "InProgress",
        "nameI18n": "InProgress",
        "colorCode": "#64b5f6"
      },
      "maintenanceIssueImageSet": null
    },
    {
      "id": 6,
      "createdDate": "2018-07-16T15:26:06.490Z",
      "modifiedDate": "2018-07-16T15:26:06.497Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 2",
      "reportedBy": "Richard",
      "module": {
        "id": 16,
        "createdDate": "2018-07-16T15:25:07.987Z",
        "modifiedDate": "2018-07-16T15:35:05.877Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "116",
        "name": "M116",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 3,
        "code": "3",
        "name": "Done",
        "nameI18n": "Done",
        "colorCode": "#388e3c"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "2e409912-34f4-4fe2-8d43-8accc79fa67b.jpg"
    },
    {
      "id": 7,
      "createdDate": "2018-07-16T15:26:09.870Z",
      "modifiedDate": "2018-07-16T15:26:09.873Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 3",
      "reportedBy": "Barbara",
      "module": {
        "id": 1,
        "createdDate": "2018-07-16T15:25:06.820Z",
        "modifiedDate": "2018-07-16T15:37:49.727Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "101",
        "name": "M101",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 1,
        "code": "1",
        "name": "ToDo",
        "nameI18n": "ToDo",
        "colorCode": "#e53935"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "9f69b6c8-4187-40fd-b49d-0333d6e13732.jpg"
    },
    {
      "id": 8,
      "createdDate": "2018-07-16T15:26:12.537Z",
      "modifiedDate": "2018-07-16T15:26:12.543Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 3",
      "reportedBy": "Betty",
      "module": {
        "id": 20,
        "createdDate": "2018-07-16T15:25:08.303Z",
        "modifiedDate": "2018-07-16T15:25:08.307Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "120",
        "name": "M120",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 2,
        "code": "2",
        "name": "InProgress",
        "nameI18n": "InProgress",
        "colorCode": "#64b5f6"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "4e9dba77-476f-4c6d-8f4a-8dafcb112d7e.jpg"
    },
    {
      "id": 9,
      "createdDate": "2018-07-16T15:26:18.047Z",
      "modifiedDate": "2018-07-16T15:26:18.053Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 3",
      "reportedBy": "David",
      "module": {
        "id": 1,
        "createdDate": "2018-07-16T15:25:06.820Z",
        "modifiedDate": "2018-07-16T15:37:49.727Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "101",
        "name": "M101",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 3,
        "code": "3",
        "name": "Done",
        "nameI18n": "Done",
        "colorCode": "#388e3c"
      },
      "maintenanceIssueImageSet": null
    },
    {
      "id": 10,
      "createdDate": "2018-07-16T15:26:18.070Z",
      "modifiedDate": "2018-07-16T15:26:18.077Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "name": "Issue 4",
      "reportedBy": "Jacqueline",
      "module": {
        "id": 4,
        "createdDate": "2018-07-16T15:25:07.090Z",
        "modifiedDate": "2018-07-16T15:38:00.687Z",
        "createdUser": 0,
        "modifiedUser": 0,
        "property": null,
        "code": "104",
        "name": "M104",
        "floor": {
          "id": 1,
          "createdDate": "2018-07-16T15:25:06.543Z",
          "modifiedDate": "2018-07-16T15:25:06.547Z",
          "createdUser": 0,
          "modifiedUser": 0,
          "code": "1",
          "name": "Floor 1",
          "order": 1
        },
        "moduleStatusType": null,
        "roomModuleSet": null,
        "moduleLockSet": null,
        "hasIssue": false
      },
      "expiredDate": "2018-12-31",
      "priorityType": null,
      "remark": "Remark maintenanceIssue",
      "maintenanceIssueStatusType": {
        "id": 1,
        "code": "1",
        "name": "ToDo",
        "nameI18n": "ToDo",
        "colorCode": "#e53935"
      },
      "maintenanceIssueImageSet": null,
      "mainImage": "f33620f1-ab48-4acc-8eff-ab3f9b81dcc9.jpg"
    }
  ]
}