Change service ticket state to Done

Prev Next
Post
/api/v1/maintenance/servicetickets/done

Changes the service ticket state to Done.

Description

The user can call this endpoint to close a service ticket. When this endpoint is called, the status of the service ticket is set to 'done'.

Use Case

The Bloxs user wants to close a service ticket.

Request fields

The request contains the following fields:

FieldDescription
referenceThe unique identifier for this service ticket within Bloxs. This is unique (per client specific environment) for all service tickets. This identifier is generated by the Bloxs system.
externalIdentifierThe unique identifier within the system of the requesting party. This identifier is not generated by the Bloxs system.
closingDate

This is an optional field, which Bloxs will automatically populate, depending on the configuration, if no value is provided. The field is intended for reporting purposes, to monitor the duration of the process.


Response fields

The 200 response includes the fields listed in the table below. 

FieldDescription
externalIdentifierThe unique identifier within the system of the requesting party. This identifier is not generated by the Bloxs system.
externalLink
This field can be used to enter the url of the service ticket in a system outside of Bloxs. This allows the user to quickly navigate to the service ticket in another system, without searching for it.
reportingDate
The date on which the service ticket was created. This value is not automatically generated by the Bloxs system. If this field is left empty, the request will be invalid.
stateName
Name of the current status of the service ticket. Bloxs provides a standard list with options, however the user can modify the list with options in the admin module. In order to retrieve the full list of currently available status names, the following endpoint can be used: GET states.
priority
Priority level of the report. This is based on a fixed list predefined by Bloxs, and cannot be modified by users. Each priority level is linked to reminder settings, which trigger tasks or emails at a defined frequency.
problemCategoryName
Pertains to the problem category to which the service ticket belongs. This is a standard list predefined by Bloxs, that indicates the category of the issue, such as electrical, windows, etc. In order to retrieve the full list of available category names, the following endpoint can be used: GET problem categories.
costsAreForTenant
Boolean indicating whether the tenant is responsible for the costs associated with the service ticket. The default value is 'false', meaning the owner is responsible.
costCategoryName

The cost category indicates the type of problem reported and serves as a tool to determine how the related costs should be allocated. For example, if the central heating system is not producing heat, the issue may require either a repair or a full replacement—each falling under a different cost category. Another example is the distinction between service charge costs and individual tenant charges. The available categories are predefined in a fixed list that cannot be modified by the user.

In order to retrieve the full list of available cost categories, the following endpoint can be used: GET costs categories.

descriptionDescription of the problem / the service ticket.
realEstateObjectReference
This pertains to the reference of the real estate object to which the service ticket applies. Please note, a reference relating to a real estate object must be included here.
reporterReference

This reference refers to the person who should be contacted with any communication regarding the service ticket. Please note that a reference of a relation (see relations API) must be included here and the contact has to exist within Bloxs.

reporterContactPersonReference
This refers to the reference for the contact person and the details for any communication regarding the service ticket. Please note that a relation reference (see relations API) must be included here. Only fill this in if the contact person is listed in Bloxs. If the contact person is not available in Bloxs, please enter the name and phone number under reporterexternal.
reporterExternalContactPersonName
Name of the contact person. Please use this field only if the contact person is not available in Bloxs.
reporterExternalContactPersonPhoneNumber
Telephone number of the contact person. Please use this field only if the contact person is not available in Bloxs.
reporterExternalContactPersonMobileNumber
Mobile phone number of the contact person. Please use this field only if the contact person is not available in Bloxs.
reporterExternalContactPersonEmail
Email address of the contact person. Please use this field only if the contact person is not available in Bloxs.
supplierReference
This reference refers to the supplier. Please note that a relation reference (see relations API) must be included here and the supplier has to exist within Bloxs.
handledBySupplierIf this is set to 'false', the supplier will receive a reminder to either accept or decline the order. The default value is false. The supplier is the party responsible for resolving the problem associated with the service ticket.
expectedCosts

The estimated cost for resolving the issue.

reference
The unique identifier for this service ticket within Bloxs. This is unique (per client specific environment) for all service tickets. This identifier is generated by the Bloxs system.
mandateAmount
The maximum amount for which the supplier has the mandate to resolve the issues underlying the service ticket.
disableUIMutationsThis field determines whether a user is allowed to make changes to the service ticket in the Bloxs application. The default value is 'false', which means that making changes is permitted.
disableSystemTasksBased on the priority of a service ticket, system tasks are triggered that require user action. For example, ensuring a notification is followed up within a specified number of hours. This field determines whether these system tasks are enabled. The default value is 'false', which means the system tasks are active and will be generated.
disableSystemCorrespondenceBy default, correspondence is automatically generated for a service ticket. This field determines whether this system-generated correspondence is enabled. The default value is 'false', meaning the system correspondence is active and will be automatically send.
isVisibleInPortal_Owner
Indicates whether the service ticket is visible in the Owner Portal. A value of true makes the service ticket visible. This field is only effective if the service ticket portal visibility feature is enabled for the Bloxs environment.

isVisibleInPortal_Tenant

Indicates whether the service ticket is visible in the Tenant Portal. A value of true makes the service ticket visible. This field is only effective if the service ticket portal visibility feature is enabled for the Bloxs environment.
Security
HTTP
Type Bearer

Please enter a valid token

Body parameters
object
reference
string | null
externalIdentifier
string | null
closingDate
string (date-time) | null
Responses
200

The service ticket state was changed to Done

object
externalIdentifier
string | null
Min length0
Max length100
externalLink
string | null
Min length0
Max length256
reportingDate
string (date)
stateName
string
Min length0
Max length256
priority
integer (int32)
Valid values[ 1, 2, 3 ]
problemCategoryName
string | null
Min length0
Max length256
costsAreForTenant
boolean
costCategoryName
string | null
Min length0
Max length256
description
string
Min length1
realEstateObjectReference
string
Min length0
Max length100
reporterReference
string
Min length0
Max length100
reporterContactPersonReference
string | null
Min length0
Max length100
reporterExternalContactPersonName
string | null
Min length0
Max length256
reporterExternalContactPersonPhoneNumber
string | null
Min length0
Max length512
reporterExternalContactPersonMobileNumber
string | null
Min length0
Max length512
reporterExternalContactPersonEmail
string | null
Min length0
Max length254
supplierReference
string | null
Min length0
Max length100
handledBySupplier
boolean
expectedCosts
number (double) | null
reference
string
Min length0
Max length100
mandateAmount
number (double) | null
disableUIMutations
boolean
disableSystemTasks
boolean
disableSystemCorrespondence
boolean
isVisibleInPortal_Owner
boolean
isVisibleInPortal_Tenant
boolean
400

The service ticket state change has validation issues

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string
404

There was a problem changing the state of the service ticket

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string