--- http_interactions: - request: method: post uri: "/oauth/token" body: encoding: US-ASCII string: grant_type=client_credentials&client_id=&client_secret= headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '183' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Cache-Control: - no-store Pragma: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - '"636944a9f4b1f98126767e1f6af4eaa2"' X-Request-Id: - 7ad36f04-5225-410d-bbfa-96304af57d5d X-Runtime: - '0.035000' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"access_token":"0b9a70731c14ca830b68b3d5624e20dfd4a56a1359c9b59d8269cdbe9e930094","token_type":"bearer","expires_in":7200,"created_at":1424907843}' http_version: recorded_at: Wed, 25 Feb 2015 23:44:03 GMT - request: method: get uri: /api/v1/driver_commissions_history.json body: encoding: US-ASCII string: '' headers: Authorization: - Bearer 0b9a70731c14ca830b68b3d5624e20dfd4a56a1359c9b59d8269cdbe9e930094 response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Content-Type: - application/json; charset=utf-8 Etag: - '"3cebdc8ebd0cf1b12efc87f79f1c120a"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 572e4123-a78a-448c-9d73-abe142876217 X-Runtime: - '0.043000' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '[{"driver_id":1,"backhauls":"4115","freight_revenue":4221,"customer_id":294,"customer_name":"Aurelia, Rohan","delivery_date":"2014-01-01","driver_rate":6291,"freight_bill_number":8188,"fuel_surcharge":8742,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":8457,"order_number_text":"7660","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":1252,"split_rate":2812,"total_freight_revenue":1819,"drvrcomh_key":"24168 73584449"},{"driver_id":2,"backhauls":"4140","freight_revenue":6753,"customer_id":7428,"customer_name":"Elvera, Mayer","delivery_date":"2014-01-01","driver_rate":2107,"freight_bill_number":9720,"fuel_surcharge":4306,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":1232,"order_number_text":"1888","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":9343,"split_rate":8754,"total_freight_revenue":7556,"drvrcomh_key":"49773 57222043"},{"driver_id":3,"backhauls":"6757","freight_revenue":4416,"customer_id":7816,"customer_name":"Lew, Marks","delivery_date":"2014-01-01","driver_rate":4834,"freight_bill_number":2001,"fuel_surcharge":3869,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":6950,"order_number_text":"1643","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":1196,"split_rate":1124,"total_freight_revenue":7371,"drvrcomh_key":"68210 21298265"},{"driver_id":4,"backhauls":"5331","freight_revenue":6150,"customer_id":1454,"customer_name":"Ezekiel, Brakus","delivery_date":"2014-01-01","driver_rate":7235,"freight_bill_number":1791,"fuel_surcharge":8383,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":1991,"order_number_text":"7043","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":4706,"split_rate":3469,"total_freight_revenue":5774,"drvrcomh_key":"20427 50676873"},{"driver_id":5,"backhauls":"1182","freight_revenue":3528,"customer_id":5514,"customer_name":"Rodrick, Luettgen","delivery_date":"2014-01-01","driver_rate":1813,"freight_bill_number":5519,"fuel_surcharge":421,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":3375,"order_number_text":"1034","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":6745,"split_rate":674,"total_freight_revenue":8439,"drvrcomh_key":"22523 70171858"},{"driver_id":6,"backhauls":"6281","freight_revenue":8928,"customer_id":5327,"customer_name":"Odie, Boyle","delivery_date":"2014-01-01","driver_rate":3624,"freight_bill_number":6647,"fuel_surcharge":3414,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":1802,"order_number_text":"4756","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":2489,"split_rate":7738,"total_freight_revenue":6174,"drvrcomh_key":"64315 85047228"},{"driver_id":7,"backhauls":"2212","freight_revenue":3607,"customer_id":8475,"customer_name":"Sherman, Heidenreich","delivery_date":"2014-01-01","driver_rate":2871,"freight_bill_number":3579,"fuel_surcharge":8186,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":4787,"order_number_text":"2412","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":7661,"split_rate":8457,"total_freight_revenue":6402,"drvrcomh_key":"76388 43618717"},{"driver_id":8,"backhauls":"5785","freight_revenue":6518,"customer_id":9765,"customer_name":"Skyla, Kiehn","delivery_date":"2014-01-01","driver_rate":4450,"freight_bill_number":912,"fuel_surcharge":6168,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":3865,"order_number_text":"7122","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":2324,"split_rate":4192,"total_freight_revenue":8359,"drvrcomh_key":"62468 58677101"},{"driver_id":9,"backhauls":"3848","freight_revenue":3440,"customer_id":5882,"customer_name":"Vicky, Bauch","delivery_date":"2014-01-01","driver_rate":6377,"freight_bill_number":7754,"fuel_surcharge":1074,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":5565,"order_number_text":"1298","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":8622,"split_rate":7173,"total_freight_revenue":4724,"drvrcomh_key":"19791 98581877"},{"driver_id":10,"backhauls":"7070","freight_revenue":5871,"customer_id":8994,"customer_name":"Audreanne, Quitzon","delivery_date":"2014-01-01","driver_rate":3369,"freight_bill_number":6560,"fuel_surcharge":4827,"layover":"layover","movement_type":"WALKING FLOOR","other_hour_dollars":8201,"order_number_text":"0065","origin_name":"ORIGIN NAME","paid_date":"2014-01-01","revenue":2480,"split_rate":6634,"total_freight_revenue":4212,"drvrcomh_key":"78688 88857276"}]' http_version: recorded_at: Wed, 25 Feb 2015 23:44:03 GMT - request: method: post uri: "/oauth/token" body: encoding: US-ASCII string: grant_type=client_credentials&client_id=&client_secret= headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '183' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Cache-Control: - no-store Pragma: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - '"37e499a1eada80f17cc0328921b8fe55"' X-Request-Id: - a91a20d9-edaa-468d-b104-429145f9655b X-Runtime: - '0.050000' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"access_token":"8cf762be46b1177415a5976636e9ebfbf6fc01e3c585155a2176d5bf6d70baca","token_type":"bearer","created_at":1482272535}' http_version: recorded_at: Tue, 20 Dec 2016 22:22:15 GMT - request: method: get uri: "/api/v1/driver_commissions_history.json" body: encoding: US-ASCII string: '' headers: Authorization: - Bearer 8cf762be46b1177415a5976636e9ebfbf6fc01e3c585155a2176d5bf6d70baca response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Content-Type: - application/json; charset=utf-8 Etag: - '"d751713988987e9331980363e24189ce"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 55ec56af-f0bc-4772-8ef3-dbfc86698291 X-Runtime: - '0.040000' Transfer-Encoding: - chunked body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 20 Dec 2016 22:22:15 GMT recorded_with: VCR 3.0.1