Skip to main content
Version: 2.2.1

import_asset

This method allows adding and editing:

  • Data of 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_assetRequestType.java
Returnweb\wwwroot\ws\java\asset\Import_assetResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXAsset ID #
NMOBJECTXAsset name
IDOBJECTTYPEXAsset type ID #
IDTEAMXResponsible team ID #
FGAPPLICATIONXAsset specification:
1 - Gage;
2 - Equipment;
4 - Others;
6 - Tooling;
7 - Tools;
11 - Computer.
DTSTARTOPERXOperation start date.
QUANTITYXAsset quantity
CAVITYCavity (Required when "Tooling").
MANUFACTURERManufacturer (company name).
IDSERIALNUMBERSerial number.
IDMODELTemplate.
IDCALENDARXCalendar ID #.
SUPPLIERSupplier (company name).
VLEQUIPMENTCOSTEquipment cost.
VLCOSTHourly cost.
IDUSERUser ID.
ATTRIBUTESExample:
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 "." (dot).
For date fields, the value must have the “Y-M-D” (Year-Month-Day) format.
DSDESCRIPTIONDescription
CHARACTERISTICSCharacteristics
DSOBSERVATIONComments
DTREVISIONRevision date
info

X¹ - Required only when the asset type used contains revision.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_asset>
<!--You may enter the following 21 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:nmobject>?</urn:nmobject>
<urn:idobjecttype>?</urn:idobjecttype>
<urn:idteam>?</urn:idteam>
<urn:fgapplication>?</urn:fgapplication>
<urn:dtstartoper>?</urn:dtstartoper>
<urn:quantity>?</urn:quantity>
<urn:cavity>?</urn:cavity>
<urn:manufacturer>?</urn:manufacturer>
<urn:idserialnumber>?</urn:idserialnumber>
<urn:idmodel>?</urn:idmodel>
<urn:idcalendar>?</urn:idcalendar>
<urn:supplier>?</urn:supplier>
<urn:vlequipmentcost>?</urn:vlequipmentcost>
<urn:vlcost>?</urn:vlcost>
<urn:dtrevision>?</urn:dtrevision>
<urn:iduser>?</urn:iduser>
<urn:attributes>?</urn:attributes>
<urn:dsdescription>?</urn:dsdescription>
<urn:characteristics>?</urn:characteristics>
<urn:dsobservation>?</urn:dsobservation>
</urn:import_asset>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Return regarding the executed item
FAILURE: -1