import_asset_structure_insert_update
This method allows defining or editing a structure for the 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_asset_structure_insert_updateRequestType.java |
Return | web\wwwroot\ws\java\asset\Import_asset_structure_insert_updateResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Asset ID # |
IDREVISION | X | Revision ID # |
IDBOBJECTCHILD | X | Asset ID # (lower level) |
IDREVISIONCHILD | X | Revision ID # (lower level) |
VLQUANTITY | X | Quantity |
FGAPPLICATION | Object specification (Considered as 1 by default): 1 - Asset; 2 - Supply. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_asset_structure_insert_update>
<!--You may enter the following 6 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:idrevision>?</urn:idrevision>
<urn:idobjectchild>?</urn:idobjectchild>
<urn:idrevisionchild>?</urn:idrevisionchild>
<urn:vlquantity>?</urn:vlquantity>
<urn:fgapplication>?</urn:fgapplication>
</urn:import_asset_structure_insert_update>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |