Tariscope 4.6.Tariscope API guide
Tariscope API Methods
2. subscriber.list.department
This is a GET method used to retrieve a list of subscribers for a specific subscriber group. This method does not return subscribers from subgroups of a given group.
Query parameters:
- id – subscriber group identifier.
- skip – number of subscribers to be skipped when returning results. Default: 0.
- take – number of subscribers to be returned. Default: 10.
Data returned by the method:
- id – subscriber identifier.
- fullname – full name of the subscriber.
- street – street.
- House – house number.
- Flat – apartment number.
- email – email address.
- description – description.
- authcode – authorization code.
- ispublic – an indication of whether the subscriber is displayed in the subscriber directory.
- abonenttype – subscriber type.
- code – EDRPOU code.
- zipcode – postal code.
- personalcode – personal code.
- contractid – subscriber contract identifier.
- information – additional information about the subscriber.
- privilegeinfo – information about privileges.
- area – district.
- contractdate - contract date.
- building – building number.
- floornumber – floor number.
- accountId – subscriber account identifier.
- gender – subscriber gender (for individuals).
- birthday – date of birth.
- bankaccount – bank account number.
- bankmfo – bank code.
- taxcode – tax number.
- deliverytype – type of correspondence delivery.
- privilegeddiscount – discount.
Example of obtaining information on 5 subscribers of a subscriber group with ID = 123:
http://localhost:8085/api/subscriber/list/department/?id=123&tak