Skip to main content
Version: 2.2.1

createCorrectiveMaintenance

This method allows adding:

  • Data of a corrective maintenance.

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\maintenance\CreateCorrectiveMaintenanceRequestType.java
Returnweb\wwwroot\ws\java\maintenance\CreateCorrectiveMaintenanceResponseType.java

Request:

ID #RequiredDescription
IDACTIVITYActivity ID # (Generated automatically if not entered)
IDMODELACTIVITYXStandard activity ID #
IDASSETXAsset ID #.
Note: For multiple assets, insert the identifiers separated by ';'.
(E.g.: ASSET1;ASSET2)
STARTDATEXExecution start date. The expected format is YYYY-MM-DD (Year-Month-Day).
STARTTIMEXExecution start time
REALPERCENTAGEXActual percentage (%)
IDSERVICECENTERService center ID #
IDTECHNICIANRESPONSIBLEResponsible technician ID #
ATTRIBUTESExample:
identifier_of_attribute1=value_of_attribute1;
identifier_of_attribute2=value_of_attribute2;
identifier_of_attribute3=value_of_attribute3.

Example with a multivalued attribute:
identifier_of_attribute1=value1_of_attribute1, value2_of_attribute1, value3_of_attibute1
Note: For attributes with a numeric value, the decimal place separator must be "." (dot).
For date fields, the value must have the “Y-M-D” (Year-Month-Day) format.
IDEVALMETHODEvaluation method ID #
DSEVALCRITX⁴For quantitative method:
▪ For list of values:
[id criterion 1]=[id result1];
[id criterion 2]=[id result2]
▪ For indeterminate value:
[id criterion 1]=[value 1];
[id criterion 2]=[value 2]
▪ Mix:
[id criterion 1]=[id result1];
[id criterion 2]=[value 2]
▪ For simple listing method:
[id result]
IDPROCESSASSOCPlace the ID # of the process that you want to associate with the created activity. Only for workflow.
FGAUTOMATIONProcess automation type:
1 - Workflow.
info
  • X¹ - Required if the ID # has not been entered in the standard activity.
  • X² - Required if the standard activity has a required attribute.
  • X³ - Required if the DSEVALCRIT field is filled.
  • X⁴ - Required if the IDEVALMETHOD field is filled out.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:maintenance">
<soapenv:Header/>
<soapenv:Body>
<urn:createCorrectiveMaintenance>
<!--You may enter the following 13 items in any order-->
<urn:ActivityID>?</urn:ActivityID>
<urn:ModelActivityID>?</urn:ModelActivityID>
<urn:AssetID>?</urn:AssetID>
<urn:StartDate>?</urn:StartDate>
<urn:StartTime>?</urn:StartTime>
<urn:RealPercentage>?</urn:RealPercentage>
<urn:ServiceCenterID>?</urn:ServiceCenterID>
<urn:TechnicianResponsibleID>?</urn:TechnicianResponsibleID>
<urn:Attributes>?</urn:Attributes>
<urn:EvalMethodID>?</urn:EvalMethodID>
<urn:EvalCriteria>?</urn:EvalCriteria>
<urn:IdProcessAssoc>?</urn:IdProcessAssoc>
<urn:FgAutomation>?</urn:FgAutomation>
</urn:createCorrectiveMaintenance>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Activity ID # created
FAILURE: Returns a message regarding the error that occurred.