Skip to main content
Version: 2.2.1

addAttribute

This method allows adding/editing:

  • Attribute data

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

Java class
Requestweb/wwwroot/ws/java/administration/AddAttributeRequestType.java
Returnweb/wwwroot/ws/java/administration/AddAttributeResponseType.java

Request:

ID #RequiredDescription
IDATTRIBUTEXAttribute ID #.
NmAttributeXAttribute name.
IDUSERXUser ID.
FGATTRIBUTETYPEXAttribute type [1 - List of values (discrete); 2 - Undetermined (Non-discrete); 3 - External; 4 - SoftExpert Suite object].
FGDATATYPEXAttribute data type: [1 - Text, 2 - Numeric, 3 - Date, 4 - Memo, 5 - Currency, 8 - User, 9 - Organizational unit, 10 - Indicator, 11 - Audit, 12 - Kanban task, 13 - Document, 14 - Item, 15 - Asset, 16 - Supply, 18 - Project, 19 - Project task].
FGSELECTIONTYPEXSelection mode [1 - Zoom; 2 - Combo].
FGMULTIVALUEDMultivalued attribute [1 - Yes; 2 - No].
FGMASKTYPEMask type [1 - Simple mask; 2 - Regular expression]
DSMASKMask

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:addAttribute>
<!--You may enter the following 9 items in any order-->
<urn:IDATTRIBUTE>?</urn:IDATTRIBUTE>
<urn:NMATTRIBUTE>?</urn:NMATTRIBUTE>
<urn:IDUSER>?</urn:IDUSER>
<urn:FGATTRIBUTETYPE>?</urn:FGATTRIBUTETYPE>
<urn:FGDATATYPE>?</urn:FGDATATYPE>
<urn:FGSELECTIONTYPE>?</urn:FGSELECTIONTYPE>
<urn:FGMULTIVALUED>?</urn:FGMULTIVALUED>
<urn:FGMASKTYPE>?</urn:FGMASKTYPE>
<urn:DSMASK>?</urn:DSMASK>
</urn:addAttribute>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: an attribute is created;
FAILURE: Message regarding the error that occurred;