Click or drag to resize
Infosoft Logo

CustomerDynamicAttributeServiceSetCustomerDynamicAttributes Method

Sets the customer dynamic attributes. All specified attributes will be set while attributes not specified will remain untouched. Attributes that already exists will be overriden with the new value. To remove an attribute set its value to the empty string.

Namespace: Infosoft.Webservices.CustomerServices
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public DynamicAttributesListResponse SetCustomerDynamicAttributes(
	SetDynamicAttributesRequest request
)

Parameters

request  SetDynamicAttributesRequest
A message containing a customernumber and all attribute, value pairs that should be set for that customer

Return Value

DynamicAttributesListResponse
A list of all currently applied attributes including the attributes that were just added
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown whenever a request is missing
InvalidValueExceptionThrown when a value in the request is not specified properly or invalid by various reasons. See fault message for details.
NotFoundExceptionThrown when the customer is not found or a dynamic attribute code is not found
See Also