.. _line_data_export:

Line Data Export
----------------


(New report in version 2)

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

Layout:


.. tabularcolumns:: |p{3cm}|p{9cm}|p{2cm}|p{1.5cm}|

+----------------------+---------------------------------------------+--------+---------+
| ELEMENT              | DESCRIPTION AND SOURCE FIELD                | DATA   | VERSION |
|                      |                                             | TYPE   |         |
+======================+=============================================+========+=========+
| provider_name        | Name of the Provider                        | string | v2      |
+----------------------+---------------------------------------------+--------+---------+
| reseller_name        | Name of the Reseller                        | string | v2      |
+----------------------+---------------------------------------------+--------+---------+
| customer_name        | Name of the Customer                        | string | v2      |
+----------------------+---------------------------------------------+--------+---------+
| division_name        | Intermediate Node (e.g                      | string | v2      |
|                      | Division or other node)                     |        |         |
+----------------------+---------------------------------------------+--------+---------+
| location_name        | Name of the Site                            | string | v2      |
+----------------------+---------------------------------------------+--------+---------+
| hierarchy            | The full hierarchy path for                 | string | v2      |
|                      | the item being exported                     |        |         |
+----------------------+---------------------------------------------+--------+---------+
| cucm_dn              | Internal Number of this line                | string | v2      |
|                      |                                             |        |         |
|                      | device/cucm/Line.pattern                    |        |         |
+----------------------+---------------------------------------------+--------+---------+
| partition            | The route partition to which                | string | v2      |
|                      | the number belongs                          |        |         |
|                      |                                             |        |         |
|                      | device/cucm/Line.routePartitionName         |        |         |
+----------------------+---------------------------------------------+--------+---------+
| description          | Description of the directory                | string | v2      |
|                      | number and partition                        |        |         |
|                      |                                             |        |         |
|                      | device/cucm/Line.description                |        |         |
+----------------------+---------------------------------------------+--------+---------+
|                      | This is mapped to the                       |        |         |
| calling_search_space | shareLineAppearanceCssName                  | string | v2      |
|                      | of the line                                 |        |         |
|                      |                                             |        |         |
|                      | device/cucm/Line.shareLineAppearanceCssName |        |         |
+----------------------+---------------------------------------------+--------+---------+


Example

::

   [   
                                                                      
       {                                                              
           "provider_name": "CS-P",                                   
           "reseller_name": "CS-NB",                                  
           "customer_name": "CustomerName",                           
           "division_name": "",                                       
           "location_name": "AAA-Boston",                             
           "hierarchy": "sys.hcs.CS-P.CS-NB.CustomerName.AAA-Boston", 
           "cucm_dn": "50409",                                        
           "partition": "Cu1-AllowVm-PT",                             
           "description": "Front Desk",                               
           "calling_search_space": "Cu1-ANumAnaly-CSS"                
       }                                                              
  ]                                                                 
