.. _hybrid_data_export:

Hybrid Data Export
-----------------------

.. _21.1|VOSS-847:

Filename:  ``<YYYY-MM-DD_HHMM>_hybrid.json.gz``

Layout:

.. tabularcolumns:: |p{4cm}|p{8cm}|p{2cm}|p{1.5cm}|

+-----------------+-----------------------------------------------------------+-----------+---------+
| ELEMENT         | DESCRIPTION AND SOURCE FIELD                              | DATA TYPE | VERSION |
+=================+===========================================================+===========+=========+
| provider_name   | Name of the Provider                                      | string    | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| reseller_name   | Name of the Reseller                                      | string    | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| customer_name   | name of the customer                                      | string    | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| hierarchy       | The full hierarchy path for the                           | string    | v4      |
|                 | item being exported                                       |           |         |
+-----------------+-----------------------------------------------------------+-----------+---------+
| username        | First name of user                                        | string    | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| service_type    | Hybrid type                                               | string    | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| lines           | array of lines: extension, e164, cos                      | array     | v4      |
+-----------------+-----------------------------------------------------------+-----------+---------+
| lines.extension | *release 19.3.4*                                          | string    | v4      |
|                 |                                                           |           |         |
|                 | data/MultiVendorServiceData_DAT.line1Dn (and line2Dn)     |           |         |
|                 |                                                           |           |         |
|                 | *release >= 21.1*                                         |           |         |
|                 |                                                           |           |         |
|                 | data/User.mvs_extensions.0.line                           |           |         |
|                 |                                                           |           |         |
+-----------------+-----------------------------------------------------------+-----------+---------+
| lines.e164      | *release 19.3.4*                                          | string    | v4      |
|                 |                                                           |           |         |
|                 | data/MultiVendorServiceData_DAT.line1E164 (and line2E164) |           |         |
|                 |                                                           |           |         |
|                 | *release >= 21.1*                                         |           |         |
|                 |                                                           |           |         |
|                 | data/User.mvs_extensions.0.line_e164                      |           |         |
|                 |                                                           |           |         |
+-----------------+-----------------------------------------------------------+-----------+---------+
| lines.cos       | *release 19.3.4*                                          | string    | v4      |
|                 |                                                           |           |         |
|                 | data/MultiVendorServiceData_DAT.line1CoS (and line2CoS)   |           |         |
|                 |                                                           |           |         |
|                 | *release >= 21.1*                                         |           |         |
|                 |                                                           |           |         |
|                 | data/User.mvs_extensions.0.line_cos                       |           |         |
|                 |                                                           |           |         |
+-----------------+-----------------------------------------------------------+-----------+---------+
 

Example (19.3.4)

::

   [
     { 
       "username": "user_1",
       "hierarchy": "sys.9F73F4303A93.Provider1Hierarchy.Reseller1Hierarchy.Customer1Hierarchy",
       "lines": [
         {
           "e164": "\\+441184025574",
           "class_of_service": "International-24Hrs-Enhanced",
           "extension": "8445574"
         },
         {
           "e164": "\\+441184025576",
           "class_of_service": "International-24Hrs-Enhanced",
           "extension": "8445576"
         }
       ],
       "service_type": "Cisco-MS",
       "reseller_name": "Reseller1Hierarchy",
       "provider_name": "Provider1Hierarchy",
       "customer_name": "Customer1Hierarchy"
     }
   ]


