Everyone should be using version 1.1 of our API. If you are using an older version, please upgrade as soon as possible. API version 1.0 will not be available after April 1, 2018.
Version 1.1 is very similar to 1.0. The minor version bump accounts for small variations outlined below, and in most cases, you will be able to upgrade to version 1.1 without having to change the consuming application.
Note: This change only affects values that are returned from the API. You are free to continue sending empty string or null and the API will treat them the same.
"paging":{ "total":25, "previous":"", "page":1, "pages":3, "next":"https:\/\/www.newbrunswickjobs.ca\/rest\/v1.0\/jobs?pageSize=10&page=2", "pageSize":10 }v1.1
"paging":{ "total":25, "previous":null, "page":1, "pages":3, "next":"https://www.newbrunswickjobs.ca/api/v1.1/jobs?pageSize=10&page=2", "pageSize":10 }
{ ... "referenceId":"", "applicationUrl":"", ... }v1.1
{ ... "referenceId":null, "applicationUrl":null, ... }
{ "id":156, "neLatitude":49.309410, "swLongitude":-123.268227, "paths":[ [49.234343,-123.267883], [49.200929,-123.134274], [49.198910,-123.022980], [49.294523,-123.022637], [49.309410,-123.141312], [49.292060,-123.268227] ], "swLatitude":49.198910, "description":"Vancouver, BC", "name":"Vancouver", "longitude":-123.145264, "neLongitude":-123.022637, "latitude":49.267239, "type":"Town" }v1.1
{ "id":156, "neLatitude":49.309410, "swLongitude":-123.268227, "area": [ { "latitude": 49.234343, "longitude": -123.267883 }, { "latitude": 49.200929, "longitude": -123.134274 }, { "latitude": 49.19891, "longitude": -123.02298 }, { "latitude": 49.294523, "longitude": -123.022637 }, { "latitude": 49.30941, "longitude": -123.141312 }, { "latitude": 49.29206, "longitude": -123.268227 } ], "swLatitude":49.198910, "description":"Vancouver, BC", "name":"Vancouver", "longitude":-123.145264, "neLongitude":-123.022637, "latitude":49.267239, "type":"Town" }