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 | |
---|---|
Request | web/wwwroot/ws/java/administration/DeleteAttributeRelationshipRequestType.java |
Return | web/wwwroot/ws/java/administration/DeleteAttributeRelationshipResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ParentAttributeID | X | Parent attribute ID # |
ChildAttributeID | X | Child attribute ID # |
ParentAttributeValue | X¹ | 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 |
ChildAttributeValue | X¹ | 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 |
---|---|
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Code | SUCCESS: 1. FAILURE: Return code for the error found |
Detail | SUCCESS: Record(s) deleted FAILURE: Description of the error that was found |