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

import_asset

Previous  Top  Next

This method enables to insert and edit:

Data of an 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_assetRequestType.java

Return

web\wwwroot\ws\java\asset\Import_assetResponseType.java

 

Request

ID #

Required

Description

IDOBJECT

X

Asset ID #

NMOBJECT

X

Asset name.

IDOBJECTTYPE

X

Asset type ID #.

IDTEAM

X

Responsible team ID #.

FGAPPLICATION

X

Asset specification:

1 - Gage;

2 - Equipment;

4 - Others;

6 - Tooling;

7 – Tools;

11 – Computer.

DTSTARTOPER

X

Operation start date.

QUANTITY

X

Asset quantity

CAVITY

 

Cavity (required for "Tooling").

MANUFACTURER

 

Manufacturer (company name).

IDSERIALNUMBER

 

Serial number.

IDMODEL

 

Template.

IDCALENDAR

X

Calendar ID #.

SUPPLIER

 

Supplier (company name).

VLEQUIPMENTCOST

 

Equipment cost.

VLCOST

 

Hourly cost.

IDUSER

X1

User's reg. code #.

ATTRIBUTES

 

Example:

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 '.'.

For date fields, the value must have the “Y-M-D” (Year-Month-Day) format.

DSDESCRIPTION

 

Description

CHARACTERISTICS

 

Characteristics

DSOBSERVATION

 

Comments

DTREVISION

 

Revision date

 

X1 - Required only when the asset type used contains revision.

 

Return

ID #

Description

return

SUCCESS: Return regarding the executed item

FAILURE: -1