Click or drag to resize
Infosoft Logo

InfoWebXMLWebService Class

Implementation of the Info Systems webservices.
Inheritance Hierarchy

Namespace:  Infosoft.Webservices
Assembly:  Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 3.12.0.0
Syntax
public class InfoWebXMLWebService : WebService

The InfoWebXMLWebService type exposes the following members.

Methods
  NameDescription
Public methodAddContactAgreement
Add a new contact agreement for a customer. Updates a contact agreement if one already exists.
Public methodAddContactAgreement2
Add a new contact agreement for a customer. Updates a contact agreement if one already exists.
Public methodCalculatePrice
Calculates the price based on product, term, currency, discount, number of copies and zip code. The price value is to be found in the Price property of the InfoWebPrice object which is returned. It is important that the product term matches the offer term, for this method to return a price.
Public methodCalculatePrice2
Calculates the price based on product, term, currency, discount, number of copies, zip code and address object. The price value is to be found in the Price property of the InfoWebPrice object which is returned.
Public methodCalculatePriceWithOffer
Calculates the price based on product, term, currency, discount, offer, number of copies and zip code. The price value is to be found in the Price property of the InfoWebPrice object which is returned.
Public methodCalculatePriceWithOffer2
Calculates the price based on product, term, currency, discount, offer, number of copies, zip code and address object. The price value is to be found in the Price property of the InfoWebPrice object which is returned.
Public methodCancelSubscription
Cancels a subscription. This method operates directly on the active database and does not require a manual import.
Public methodDeleteAndUpdateTemporaryChange
Update a temporary change. You can change start date and end date.
Public methodDeleteContactAgreement
Delete a contact agreement for a customer on the given title
Public methodDeletePermanentChange
Delete a permanent change. If the permanent change is not imported into the system it using the following properties of the InfoWebChange objects to find the permanent change: StartDate, CRFuntion, CustomerNumber and TitleCode. If the permanent change is imported into the system it finds the permanent change by searching on the InfoWebChange property OriginalStartDate.
Public methodDeleteTemporaryChange
Delete a temporary change. If the temporary change is not imported into the system it using the following properties of the InfoWebChange objects to find the temporary change: StartDate, CRFuntion, CustomerNumber and TitleCode. If the temporary change is imported into the system it using the properety DeliveryElementId of the InfoWebChange object to find the temporary change.
Public methodGetAllDeliveryAddresses
Returns all of customer's delivery addresses.
Public methodGetAllDeliveryAddressesByDates
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.
Public methodGetAllTitles
Get all titles for a customer. Use InfoWebCustomerInfo objects property InfoWebTitles and loop trough all titles. For each title use IWSubscription to get subscription info.
Public methodGetBillPayer
Returns the bill payer for given customer, subscription and date. The bill payer object contains status code, bill payers name, address and customer number.
Public methodGetCampaigns
Returns all of the campaigncodes for a title. It will return all campaigns that are active on the supplied date. If no date is set, it will use todays date.
Public methodGetCampaigns2
Returns all of the campaigncodes for a title. This method can also return offers that is not visible on web. It will return all campaigns that are active on the supplied date. If no date is set, it will use todays date.
Public methodGetCirculationStatistics
Get circulation statistics between startdate and enddate
Public methodGetCity
Get city by zipcode
Public methodGetCommChannelsByCustomerNumber
Returns a object which represents all the different communication channels for the customer, and what is the preffered communication channel.
Public methodGetComplaintCodes
Returns all of complaint codes and texts with the same dsk as the customer having the given customer number.
Public methodGetComplaintCodes2
Returns complaint codes. If verifyDistributionCompany is true, then a customernumber and titlecode must be given. The method will then return all complaint codes containing the dsk. If verifyDistributionCompany is false, and a title code is given, it will return all complaint codes on the titlecode. If titleCode is empty, it will return all complaint codes.
Public methodGetCountries
Get a collection of countries
Public methodGetCustomerDeliveryAddressByDate
Returns customer's delivery addresse for the supplied date.
Public methodGetCustomerDynamicAttributes
Get all dynamic attributes on the customer based on the customernumber
Public methodGetCustomerEconomicStatus
Returns information about the economic status for the customer, including invoice transactions and payment dates.
Public methodGetCustomerInformation
Returns customer's information based on a customer number and title code
Public methodGetCustomerInformationByTelephoneNumber
Returns a collection of InfoWebCustomerInfo objects which matches the telephone number. If a title code is sent in as a parameter, the method will also add subcription details if the customer has a subscription on that title. If title code is unknown, this method may still return a found customer but with missing subscription details.
Public methodGetCustomerNumberBySocSecNbrAndZip
Returns the customer number for the customer based on social security number and zip code.
Public methodGetCustomerProductByTitle
Get a customers product by title. Returns the same information as GetCustomerInformationByTitleAndCustomerNumber.
Public methodGetCustomersReAddresses
Get all temporary addresses
Public methodGetDeliveryStatus
Get delivery status - such as delivery not started, delivery has begun, delivery is finished, late delivery
Public methodGetDeviation
Returns the deviations for the subscription
Public methodGetDistributionDate
Returns the next distribution date based on the given date.
Public methodGetEmailByCustomerNumber
This method returns an InfoWebCustomerInfo object with username and password. Username is the email property, and the password is the UCode property.
Public methodGetMarketingActivityByCode
Gets the marketing activity by code.
Public methodGetMarketingActivityCustomersByDate
Returns a collection of customers which are valid on or after the given date.
Public methodGetNextDistributionDate
Returns the next distribution date for the title.
Public methodGetNextDistributionDateBasedOnDate
Returns the next distribution date based on the given date.
Public methodGetNextUnpaidInvoice
Returns the next unpaid invoice for the customer.
Public methodGetOffers
Get oll offers for the given title.
Public methodGetPermanentChanges
Returns a collection of permanent changes between the given dates and type of change for the customer
Public methodGetPreviousDistributionDate
Returns the previous distribution date based on the given date.
Public methodGetProducts
Returns a collection of products. Each object contains a collection of terms.
Public methodGetProducts2
Returns a collection of products. Each object contains a collection of terms.
Public methodGetRouteCollection
Get complaint per route
Public methodGetStopCodes
Returns a collection of the title's stop codes in an on dimensional array.
Public methodGetSubscriptionElements
Returns a collection of subscription information for all the titles a customer has between a start date and an end date. If the end date is not set it returns all subscription information from the start date. If no start- or end date is set, it returns all subscription information.
Public methodGetSubscriptionElements2
Returns a collection of subscription information for all the titles a customer has between a start date and an end date. If the end date is not set it returns all subscription information from the start date. If no start- or end date is set, it returns all subscription information.
Public methodGetSubscriptionMemberShips
Get memberships for a customer. Memberships can be found by using the following properties of the InfoWebSubscription object: IWMembershipHistoryCollection, IWMarketingActivityCustomerCollection and IWMarketingActivities.
Public methodGetSubscriptionNetProductStatus
Returns netproductstatus for the customer
Public methodGetSubscriptionProductInfo
Returns productinfo for the subscription.
Public methodGetSubscriptionProductMatrix
Returns the customer's subscription product matrix. Use InfoWebSubscription's property ProductMatrix to get product matrix - a string of days.
Public methodGetSubscriptionStatus
Returns the customer's subscription information.
Public methodGetTemporaryChanges
Returns a collection of temporary changes between the given dates and type of change for the customer.
Public methodHasCustomerCard
Check if customer has customer card.
Public methodSaveBillPayer
Save billpayer for given customer and subscription.
Public methodSaveCommChannelsForCustomer
Save's the customer's communication channels. Overwrites all values already in database, so if only phone is set, the rest will be set to false.
Public methodSaveComplaint
Saves complaint from customer.
Public methodSaveComplaint2
Saves complaint from customer.
Public methodSaveCustomerOrder
Saves a customer order for an article.
Public methodSaveGift Obsolete.
Saves a change for a subscription giveaway to an institution,using "WEB" as change signature. This has nothing to do with a gift to a person.
Public methodSaveGift2
Saves a change for a subscription giveaway to an institution. This has nothing to do with a gift to a person.
Public methodSaveKeep
Saves a keep change
Public methodSavePermanentMove
Saves a permanent move. Important: If the new address is in a foreign country, the zipcode must be "I/A". The actual zipcode must be written in the AddressExtension-fields on the InfoWebAddress object.
Public methodSavePermanentStop
Saves permanent stop
Public methodSaveTemporaryMove
Saves a temporary move. Important: If the new address is in a foreign country, the zipcode must be "I/A". The actual zipcode must be written in the AddressExtension-fields on the InfoWebAddress object.
Public methodSaveTemporaryProduct
Saves a temporary product change
Public methodSaveTemporaryProduct2
Saves a temporary product change with only a start date. The new product has to be registered as a temprorary product for the current product the customer receives.
Public methodSaveTemporaryStop
Saves a temorary stop
Public methodSearchCustomersByEmailAndTelephone
Search for customers using either email or telephone number or both.
Public methodSearchForCustomer
Returns a collection of InfoWebCustomerInfo objects based on the combination of search parameters and search values. The search parameter is of type enum and the search values can contains firstname, lastname, zipcode, birthdate or externalId. All parameters except title code ​​are optional. Use enum type NONE for all search parameters that should be empty. If no titlecode is given no subscription details will be loaded
Public methodSetCustomerDynamicAttribute
Associate a dynamic attribute and a value with the customer having the customernumber
Public methodUpdateAddressVisibility
Updates the visibility on a delivery address with the given ID.
Public methodUpdateCustomerAddress
Update customers address. The customer must be a prospect or passive without a future start. Only supported for the .NET datamodel. Directly against the database (no temporary information)
Public methodUpdatePermanentChange
Update a permanent change. You can change startdate and address.
Public methodUpdateSubscriptionDeliveryEditions
This method is only relevant to products that are available as both digital and paper, and paper has to be selectable. The request contains a list of days which should be the days the given customer wants to have paper delivery instead of digital. The days must be correct in regards to the valid frequency and number of editions for the product. If successfull, the change is saved as a permanent change.
Public methodUpdateTemporaryChange
Update an already registered temporary change. If the temporary change is not imported into the system it using the following properties of the InfoWebChange objects to find the temporary change: StartDate, CRFuntion, CustomerNumber and TitleCode. If the temporary change is imported into the system it using the properety DeliveryElementId of the InfoWebChange object to find the temporary change.
Public methodUpdateTemporaryChangeExtended
Update a temporary change. You can change start date, end date, address, product/term, gift, keep, stop. If the temporary change is not imported into the system it using the following properties of the InfoWebChange objects to find the temporary change: StartDate, CRFuntion, CustomerNumber and TitleCode. If the temporary change is imported into the system it using the properety DeliveryElementId of the InfoWebChange object to find the temporary change.
Public methodValidateAddress
Validates the address
Public methodVerifyCustomerId
Verifies a customer ID and returns the customernumber if it exists
Public methodVerifyCustomerNumber
Checks if a customer's customer number is valid through the web service.
Public methodVerifyCustomerNumberAndNamepart
Checks a customer's customer number and up to the three first letters of the customer's lastname for login through the web service.
Public methodVerifyCustomerNumberAndZipCode
Verifies the customer based on customer number and zip code
Public methodVerifyCustomerNumberExtended
Verify customer number and return a login object with status codes telling if the customer number was verified or not.
Top
Remarks
Primarily contains methods for manipulating the subscription system and subscription related data. For distribution see , for marketing>.
See Also