REST API - Code Snippets

REST - Authentication and Headers
Authentication is the mechanism of associating an incoming request with an API key. The PC*MILER REST service requires an API key to access the service.   ...
Tue, 16 Oct, 2018 at 2:18 PM
JAVA REST POST RouteReports Snippet
//JAVA REST POST RouteReports https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/routeReports?dataVersion={dataVersion} String ba...
Wed, 21 Jun, 2017 at 3:50 PM
JAVA REST POST MapRoute Snippet
//JAVA REST POST MapRoute       //POST https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/mapRoutes?dataset={dataset}             String address;      ...
Wed, 21 Jun, 2017 at 3:51 PM
PHP with Curl REST GET Geocode Lat/Long Request Snippet
<!DOCTYPE html> <html>     <head>         <meta charset="UTF-8">         <title>REST GEOCODE</title>   ...
Wed, 21 Jun, 2017 at 4:03 PM
PHP with Curl REST Get Geocode Address Request Snippet
<?php ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>REST GEOCODE<...
Wed, 21 Jun, 2017 at 4:02 PM
PHP mapRoute Snippet
//PHP REST map route call //https://maps.alk.com/PCMDoc/MapRoute if(isset($_POST['submit'])){ $apiKey = isset($_POST['api...
Wed, 21 Jun, 2017 at 4:03 PM