[GET] Single MaintenanceIssue

Operation

Gets only a single instance of MaintenanceIssue.

GET
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/maintenanceIssue/{maintenanceIssueId}


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.
maintenanceIssueIdIntegertrue
The id of the maintenanceIssue to be retrieved. This parameter will be in the URL. Path parameter.

Example request

GET http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/property/2/maintenanceIssue/1


Response

PropertyTypeRequiredDescription
maintenanceIssueMaintenanceIssuetrueA single object of MaintenanceIssue.

Entity


FieldTypeRequiredDescription
idinttrueUnique identifier for the MaintenanceIssue.
nameStringtrueName of the MaintenanceIssue.
reportedByStringfalseName of the person that reported the issue
moduleModulefalseModule where the issue was found
locationStringfalsePlace where the issue was found
expiredDateDatefalseDue date for the issue
priorityTypePriorityTypetruePriority of this issue
remarkStringfalseExtra information added by the user
assignedUserUserfalseUser that will be in charge of this issue
maintenanceIssueStatusTypeMaintenanceIssueStatusTypetrueStatus of the issue
maintenanceIssueImageSetArray of MaintenanceIssueImagefalseImages related to the issue
mainImageStringfalseMain image of the issue

Example response

{
  "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": {
    "id": 4,
    "code": "LOW",
    "name": "Low",
    "nameI18n": "Low",
    "order": 3
  },
  "remark": "Remark maintenanceIssue",
  "maintenanceIssueStatusType": {
    "id": 1,
    "code": "1",
    "name": "ToDo",
    "nameI18n": "ToDo",
    "colorCode": "#e53935"
  },
  "maintenanceIssueImageSet": []
}