Skip to main content
Version: 2.2.0

newItemType

This method allows creating/editing:

  • Data of an item type.

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

Java class
Requestweb\wwwroot\ws\java\item\NewItemTypeRequestType.java
Returnweb\wwwroot\ws\java\item\NewItemTypeResponseType.java

Request:

ID #RequiredDescription
IDOBJECTTYPEXItem type ID #.
NMOBJECTTYPEXItem type name.
IDOBJECTTYPEOWNERUpper level item type ID #.
FGUSEMASKXUse identification mask:
1 - Yes;
2 - No.
IDMASKIdentification mask ID #. (required if the option to use identification mask is equal to 1).
FGEDITIDAllow editing the identifier generated by the identification mask (required if the option to use identification mask is equal to 1):
1 - Yes;
2 - No.
FGUSEREVISIONXRevision control:
1 - Yes;
2 - No.
FGREVIDX¹Revision ID #.
1 - Numeric;
2 - Text;
3 - Customized.
FGREVAPPROVALMODEX¹Approval type:
1 - Incremental;
2 - Circular.
FGREVRELEASEMODEX¹Closure type:
1 - Automatic;
2 - Manual.
QTREVRETENTIONX¹Number of retentions of obsolete revisions.
FGREVRETENTIONMODEX¹Retention frequency:
1 - Revisions;
2 - Months;
3 - Years.
FGREVROUTETYPEX¹Route type:
1 - Fixed;
2 - Variable.
FGREVELABCLAUSEX¹Acceptance of draft revision:
1 - AND;
2 - OR.
FGREVCONSCLAUSEX¹Acceptance of review revision:
1 - AND;
2 - OR.
FGREVAPROVCLAUSEX¹Acceptance of approval revision:
1 - AND;
2 - OR.
FGREVHOMOLOGCLAUSEX¹Acceptance of release revision:
1 - AND;
2 - OR.
FGDOCVIEWWATERMARKXWatermark:
1 - Yes;
2 - No.
FGCONVERTTOPDFXPublish PDF files:
1 - Yes;
2 - No.
FGFILETYPEXFile type:
1 - Simple;
2 - Multiple;
3 - Complex.
IDCOMPLEXFILECONTComplex file container ID # (required if the file type option is equal to 3).
info
  • X¹ - Required if the option to control the revision is equal to 1

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:newItemtype>
<!--You may enter the following 21 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:FGUSEREVISION>?</urn:FGUSEREVISION>
<urn:FGREVID>?</urn:FGREVID>
<urn:FGREVAPPROVALMODE>?</urn:FGREVAPPROVALMODE>
<urn:FGREVRELEASEMODE>?</urn:FGREVRELEASEMODE>
<urn:QTREVRETENTION>?</urn:QTREVRETENTION>
<urn:FGREVRETENTIONMODE>?</urn:FGREVRETENTIONMODE>
<urn:FGREVROUTETYPE>?</urn:FGREVROUTETYPE>
<urn:FGREVELABCLAUSE>?</urn:FGREVELABCLAUSE>
<urn:FGREVCONSCLAUSE>?</urn:FGREVCONSCLAUSE>
<urn:FGREVAPROVCLAUSE>?</urn:FGREVAPROVCLAUSE>
<urn:FGREVHOMOLOGCLAUSE>?</urn:FGREVHOMOLOGCLAUSE>
<urn:FGDOCVIEWWATERMARK>?</urn:FGDOCVIEWWATERMARK>
<urn:FGCONVERTTOPDF>?</urn:FGCONVERTTOPDF>
<urn:FGFILETYPE>?</urn:FGFILETYPE>
<urn:IDCOMPLEXFILECONT>?</urn:IDCOMPLEXFILECONT>
</urn:newItemtype>
</soapenv:Body>
</soapenv:Envelope>

Return:

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