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

newItem

Previous  Top  Next

This method allows creating or editing item or family data, and associating an item with a family.

 

To add a new item that is already released, the DTREVISION field is required;

If you wish, use the IDREVISION field to customize the revision ID #;

To create a new revision releasing the item right away, do not fill the DTREVISION and IDREVISION fields.

 

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

Java class

Request

web\wwwroot\ws\java\item\NewItemRequestType.java

Return

web\wwwroot\ws\java\item\NewItemResponseType.java

 

Request

ID #

Required

Description

IDOBJECT

X

Object ID #

NMOBJECT

X

Object name

IDOBJECTTYPE

X

Object type ID #

IDTEAM

X

Responsible team ID #.

IDMEASUNITY

X

Measurement unit

FGPHYSICALSTATE

 

Physical state:

1 - Solid;

2 - Liquid;

3 - Gas;

4 - Sludge.

IDODOR

 

Odor ID #

NMCOLOR

 

Color name

IDONUCODE

 

UN code

IDDANGEROUSNESS

 

Hazard ID #

IDCLASSIFICATION

 

Classification ID #

IDABNTCODE

 

ABNT code

DTREVISION

X

Revision date, in the YYYY/MM/DD format

IDREVISION

 

Revision ID #

FGTEMPLATE

 

Indicates whether the record is a family:

"1" for family and null for item

IDTEMPLATE

 

ID # of the family with which the item will be associated

IDUSER

X1

User's reg. code #.

DSCONSTITUENTS

 

General description of composition

VLCOST

 

Item cost value

IDDRAWINGNR

 

Drawing ID #

 

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

 

Return

ID #

Description

Status

SUCCESS or FAILURE

Code

Success (1) or failure (-1)

Detail

Message about addition, editing, or error found