Tariscope 4.6.Tariscope API guide
Tariscope API Methods
1. subscriber.get
This is the GET method used to retrieve subscriber parameters.
Query parameters:
- id – subscriber identifier in Tariscope.
- email – subscriber’s email address, which is specified in Tariscope.
To execute the method, one of these parameters is sufficient.
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 –gender of the subscriber (for individuals)..
- birthday – date of birth.
- bankaccount – date of birth.
- bankmfo – bank code.
- taxcode – tax number.
- deliverytype – type of delivery of correspondence.
- privilegediscount – discount.
Example of a request to get subscriber parameters with ID = 2928:
http://localhost:8085/api/subscriber/get/?id=2928