.. _webex_teams_data_export:

Webex Teams Data Export
-----------------------

.. _19.1.1|VOSS-507:
.. _21.4-PB2|VOSS-1138|EKB-15971:

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

Layout:

.. tabularcolumns:: |p{4cm}|p{9cm}|p{2cm}|p{1cm}|

+---------------+--------------------------------------------------+-----------------+---------+
| ELEMENT       | DESCRIPTION                                      | DATA TYPE       | VERSION |
+===============+==================================================+=================+=========+
| provider_name | Name of the Provider                             | string          | v2.2    |
+---------------+--------------------------------------------------+-----------------+---------+
| reseller_name | Name of the Reseller                             | string          | v2.2    |
+---------------+--------------------------------------------------+-----------------+---------+
| customer_name | name of the customer                             | string          | v2.2    |
+---------------+--------------------------------------------------+-----------------+---------+
| division_name | Intermediate Node (e.g. Division                 | string          | v2.2    |
|               | or other node)                                   |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| location_name | Site Name                                        | string          | v2.2    |
+---------------+--------------------------------------------------+-----------------+---------+
| hierarchy     | The full hierarchy path for the                  | string          | v2.2    |
|               | item being exported                              |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| firstName     | First name of user                               | string          | v2.2    |
|               |                                                  |                 |         |
|               | device/spark/User.firstName                      |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| lastName      | Last name of user                                | string          | v2.2    |
|               |                                                  |                 |         |
|               | device/spark/User.lastName                       |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| email         | User email address                               | string          | v2.2    |
|               |                                                  |                 |         |
|               | device/spark/User.email                          |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| type          | device/spark/User.type                           | string          |         |
+---------------+--------------------------------------------------+-----------------+---------+
| loginEnabled  | device/spark/User.loginEnabled                   | boolean         |         |
+---------------+--------------------------------------------------+-----------------+---------+
| phoneNumbers  | device/spark/User.phoneNumbers                   | array (objects) |         |
+---------------+--------------------------------------------------+-----------------+---------+
|               |                                                  |                 |         |
|               | * type                                           | * string        |         |
|               | * value                                          | * string        |         |
|               |                                                  |                 |         |
|               | Example:                                         |                 |         |
|               |                                                  |                 |         |
|               | ::                                               |                 |         |
|               |                                                  |                 |         |
|               |    [{"type": "work", "value": "\\+13125557007"}] |                 |         |
|               |                                                  |                 |         |
|               |                                                  |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| extension     | User extension                                   | string          | v2.2    |
|               |                                                  |                 |         |
|               | device/spark/User.extension                      |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| status        | Webex App user status                            | string          | v2.2    |
|               |                                                  |                 |         |
|               | device/spark/User.status                         |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
| licenses      | Webex licenses:                                  | array (objects) |         |
+---------------+--------------------------------------------------+-----------------+---------+
|               |                                                  |                 |         |
|               | * license                                        | * string        |         |
|               |                                                  |                 |         |
|               | device/spark/User.licenses                       |                 |         |
+---------------+--------------------------------------------------+-----------------+---------+
 
Example

::

   [
     {
      "provider_name": "Provider_01",
      "reseller_name": "Reseller_01",
      "customer_name": "Customer_01",
      "division_name": "Intermediate_Node_01",
      "location_name": "Site_02",
      "hierarchy": "sys.hcs.Provider_01.Reseller_01.Customer_01.Intermediate_Node_01.Site_02",
      "firstName": "Randall",
      "lastName": "Stephens",
      "email": "randall.stephens@shawshank.gov",
      "type": "person",
      "loginEnabled": true,
      "phoneNumbers": [
        {
          "type": "work",
          "value": "\\+13125557007"
        }
      ],
      "extension": "7007",
      "licenses": [
        {
        "license" : "Call on Webex"
        },
        {
        "license" : "Free message"
        },
        {
        "license" : "Free screen share"
        }
      ],
      "status": "The user has never logged in; a status cannot be determined."
     }
   ]




.. note::

   Services reported on are dynamically included.
   The reference material and JSON snippet here 
   are examples.


.. tabularcolumns:: |p{5cm}|p{7cm}|p{2cm}|p{1cm}| 

+-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| ELEMENT               | DESCRIPTION                                                                                                                                                                                                                 | DATA TYPE | VERSION |
+=======================+=============================================================================================================================================================================================================================+===========+=========+
| hybrid_call_services: |                                                                                                                                                                                                                             |           | v2.2    |
+-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
|                       |                                                                                                                                                                                                                             |           |         |
| connect               | Users' incoming calls will ring their work phones and the Cisco Webex App app. Users can call their colleagues from either their phones or the app, too. Aware must be enabled before the user can be enabled for Connect.  | boolean   | v2.2    |
+-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
|                       |                                                                                                                                                                                                                             |           |         |
| aware                 | Users can share content from the Cisco Webex App app during a call from their work phones and view their call history in the app.                                                                                           | boolean   | v2.2    |
+-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+



.. tabularcolumns:: |p{4cm}|p{9cm}|p{1.5cm}|p{1cm}|

+---------------------------+-------------------------------+-----------+---------+
| ELEMENT                   | DESCRIPTION                   | DATA TYPE | VERSION |
+===========================+===============================+===========+=========+
| hybrid_calendar_services: |                               |           | v2.2    |
+---------------------------+-------------------------------+-----------+---------+
|                           |                               |           |         |
| google                    | Google Calendar               | boolean   | v2.2    |
+---------------------------+-------------------------------+-----------+---------+
|                           |                               |           |         |
| microsoft_exchange        | Microsoft Exchange/Office 365 | boolean   | v2.2    |
+---------------------------+-------------------------------+-----------+---------+



.. tabularcolumns:: |p{5cm}|p{7.5cm}|p{1.5cm}|p{1cm}|


+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| ELEMENT               | DESCRIPTION                                                                                                                          | DATA TYPE | VERSION |
+=======================+======================================================================================================================================+===========+=========+
| meeting               | Named User Licence. Each Named User license allows 1 user to be entitled as a meeting host. Named users can hold unlimited meetings. | N/A       | N/A     |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_enterprise_200  |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_support_center  |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_meeting_center  |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_cmr             |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_event_center    |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| webex_training_center |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+
| meeting               |                                                                                                                                      | boolean   | v2.2    |
+-----------------------+--------------------------------------------------------------------------------------------------------------------------------------+-----------+---------+



Example

::

   [                                       
    {
      "division_name":"",
      "status":"",
      "location_name":"Site_03",
      "firstName":"",
      "hierarchy":"sys.hcs.Provider_01.Reseller_01.Customer_02.Site_03",
      "lastName":"",
      "provider_name":"Provider_01",
      "services":{
        "hybrid_call_services":{
          "connect":false,
          "aware":false
        },
        "message":{
          "messaging":false
        },
        "meeting":{
          "webex_enterprise_200":false,
          "webex_support_center":false,
          "webex_meeting_center":false,
          "webex_cmr":false,
          "webex_event_center":false,
          "webex_training_center":false,
          "meeting":false
        },
        "hybrid_calendar_services":{
          "google":false,
          "microsoft_exchange":false
        },
        "hybrid_message_services":{
          "message":false
        }
      },
      "reseller_name":"Reseller_01",
      "line":"",
      "email":"spark_user_36@emailaccount.com",
      "customer_name":"Customer_02"
    },
   ]                                          
