Click or drag to resize
Infosoft Logo

SubscriptionOrderServiceExtendSubscription Method

Creates a new order for extending an existing active subscription. The customer number and title code must be supplied as well as the details of the purchase. This method does not update name, address, invoicepayer or dynamic attributes. Use other methods for that purpose. Due to this it is only necessary to put the customer number in the CustomerExchange object. If the last delivery for the subscription contains an end date, the supplied start date must be the same as the end date for the last delivery. If the last delivery not contains any future stop date the supplied start date can be the next distribution date or higher.

Namespace: Infosoft.Webservices.Subscription
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public ExtendSubscriptionResponse ExtendSubscription(
	ExtendSubscriptionRequest request
)

Parameters

request  ExtendSubscriptionRequest
The request containing the subscription and customer information.

Return Value

ExtendSubscriptionResponse
A response with the registered order. If the parameter OrderStatus is empty the order has gone well.

Implements

ISubscriptionOrderServiceExtendSubscription(ExtendSubscriptionRequest)
Remarks
1. If the PaymentTypeCode is not set and the configuration "WEBIMPORT ENDRE BETALINGSTYPE" is "NEI", the subscriber's payment type will not be changed. If "WEBIMPORT ENDRE BETALINGSTYPE" is "JA" the payment type will be changed to GIRO if the PaymentTypeCode is not set. 2. If the PaymentTypeCode is an invalid payment type code and the configuration "WEBIMPORT AVBRYT VED UGYLDIG BETALINGSTYPE" is "JA", the import will be aborted. If "WEBIMPORT AVBRYT VED UGYLDIG BETALINGSTYPE" is "NEI" the payment type will be changed to GIRO if the PaymentTypeCode is invalid.
See Also