Skip to content

List maintenance items

GET
/api/tenant/{tenantId}/MaintenanceItems
curl --request GET \
--url 'https://api.nimles.com/property-management/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/MaintenanceItems?kind=Maintenance&status=Active' \
--header 'Authorization: Bearer <token>'

Lists the maintenance items the caller may read.

tenantId
required
string format: uuid

Your tenant id.

ids
Array<string>

The items to list, or all.

realEstateId
string format: uuid

Only the items of this real estate.

kind
string
Allowed values: Maintenance Obligation

Only maintenance, or only obligations.

status
string
Allowed values: Active Snoozed Retired

Only items with this status.

dueBefore
string format: date-time

Only items due on or before this date.

responsibility
string

Only items this party answers for (exactly, PascalCase), such as Resident.

related
string

Only items related to this entity: {entityType}:{entityId}, such as unit:{id}.

relationType
string

With related: only this relation type, such as subject.

OK

Media typeapplication/json
object
fields
object
key
additional properties
string
data
Array<object>
nullable
object
fields
object
key
additional properties
object
value
nullable
valueType
string
nullable
values
object
key
additional properties
object
value
nullable
source
object
sourceId
string
nullable
runId
string
nullable
actor
string
nullable
at
string format: date-time
nullable
evidence
string
nullable
aiProvenance
object
model
string
nullable
templateVersion
string
nullable
inputCodes
Array<string>
nullable
runId
string
nullable
client
string
nullable
reviewedBy
string
nullable
reviewedAt
string format: date-time
nullable
lock
object
by
string
nullable
at
string format: date-time
nullable
source
object
sourceId
string
nullable
runId
string
nullable
actor
string
nullable
at
string format: date-time
nullable
evidence
string
nullable
aiProvenance
object
model
string
nullable
templateVersion
string
nullable
inputCodes
Array<string>
nullable
runId
string
nullable
client
string
nullable
reviewedBy
string
nullable
reviewedAt
string format: date-time
nullable
lock
object
by
string
nullable
at
string format: date-time
nullable
accessibility
string
nullable
id
string format: uuid
relations
Array<object>
nullable
object
fields
object
key
additional properties
object
value
nullable
valueType
string
nullable
values
object
key
additional properties
object
value
nullable
source
object
sourceId
string
nullable
runId
string
nullable
actor
string
nullable
at
string format: date-time
nullable
evidence
string
nullable
aiProvenance
object
model
string
nullable
templateVersion
string
nullable
inputCodes
Array<string>
nullable
runId
string
nullable
client
string
nullable
reviewedBy
string
nullable
reviewedAt
string format: date-time
nullable
lock
object
by
string
nullable
at
string format: date-time
nullable
source
object
sourceId
string
nullable
runId
string
nullable
actor
string
nullable
at
string format: date-time
nullable
evidence
string
nullable
aiProvenance
object
model
string
nullable
templateVersion
string
nullable
inputCodes
Array<string>
nullable
runId
string
nullable
client
string
nullable
reviewedBy
string
nullable
reviewedAt
string format: date-time
nullable
lock
object
by
string
nullable
at
string format: date-time
nullable
accessibility
string
nullable
id
string format: uuid
name
string
nullable
entityId
required
string format: uuid
entityType
required
string
>= 1 characters
relationType
required
string
>= 1 characters
tenantId
string format: uuid
nullable
resourceGroupId
string format: uuid
nullable
creatorId
string format: uuid
nullable
createdDate
string format: date-time
nullable
version
integer format: int32
nullable
lastModified
string format: date-time
nullable
realEstateId
string format: uuid
buildingId
string format: uuid
nullable
kind
string
Allowed values: Maintenance Obligation
component
string
nullable
responsibility
string
nullable
title
required
string
nullable
description
string
nullable
intervalMonths
integer format: int32
lastDone
string format: date-time
nullable
nextDue
string format: date-time
estimatedCost
number format: double
nullable
season
string
nullable
source
string
Allowed values: User Generated Supplier Register
status
string
Allowed values: Active Snoozed Retired
notifyBeforeDays
integer format: int32
nullable
assetId
string format: uuid
nullable

Example

{
"data": [
{
"kind": "Maintenance",
"source": "User",
"status": "Active"
}
]
}

Unauthorized: no bearer token, or one that is expired or not for this API.

Forbidden: the caller holds no role that allows this action at this scope. The body is empty, or a problem whose detail names the action.

Media typeapplication/json

An RFC 9457 problem.

object
detail
string
nullable
instance
string
nullable
status
integer format: int32
nullable
title
string
nullable
type
string
nullable
key
additional properties

Example generated

{
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}