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

createEditSupply

Previous  Top  Next

This method enables to insert and edit:

Data of a supply.

 

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

 

Java class

Request

web\wwwroot\ws\java\supply\CreateEditSupplyRequestType.java

Return

web\wwwroot\ws\java\supply\CreateEditSupplyResponseType.java

 

Request

ID #

Required

Description

IDBOJECT

X

Supply ID #.

NMOBJECT

X

Supply name

IDOBJECTTYPE

X

Supply type ID #

IDTEAM

X

Responsible team ID #.

IDMEASUNITY

X

Measurement unit

VLCOST

 

Cost

DTREVISION

 

Revision date

IDCOLOR

 

Color ID #

IDODOR

 

Odor ID #

IDONUCODE

 

ONUID code

ABNTCODE

 

ABNT code

IDDANGEROUSNESS

 

Hazard ID #

IDCLASSIFICATION

 

Classification ID #

FGCONTROL

 

Lot and series control [1 - Lot, 2 - Series]

FGPHYSICALSTATE

 

Physical state [1 - Solid, 2 - Liquid, 3 - Gas, 4 - Sludge]

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:

ID#_of_attribute1=value1_of_attribute1, value2_of_attribute1, value3_of_attribute1

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.

DSOBSERVATION

 

Comments

DSCONSTITUENTS

 

General description of composition

 

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

 

Return

ID #

Description

return

SUCCESS: Return regarding the executed item

FAILURE: -1