Skip to main content
Version: 2.2.2

import_objectType

This method allows adding and editing:

  • Data of an asset type;

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

Java class
Requestweb\wwwroot\ws\java\asset\Import_objectTypeRequestType.java
Returnweb\wwwroot\ws\java\asset\Import_objectTypeResponseType.java

Request:

ID #RequiredDescription
IDOBJECTTYPEXObject type ID #
NMOBJECTTYPEXName of the object type
IDOBJECTTYPEOWNERUpper level asset type ID #
FGUSEMASKXFlag to identify whether a mask will be used for numbering:
1 - Yes
2 - No
IDMASKMask ID #
FGEDITIDAllow changing the ID # generated by the ID mask (required if the FGUSEREVISIONOBJTYPE option is equal to 1):
1 - Yes;
2 - No.
FGUSEREVISIONOBJTYPEXFlag to identify whether the class will or not have a revision:
1 - Yes;
2 - No.
FGREVIDOBJTYPERevision ID # type:
1 - Text;
2 - Numeric;
3 - Customized;
Will be required if the FGUSEREVISIONOBJTYPE is 1.
FGREVAPPROVALMODEOBJTYPERevision approval mode; it will be required if FGUSEREVISIONOBJTYPE is 1
FGREVRELEASEMODEOBJTYPERevision closure mode; it will be required if FGUSEREVISIONOBJTYPE is 1
QTREVRETENTIONOBJTYPERetention quantity of obsolete revisions; it will be required if FGUSEREVISIONOBJTYPE is 1
FGREVRETENTIONMODEOBJTYPERetention frequency of obsolete revisions; it will be required if FGUSEREVISIONOBJTYPE is 1
FGREVROUTETYPEOBJTYPERoute type; it will be required if FGUSEREVISIONOBJTYPE is 1
FGREVELABCLAUSEOBJTYPEAcceptance of revision in the draft step. Will be required if the FGUSEREVISIONOBJTYPE is 1
FGREVCONSCLAUSEOBJTYPEAcceptance of revision in the review step. Will be required if the FGUSEREVISIONOBJTYPE is 1
FGREVAPROVCLAUSEOBJTYPEAcceptance of revision in the approval step. Will be required if the FGUSEREVISIONOBJTYPE is 1
FGREVHOMOLOGCLAUSEOBJTYPEAcceptance of revision in the release step; it will be required if FGUSEREVISIONOBJTYPE is 1

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:asset">
<soapenv:Header/>
<soapenv:Body>
<urn:import_objectType>
<!--You may enter the following 17 items in any order-->
<urn:idobjecttype>?</urn:idobjecttype>
<urn:nmobjecttype>?</urn:nmobjecttype>
<urn:idobjecttypeowner>?</urn:idobjecttypeowner>
<urn:fgusemask>?</urn:fgusemask>
<urn:idmask>?</urn:idmask>
<urn:fgeditid>?</urn:fgeditid>
<urn:fguserevisionobjtype>?</urn:fguserevisionobjtype>
<urn:fgrevidobjtype>?</urn:fgrevidobjtype>
<urn:fgrevapprovalmodeobjtype>?</urn:fgrevapprovalmodeobjtype>
<urn:fgrevreleasemodeobjtype>?</urn:fgrevreleasemodeobjtype>
<urn:qtrevretentionobjtype>?</urn:qtrevretentionobjtype>
<urn:fgrevretentionmodeobjtype>?</urn:fgrevretentionmodeobjtype>
<urn:fgrevroutetypeobjtype>?</urn:fgrevroutetypeobjtype>
<urn:fgrevelabclauseobjtype>?</urn:fgrevelabclauseobjtype>
<urn:fgrevconsclauseobjtype>?</urn:fgrevconsclauseobjtype>
<urn:fgrevaprovclauseobjtype>?</urn:fgrevaprovclauseobjtype>
<urn:fgrevhomologclauseobjtype>?</urn:fgrevhomologclauseobjtype>
</urn:import_objectType>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred