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 | |
---|---|
Request | web\wwwroot\ws\java\item\NewItemTypeRequestType.java |
Return | web\wwwroot\ws\java\item\NewItemTypeResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECTTYPE | X | Item type ID #. |
NMOBJECTTYPE | X | Item type name. |
IDOBJECTTYPEOWNER | Upper level item type ID #. | |
FGUSEMASK | X | Use identification mask: 1 - Yes; 2 - No. |
IDMASK | Identification mask ID #. (required if the option to use identification mask is equal to 1). | |
FGEDITID | Allow editing the identifier generated by the identification mask (required if the option to use identification mask is equal to 1): 1 - Yes; 2 - No. | |
FGUSEREVISION | X | Revision control: 1 - Yes; 2 - No. |
FGREVID | X¹ | Revision ID #. 1 - Numeric; 2 - Text; 3 - Customized. |
FGREVAPPROVALMODE | X¹ | Approval type: 1 - Incremental; 2 - Circular. |
FGREVRELEASEMODE | X¹ | Closure type: 1 - Automatic; 2 - Manual. |
QTREVRETENTION | X¹ | Number of retentions of obsolete revisions. |
FGREVRETENTIONMODE | X¹ | Retention frequency: 1 - Revisions; 2 - Months; 3 - Years. |
FGREVROUTETYPE | X¹ | Route type: 1 - Fixed; 2 - Variable. |
FGREVELABCLAUSE | X¹ | Acceptance of draft revision: 1 - AND ;2 - OR . |
FGREVCONSCLAUSE | X¹ | Acceptance of review revision: 1 - AND ;2 - OR . |
FGREVAPROVCLAUSE | X¹ | Acceptance of approval revision: 1 - AND ;2 - OR . |
FGREVHOMOLOGCLAUSE | X¹ | Acceptance of release revision: 1 - AND ;2 - OR . |
FGDOCVIEWWATERMARK | X | Watermark: 1 - Yes; 2 - No. |
FGCONVERTTOPDF | X | Publish PDF files: 1 - Yes; 2 - No. |
FGFILETYPE | X | File type: 1 - Simple; 2 - Multiple; 3 - Complex. |
IDCOMPLEXFILECONT | Complex 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 |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |