## DESCRIPTION
* Documentation of general sms delivery on kannel apis for internal tool.

## ENDPOINTS
* `https://general-kedebah-internal.snwolley.com/registered/companies/`        : total number of registered companies on kedebah

* `https://general-kedebah-internal.snwolley.com/active/companies/`          : active companies on kedebah

* `https://general-kedebah-internal.snwolley.com/kedebah/company-hits/`         : kedebah company hits

* `https://general-kedebah-internal.snwolley.com/unique/comp-count/`         : active kedebah modules by unique company count 

* `https://general-kedebah-internal.snwolley.com/user/engagement/`     : user engagement

* `https://general-kedebah-internal.snwolley.com/unique/users-count/`     : active kedebah modules by unique users count

* `https://general-kedebah-internal.snwolley.com/kedebah/errors/`      : kedebah errors

* `https://general-kedebah-internal.snwolley.com/kedebah/worldmap/`           : kedebah usage across countries



## REQUEST

* All the endpoints accept `start_date` and `end_date` as parameters.
* Default for `start_date` and `end_date` is the current date. Pass datetime objects for specific date intervals
    + start_date
    + end_date

* `https://general-kedebah-internal.snwolley.com/registered/companies/`  
    + #### POST REQUEST EXAMPLE (PYTHON)
   ```
         json_payload = {  
        "start_date" : " ",
        "end_date"  : " "
     }
      req = requests.post("https://general-kedebah-internal.snwolley.com/registered/companies/", json=json_payload)   
   ```
   + #### RESPONSE EXAMPLE
   ```
        {
            "code": 200,
            "registered_companies": 480
        }
   ```
   + #### RESPONSE CODES
   ```
        response code|response
        -------------|-------------
             200     | ok
             500     | search failed
   ```

