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 | |
---|---|
Request | web\wwwroot\ws\java\asset\Import_objectTypeRequestType.java |
Return | web\wwwroot\ws\java\asset\Import_objectTypeResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECTTYPE | X | Object type ID # |
NMOBJECTTYPE | X | Name of the object type |
IDOBJECTTYPEOWNER | Upper level asset type ID # | |
FGUSEMASK | X | Flag to identify whether a mask will be used for numbering: 1 - Yes 2 - No |
IDMASK | Mask ID # | |
FGEDITID | Allow changing the ID # generated by the ID mask (required if the FGUSEREVISIONOBJTYPE option is equal to 1): 1 - Yes; 2 - No. | |
FGUSEREVISIONOBJTYPE | X | Flag to identify whether the class will or not have a revision: 1 - Yes; 2 - No. |
FGREVIDOBJTYPE | Revision ID # type: 1 - Text; 2 - Numeric; 3 - Customized; Will be required if the FGUSEREVISIONOBJTYPE is 1. | |
FGREVAPPROVALMODEOBJTYPE | Revision approval mode; it will be required if FGUSEREVISIONOBJTYPE is 1 | |
FGREVRELEASEMODEOBJTYPE | Revision closure mode; it will be required if FGUSEREVISIONOBJTYPE is 1 | |
QTREVRETENTIONOBJTYPE | Retention quantity of obsolete revisions; it will be required if FGUSEREVISIONOBJTYPE is 1 | |
FGREVRETENTIONMODEOBJTYPE | Retention frequency of obsolete revisions; it will be required if FGUSEREVISIONOBJTYPE is 1 | |
FGREVROUTETYPEOBJTYPE | Route type; it will be required if FGUSEREVISIONOBJTYPE is 1 | |
FGREVELABCLAUSEOBJTYPE | Acceptance of revision in the draft step. Will be required if the FGUSEREVISIONOBJTYPE is 1 | |
FGREVCONSCLAUSEOBJTYPE | Acceptance of revision in the review step. Will be required if the FGUSEREVISIONOBJTYPE is 1 | |
FGREVAPROVCLAUSEOBJTYPE | Acceptance of revision in the approval step. Will be required if the FGUSEREVISIONOBJTYPE is 1 | |
FGREVHOMOLOGCLAUSEOBJTYPE | Acceptance 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 |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |