Skip to main content
Version: 2.2.0

import_asset_state

This method allows adding/editing:

  • Data of a condition of the asset;

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

Java class
Requestweb\wwwroot\ws\java\asset\Import_asset_stateRequestType.java
Returnweb\wwwroot\ws\java\asset\Import_asset_stateResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXAsset ID #
DTSTATEXAsset condition date
TMSTATEXAsset condition time
IDSTATEXAsset condition ID #
DSOBSERVATIONComments

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_asset_state>
<!--You may enter the following 5 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:dtstate>?</urn:dtstate>
<urn:tmstate>?</urn:tmstate>
<urn:idstate>?</urn:idstate>
<urn:dsobservation>?</urn:dsobservation>
</urn:import_asset_state>
</soapenv:Body>
</soapenv:Envelope>

Return:

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