Click or drag to resize
Infosoft Logo

InfoWebXMLWebServiceGetAllDeliveryAddressesByDates Method

Returns all of customer's delivery addresses between the supplied dates. An address will only be returned if it has a start date beginning after the supplied start date, and an expiray date that is before the supplied end date. As of now, it will also return customers current delivery address even though its start date is after supplied end. This is because it will return address with minValue on expiry date.

Namespace: Infosoft.Webservices
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public InfoWebDeliveryAddress[] GetAllDeliveryAddressesByDates(
	int customerNumber,
	string titleCode,
	DateTime from,
	DateTime to
)

Parameters

customerNumber  Int32
The number for the customer
titleCode  String
The code for the subscription title
from  DateTime
Start date for address search
to  DateTime
End date for address search

Return Value

InfoWebDeliveryAddress
InfoWebDeliveryAddresseCollection - a collection of InfoWebDeliveryAddress objects. If none is found it returns an empty collection
See Also