Click or drag to resize

NotificationService Class

OFV Kjøretøydata service

This service delivers the possibility to store and retreive notifications for an user.

Notifications is used to track new and changed vehicles of interrest - mail will be sendt to user when vehicles of interest is tracked by a notification.

All methods need an UserDTO as input - login user by using Login(UserDTO, TermsDTO, String) to get an UserDTO.

All methods need a format as input (json/xml) - result of request is delivered on format selected.

Inheritance Hierarchy
SystemObject
  OfvVehicleData.ServiceNotificationService

Namespace:  OfvVehicleData.Service
Assembly:  OfvVehicleData.Service (in OfvVehicleData.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class NotificationService

The NotificationService type exposes the following members.

Constructors
  NameDescription
Public methodNotificationService
Initializes a new instance of the NotificationService class
Top
Methods
  NameDescription
Public methodRemove
Delete specific one
Public methodRetrieveList
Retrieve list of all available notifications for user.
Public methodRetrieveOne
Retrieve a specific notification.
Public methodStore
Store (NEW/UPDATE) notification.

- if id is 0 then new entry will be added in database, otherwise its threated as an update.

Top
Remarks
The purpose of this service is to expose methods that can be used to store and retreive notifications for an user. Notifications that are stored is retreived on exact same format as they where stored.

THIS SERVICE IS PRETENTED TO BE USED BY OFV Kjøretøydata application ONLY!

See Also