Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Description

This method can create a set of maintenance tasks. And it returns status of maintenance tasks created.

Note : Maintenance tasks cannot be created in plants associated with buildings

Request

ParameterTypeMandatory/OptionalComments
plantIdlongMandatory

Id of the plant to which the job should be associated

maintenanceTasksList<TaskInputMandatory List of maintenance tasks 
applicationName string Mandatory 

Third party application identifier, identifying the client consuming the web service – (Length of the applicationName should be less than or equal to 10)  

 

Response

TypeDescription
List<MaintenanceTaskCreateStatus>Status of the maintenance tasks created

 Note : If an error occurred while creating a task, MaintenanceTaskCreateStatus for that task will have the associated error code.

Exceptions

Error CodeDescription
123  

An exception occured while processing your request   

138 

ApplicationName length is exceeded maximum allowed character limit (10)   

146 

The application name is not set   

152 

No property connected to the given plant id 

167 

You are not authorized to use this web method   

193 

Maintenance task must contain a description    

194 

Invalid deviceId  

195 

Needs to have at-least one maintenance task  

202 

This operation can only be done on plants connected to properties  

204 

Entered month is not valid. The range is from 1-12  

205 

Given device's roomId conflicts with the roomIds provided

207 

RoomId doesn't exist or doesn't belong to the given plant  

216

Maintenance description length is exceeded maximum allowed character limit (70)  

 

 

  • No labels