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 | |
---|---|
Request | web\wwwroot\ws\java\asset\Import_asset_stateRequestType.java |
Return | web\wwwroot\ws\java\asset\Import_asset_stateResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Asset ID # |
DTSTATE | X | Asset condition date |
TMSTATE | X | Asset condition time |
IDSTATE | X | Asset condition ID # |
DSOBSERVATION | Comments |
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 |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |