Skip to main content
Version: 2.2.2

deleteAttributeRelationship

This method allows removing the relationship between parent and child attributes, and the relationship between attribute values in SoftExpert Administration.

To use this method, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/administration/DeleteAttributeRelationshipRequestType.java
Returnweb/wwwroot/ws/java/administration/DeleteAttributeRelationshipResponseType.java

Request:

ID #RequiredDescription
ParentAttributeIDXParent attribute ID #
ChildAttributeIDXChild attribute ID #
ParentAttributeValueX¹Parent attribute value (required when entering the child attribute value)
Notes according to the attribute type:
• Numeric: numeric digits without thousand separator and with period (.) as decimal separator
• Currency: numeric digits without thousand separator and with period (.) as decimal separator
• Date: YYYY-MM-DD
• Time: HHHH:MM
ChildAttributeValueX¹Child attribute value (required when entering the parent attribute value)
Notes according to the attribute type:
• Numeric: numeric digits without thousand separator and with period (.) as decimal separator
• Currency: numeric digits without thousand separator and with period (.) as decimal separator
• Date: YYYY-MM-DD
• Time: HHHH:MM
info

X¹ - Required to remove only the relationship between attribute values; if it is omitted, all relationships between the parent and child attributes will be removed.

::: Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteAttributeRelationship>
<!--You may enter the following 4 items in any order-->
<urn:ParentAttributeID>?</urn:ParentAttributeID>
<urn:ChildAttributeID>?</urn:ChildAttributeID>
<urn:ParentAttributeValue>?</urn:ParentAttributeValue>
<urn:ChildAttributeValue>?</urn:ChildAttributeValue>
</urn:deleteAttributeRelationship>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
CodeSUCCESS: 1.
FAILURE: Return code for the error found
DetailSUCCESS: Record(s) deleted
FAILURE: Description of the error that was found