www.wrbil.com api version 1.0

base url: (version 1.0)

https://www.wrbil.com/Apif

url format:

request type, company key, secret key, param 1, …

Authentication failure:

{“fail”:{“authentication”:”company key or secret key fail”}}

get active employee list, where thou is 0 or record # to start:

https://www.wrbil.com/Apif/emp_name_list/short_key/long_key/thou

sample return format:

Six active employees in a named json array with the key equal to the name of the request and the data is a named list of last and first names, sorted by last name and named by the system assigned record number of each employee.
{“emp_name_list”:{“22″:”Flanders, Ned”,”33″:”Simpson, Homer”,”44″:”Simpson, Marge”,”11″:”Szyslak, Moe”,”15″:”Van Houten, Milhouse”,”16″:”Ziff, Artie”}}

Employee Category

Fetch a list of employee categories, suitable for html select and option statements, results in json

url: https://www.wrbil.com/Apiv11/list_employee_category

returns a json list with the row_Id and category name, suitable for dropdowns, etc.

options: driver_only – set to ‘Y’ for driver categories only.

Bash Curl

curl -d api_key=60-wild-and-crazy-characters https://www.wrbil.com/Apiv11/list_employee_category

or, only driver categories …

curl -F "api_key=60-wild-and-crazy-characters" -F "driver_only=Y" https://www.wrbil.com/Apiv11/list_employee_category

Added Employees

You can capture new employees by api and send a message, for example, with a Zapier.com task that polls added employees and sends an email with gmail. You may have a Payroll system where you can add the employee automatically, as long as said Payroll system has the API features needed. For the most part, the Payroll industry is behind the times on API’s, but things will improve in the future.

An assumption is made that the average business is not adding employees at a rate of more than three per 15 minutes. Also, you can pay for a more premium plan at Zapier.com and get five minute polling. Also, you could implement your own polling and recognition server and check once every minute. Even another consideration here is that we will be adding webhooks as a means of notification for new employees, which is more efficient and eliminates the possibility that a new employee would be missed.

Zapier can be set to poll every 15 minutes, and will ignore the data until a new employee number hits the top of the list.

bash curl

curl https://www.wrbil.com/Apif/newemployees/api_key=your_long_complicated_60_character_rollable_api_key

php curl_exec

$x = curl_init();
curl_setopt($x, CURLOPT_VERBOSE, 0);
curl_setopt($x, CURLOPT_RETURNTRANSFER, true);
curl_setopt($x, CURLOPT_URL, "https://www.wrbil.com/Apif/newemployees/api_key=xxx
$r = curl_exec($x);

Interoperability

Will disparate applications ever talk to each other?

Quickbooks cloud applications are evolving to the point that accounting functions will be able to do simple things like provide copies of old invoices to the sales department, or updating the parts and quantities and weights and densities and class of freight on Bills of Ladings back to Quickbooks.

Some businesses have a disconnected bunch of software applications, and a high cost of rekeying information to operate multiple systems. Other businesses have invested in programming their ‘roll you own’ systems and enjoy better data and lower costs of labor in menial drudgery.

Enter Salesforce, a combination of standard CRM (Customer Relationship Management) functions and programming in Java. Not only do you get the opportunity to customize applications in Java, with enough effort you may be able to migrate complex business logic written in a standard programming language to a more cost effective and integrated platform.

But for functions like DOT Hours of Service, GPS tracking of trucks, Driver Vehicle Inspection Reports and Human Capital Management issues relating to the management of employees with Commercial Drivers Licenses and the requisite Human Resources challenges, perhaps there is an application that can be bolted on to the side of existing systems.

Why API

Integration – ´intǝ.grei∫ǝn

API’s provide information for other applications in your business model. While older technologies fall by the wayside, new software solutions integrate with messaging, storage, accounting, payroll and ERP applications.

API stands for Application Program Interface. Many things called an API offer communication between processes in complex systems, even the Windows desktop operating system uses API’s to cut and paste text, and much more.

When Wyn Rocket talks API, and when SAAS like Dropbox, Zoho, Slack, Zapier, Twilio, Mailchimp, Surveymonkey, Google Apps, Gmail, etc. talk about API’s, one web based application, like Google Calendar, is communicating with another, like Twilio.

API’s, in the SAAS context, are a means of one application to communicate with another.

The oldest API might be email. The Microsoft Windows Outlook program uses protocols like pop3, imap and smtp to manage an email file on your computer. Your computer contains some information, and servers out on the internet contain other information. When you receive emails, your Outlook program receives information from a server on the internet, and when you send an email, your computer uses Outlook to transfer the message you created back out to your email server. Your email server contacts the email destination server and sends the email to your recipients.

You need to have an account with that email server. You have to have the password. You might even use encryption. This is the kind of API we’re talking about.