Subscriber API
This API may be used to provision subscribers and thereafter manage the subscriber objects. The API provides CRUD functionality to manage subscriber information. The following data model is exposed to the consumer:
Methods
Subscriber.Create
Registers a new subscriber with the given subscriber information. While
SubscriberId and UserId must always be unique, a subscriber may be
registered for multiple UserId s. In that sense the unique identification of
a subscriber object is done by considering both SubscriberId and UserId.
Following parameters could be passed:
Example of request:
Example of response:
In a case of error following error codes could be returned:
-31404- Duplicate subscriber-31405- Duplicate user-31406- Duplicate username-31409- Duplicate IMSI
Subscriber.Read
Returns the object information for the subscriber object associated with the
given SubscriberId and UserId. Returns an error if no associated
subscriber object can be found.
Following parameters could be passed:
Example of request:
Example of response:
In a case of error following error codes could be returned:
-31401- Private user not found.
Subscriber.Delete
Deletes all information associated with a given subscriber Id. Returns an error if no subscriber can be found.
Following parameters could be passed:
Example of request:
Example of response:
In a case of error following error codes could be returned:
-31401- Subscriber not found
Subscriber.Update
Updates the subscriber information for a subscriber object. The primary key for
this update operation is a combination of the given SubscriberId and
UserId. Returns an error if no associated subscriber cannot be found or an
update fails.
Example of request:
Example of response:
In a case of error following error codes could be returned:
-31401- Subscriber not found-31409- Duplicate IMSI
Subscriber.List
Returns a list of subscribers. If the number of results exceeds the internal query limit, only an initial subset will be returned. Returns an error if no valid query parameter is passed.
Example of request:
Example of response:
In a case of error following error codes could be returned:
-31411- Invalid list Query. This error may occur under different circumstances such a wrong format of aFilterexpression, unknown field passed toFields,SortorFilter, and etc.