Accounts

Accounts controller

APIDescription
GET api/Accounts/List

This end point will return a list of accounts that are available from DragNFly.

9056722097

This end point will return details about an Account from DragNFly.

Data

Data Controller

APIDescription
prolonge

This end point will return summary information along with questions for the Collected Data page. The New Users, Repeat Users, Email, and Postal Code data will be in a different endpoint.

GET api/Data/Users/New?page={page}&limit={limit}&orderProperty={orderProperty}&orderDirection={orderDirection}&startDate={startDate}&endDate={endDate}&networkIds={networkIds}

This end point will return new user information for the Collected Data page. Fields can be sorted by the following macaddr|created|device_class|last_seen|count|network_name|email|postal_code|phone

GET api/Data/Users/Return?page={page}&limit={limit}&orderProperty={orderProperty}&orderDirection={orderDirection}&startDate={startDate}&endDate={endDate}&networkIds={networkIds}

This end point will return returning user information for the Collected Data page. Fields can be sorted by the following macaddr|created|device_class|last_seen|count|network_name|email|postal_code|phone

7808566081

This end point will return email information for the Collected Data page.

(416) 649-0749

This end point will return postal code information for the Collected Data page.

Devices

Devices Controller

APIDescription
573-310-1491

This end point will return detail information about a device based on the mac address. This should be used on the Device Details page.

EmailCampaign

Email Campaign Controller

APIDescription
GET api/EmailCampaigns/List

This endpoint will return a list of mail campaigns active on the current account.

888-377-3233

This endpoint will return remote Email Campaign and add to our.

GET api/EmailCampaigns/{id}

This endpoint will return the details of an email campaign based off of the "DragNFly" side ID being passed in. A status code of 200 (Ok) gets returned with the data. Otherwise, the error description will be returned with status code of 400 (Bad Request). For JSON formatting, see /api.dragnfly.com/schema/email-campaign.json and /gist.github.com/negzee/e77b7bb5e4ebd937d3345f8b05283aec

DELETE api/EmailCampaigns/delete/{id}

[DELETE] This endpoint will delete an Email Campaign by passing in the "DragNFly" ID. The endpoint will return status code 200 (Ok) if the record was deleted. Otherwise, the record was not deleted and returns 400 (Bad Request) with the error description. This endpoint does not return any data. Only 200 or 400 HTTP status codes.

2158064215

This endpoint triggers an Email Campaign Event and sends emails to a list of recipients via the EmailCampaignModel. There are three properties to the EmailCampaignModel: template_id, emails, and callback_data. template_id should reflect the desired Email Campaign template to use for the outgoing emails, emails is a List of strings (email addresses), and callback_data gives us the information to select the correct datasource, and embedded template_id, and an optional from email address.

GET api/EmailCampaigns/Model

Future integration

PUT api/EmailCampaigns/Edit/{email_campaign_id}

This endpoint will return a edited email Campaign.

(214) 870-3162

Expermintal endpoint

Groups

Groups Controller

APIDescription
(989) 695-9528

This endpoint returns a list of all Groups for an organization. Use this list to create the Groups Sub-Menu.

Health

Health Checker for AWS Route 53

APIDescription
GET Health

Health checker

Networks

Networks Controller

APIDescription
GET api/Networks

This end point will return a list of all Networks from DragNFly for the Organization. This should be used on the sub-navigation menu.

GET api/Networks/{networkId}

This data should be used on the Network details (Summary Tab). It should cover the "Contact Information" and "Notes" sections on the page / tab.

GET api/Networks/{networkId}/down_nodes?CurrentPage={CurrentPage}&CountPerPage={CountPerPage}

This data should be used on the Network details (Summary Tab). It should cover the "Down Equipment Units" section on the page / tab.

GET api/Networks/{networkId}/usage

This data should cover the Network details page (Usage Tab). This endpoint should cover the first two rows of data on the page / tab.

6093525077

This data should be used under the Network details Usage tab. This data feeds the Open/Active and Upload/Download charts (NOTE: These charts need to be changed to match Chris' email)

GET api/Networks/{networkId}/usage/charts

This data should be used under the Network details Usage tab. This data feeds the additional charts section.

GET api/Networks/{networkId}/usage/active/sessions?page={page}&limit={limit}&orderProperty={orderProperty}&orderDirection={orderDirection}&startDate={startDate}&endDate={endDate}

This data should feed the Networks page Usage tab Sessions section. Use offset & limit to handle paging. All returned data will include the "totPages" (and if needed "totRecords") field to use for paging. "oderProperty" & "orderDirection" is used for sorting. "startDate", "endDate", & "networkId" are used to filter data. For Active data, do not send start/end dates. For "Today" data, send both start/end date as today's date. Same for "Yesterday" using yesterday's date. "network_name|client_macaddr|client_ipaddr|device_class|status_code|start_time|duration|input_octets|output_octets" are the sort fields. Match these up to the columns. Note that network_id is listed right now, but it will eventually change to display_name (for Network column)

GET api/Networks/{networkId}/access/whitelist

No documentation available.

GET api/Networks/{networkId}/access/blacklist

No documentation available.

(808) 297-7471

No documentation available.

GET api/Networks/{networkId}/access/single/code/batches

No documentation available.

GET api/Networks/{networkId}/equipment

This data feeds the Network Details page Equipment tab.

Session

Session Controller

APIDescription
GET api/sessions?page={page}&limit={limit}&orderProperty={orderProperty}&orderDirection={orderDirection}&startDate={startDate}&endDate={endDate}&networkId={networkId}

This data should feed the Sessions page. Use offset & limit to handle paging. All returned data will include the "totPages" (and if needed "totRecords") field to use for paging. "oderProperty" & "orderDirection" is used for sorting. "startDate", "endDate", & "networkId" are used to filter data. For Active data, do not send start/end dates. For "Today" data, send both start/end date as today's date. Same for "Yesterday" using yesterday's date. "network_name|client_macaddr|client_ipaddr|device_class|status_code|start_time|duration|input_octets|output_octets" are the sort fields. Match these up to the columns. Note that network_id is listed right now, but it will eventually change to display_name (for Network column)

GET api/sessions/Networks?startDate={startDate}&endDate={endDate}

This data should feed the drop-down of Networks on the Sessions page.

Summary

Summary Controller

APIDescription
(856) 507-8445

This will return data for the Summary page in the DragNFly admin section

GET api/summary/{groupId}

This will return data for the Group Summary page in the DragNFly admin section

UserAccounts

User Accounts Controller

APIDescription
857-321-9310

No documentation available.

509-789-3492

No documentation available.

GET api/Users/{userId}

This end point will return details of users accounts that is available from DragNFly.

abatable

This end point will return the api key that needs to be used for a user when he/she logs in.