Navigation:  Integration via SOAP web services > Published web services > Maintenance >

newProgrammedMaintenance

Previous  Top  Next

This method allows adding:

Data from a programmed maintenance

 

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

 

Java class

Request

web\wwwroot\ws\java\maintenance\NewProgrammedMaintenanceRequestType.java

Return

web\wwwroot\ws\java\maintenance\NewProgrammedMaintenanceResponseType.java

 

Request

ID #

Required

Description

IDACTIVITY

 

Activity ID # (Generated automatically if not entered).

IDMODELACTIVITY

X

Standard activity ID #

IDASSET

X

Asset ID #

Note: For multiple assets, insert the identifiers separated by ';'.

(E.g.: ASSET1;ASSET2)

ACTIVITYSTEP

 

Activity step:

1 – Planning;

2 – Execution;

Note: Considering 1 by default

STARTDATEPLAN

Planned start date. The expected format is YYYY-MM-DD (Year-Month-Day).

STARTTIMEPLAN

Planned start time

FINISHDATEPLAN

Planned end date. The expected format is YYYY-MM-DD (Year-Month-Day).

FINISHTIMEPLAN

Planned end time

STARTDATE

Execution start date. The expected format is YYYY-MM-DD (Year-Month-Day).

STARTTIME

Execution start time

REALPERCENTAGE

Actual percentage (%).

IDSERVICECENTER

Service center ID #

IDTECHNICIANRESPONSIBLE

Technician ID #

ATTRIBUTES

 

Example:

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 '.'.

For date fields, the value must have the “Y-M-D” (Year-Month-Day) format.

IDEVALMETHOD

X5

Evaluation method ID #

DSEVALCRIT

X6

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]

IDPROCESSASSOC

 

Place the ID # of the process instance that you want to associate with the created activity. Only for workflow.

FGAUTOMATION

 

Process automation type:

1 - Workflow.

 

X¹ - Required if the “Activity step” field is 1.

X² - Required if the “Activity step” step is 2.

X³ - Required if in the standard activity it has not been informed.

X4 - Required if the standard activity has a required attribute.

X5 - Required if the DSEVALCRIT field is filled out.

X6 - Required if the IDEVALMETHOD field is filled out.

 

Return

ID #

Description

return

SUCCESS: ID # of the created activity

FAILURE: Returns a message regarding the error that occurred