Skip to main content
Version: 2.2.3

import_asset_site

This method allows associating:

  • Data of a location with an 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_siteRequestType.java
Returnweb\wwwroot\ws\java\asset\Import_asset_siteResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXAsset ID #
DATEXAsset location data. Note: It cannot be greater than the current date (Format: yyyy-mm-dd).
HOURXAsset location time (Format: hh:mm).
TYPEXLocation type:
1 - Location,
2 - User,
3 - Location/User,
4 - Coordinate,
5 - Location/Coordinate,
6 - User/Coordinate,
7 - Location/User/Coordinate.
LOCATIONLocation ID #.
USERUser ID.
COORDINATECoordinate.
COMMENTSAsset location comments.
FGUPDATECHILDRENSITEUpdate the location of the child assets.
[1- Update; 2 or empty - Do not update (default value)]
info

X¹ - Required according to the location type

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_asset_site>
<!--You may enter the following 9 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:date>?</urn:date>
<urn:hour>?</urn:hour>
<urn:type>?</urn:type>
<urn:location>?</urn:location>
<urn:user>?</urn:user>
<urn:coordinate>?</urn:coordinate>
<urn:comments>?</urn:comments>
<urn:fgupdatechildrensite>?</urn:fgupdatechildrensite>
</urn:import_asset_site>
</soapenv:Body>
</soapenv:Envelope>

Return:

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