[GET] Single MaintenanceIssue
Operation
Gets only a single instance of MaintenanceIssue.
GET
http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/property/{propertyId}/maintenanceIssue/{maintenanceIssueId}
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. | |
maintenanceIssueId | Integer | true | 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
Property | Type | Required | Description |
---|---|---|---|
maintenanceIssue | MaintenanceIssue | true | A single object of MaintenanceIssue. |
Entity
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the MaintenanceIssue. |
name | String | true | Name of the MaintenanceIssue. |
reportedBy | String | false | Name of the person that reported the issue |
module | Module | false | Module where the issue was found |
location | String | false | Place where the issue was found |
expiredDate | Date | false | Due date for the issue |
priorityType | PriorityType | true | Priority of this issue |
remark | String | false | Extra information added by the user |
assignedUser | User | false | User that will be in charge of this issue |
maintenanceIssueStatusType | MaintenanceIssueStatusType | true | Status of the issue |
maintenanceIssueImageSet | Array of MaintenanceIssueImage | false | Images related to the issue |
mainImage | String | false | Main 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": [] }