Navigation:  Integration via SOAP web services > Published web services > Administration >

newAttributeRelationship

Previous  Top  Next

This method allows setting 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/NewAttributeRelationshipRequestType.java

Return

web/wwwroot/ws/java/administration/NewAttributeRelationshipResponseType.java

 

Request

ID #

Required

Description

ParentAttributeID

X

Parent attribute ID #.

ChildAttributeID

X

Child attribute ID #.

AttributeValueRelationList

X

Matrix; Grouper of multiple relationships between attribute values that will be inserted.

AttributeValueRelation

X

Matrix; Grouper of the relationship between attribute values that will be inserted.

ParentAttributeValue

X

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

• Hour: HHHH:MM

ChildAttributeValue

X

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

• Hour: HHHH:MM

FgDefault

 

Use [1 – Yes, 2 – No] as default.

If it is not entered, [2 – No] will be considered.

 

Return

ID #

Description

AttributeValueRelationListResponse

Returns a vector with the metadata:

• AttributeValueRelationListResponse: Matrix; Relationships

o AttributeValueRelationResponse: Matrix; Relationship

Status

oSUCCESS: SUCCESS

oFAILURE: FAILURE

Code

oSUCCESS: 1

oFAILURE: Return code for the error found

Detail

oSUCCESS: Record related

oFAILURE: Description of the error found

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Code

SUCCESS: 1

FAILURE: Return code for the error found

Detail

SUCESSO: Record(s) related

FAILURE: Description of the error found