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

importAssetDowntime

Previous  Top  Next

This method allows:

Start a downtime record;

Finish a downtime record.

 

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

 

Java class

Request

web\wwwroot\ws\java\maintenance\ImportAssetDowntimeRequestType.java

Return

web\wwwroot\ws\java\maintenance\ImportAssetDowntimeResponseType.java

 

Request

ID #

Required

Description

FGOPTION

 

Code of the operation to be performed:

23 – Start a downtime record;

24 – Finish a downtime record.

IDASSET

X

Asset ID #. Separate with ";" if multiple assets are added. Example:

Asset_1;Asset_2;Asset_3

IDDOWNTIMEREASON

Downtime reason ID #

DTSTART

Downtime start date. Date format must be Y-M-D (Year-Month-Day)

QTSTART

Downtime start time

DTEND

Downtime end date. Date format must be Y-M-D (Year-Month-Day)

QTEND

Downtime end time

DSCOMMENTS

 

Comments

 

X¹ - Required when the "FGOPTION" field is equal to 23.

X² - Required when the "FGOPTION" field(s) is(are) equal to 23 and/or the “Start date” and/or "Start time" is(are) filled.

X³ - Required when the "FGOPTION" field(s) is(are) equal to 24 and/or the “End date” and/or "End time" is(are) filled.

 

Return

ID #

Description

return

SUCCESS: Operation successfully performed.

FAILURE: Returns a message regarding the error that occurred