{"info":{"_postman_id":"d9a88481-6e62-41f1-a4d7-22c6693514e2","name":"Qwil solution guide","description":"<html><head></head><body><p>Example of GreenLight API for worker classfications.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5228152","collectionId":"d9a88481-6e62-41f1-a4d7-22c6693514e2","publishedId":"RWgryJ75","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-10-16T16:20:40.000Z"},"item":[{"name":"1. Create client","id":"87181b20-ff04-41ee-8eaa-bac16a07eb06","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Acme Birdseed\",\n\t\"fein\": \"12-3456789\",\n\t\"admin_id\": \"qwil\"\n}"},"url":"api.greenlight.ai/partner/client","urlObject":{"path":["partner","client"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"1a09cc42-34c7-446e-910e-25ec71bc33ef","name":"1. Create client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Acme Birdseed\",\n\t\"fein\": \"12-3456789\",\n\t\"admin_id\": \"qwil\"\n}"},"url":"api.greenlight.ai/partner/client"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:10:27 GMT"},{"key":"x-amzn-RequestId","value":"02e406dc-d041-11e8-8398-f53f8511853e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"OyxVCEklPHcFrjA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc42f53-cc7504daea3b1c0022ba562e;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"U9p7igcyaH8NofvA_0k2PCF0w7WL7PWcvCVv-lPWYnxlvC8XZCfhLQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9UzMImWUR\"\n}"}],"_postman_id":"87181b20-ff04-41ee-8eaa-bac16a07eb06"},{"name":"1. Get client","id":"8d89c81a-f33d-4058-ac7e-a9f478e2ef63","request":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"}],"url":"api.greenlight.ai/partner/client/9UzMImWUR","urlObject":{"path":["partner","client","9UzMImWUR"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"88525192-33a5-477b-9ebe-36c240e4d212","name":"1. Get client","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"}],"url":"api.greenlight.ai/partner/client/9UzMImWUR"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"575"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:11:07 GMT"},{"key":"x-amzn-RequestId","value":"1a7ef6c2-d041-11e8-b905-abeb21f794fa"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"OyxbOEkmPHcF3lA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc42f7b-938cf1564a593866e9ad144a;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"h_pgiCpuxb919XXcTihJND8bu-eVFeU31ptEuh2aOGP3rHuMB-kC_w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9UzMImWUR\",\n    \"name\": \"Acme Birdseed\",\n    \"fein\": \"12-3456789\",\n    \"phone_country\": null,\n    \"phone\": null,\n    \"w2_only\": false,\n    \"w2_approval\": false,\n    \"bg_check\": null,\n    \"insurance_type\": null,\n    \"contact_user\": null,\n    \"admin_id\": \"qwil\",\n    \"currencies\": {\n        \"USD\": \"active\"\n    },\n    \"status\": \"pending\",\n    \"changed_by_user\": \"1e801128-81fb-4667-b715-fb7d356cecd3\",\n    \"changed_by_role\": {\n        \"role\": null,\n        \"resource\": null,\n        \"resource_id\": null\n    },\n    \"changed_by_ip\": \"73.189.13.242\",\n    \"valid_since\": \"2018-10-15T06:10:27.768Z\",\n    \"valid_until\": null,\n    \"hist_id\": \"zY_rgLjBTz\",\n    \"created_at\": \"2018-10-15T06:10:27.768Z\",\n    \"updated_at\": \"2018-10-15T06:10:27.768Z\"\n}"}],"_postman_id":"8d89c81a-f33d-4058-ac7e-a9f478e2ef63"},{"name":"2. Create position","id":"0142b2f8-e7a0-42d6-a8e8-46d70a03df2b","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"client_id\": \"9UzMImWUR\",\n\t\"job_category\": \"software_engineer\",\n\t\"pay_type\": \"h\",\n\t\"rate\": \"40.00\",\n\t\"rate_currency\": \"USD\",\n\t\"hours_per_week\": \"40\",\n\t\"work_location_type\": \"onsite\",\n\t\"title\": \"Senior Web Developer\",\n\t\"description\": \"Job description goes here, up to 2000 characters.\",\n\t\"start_date\": \"2018-10-31\",\n\t\"end_date\": \"2019-04-01\",\n\t\"hm_id\": \"n/a\"\n}"},"url":"api.greenlight.ai/partner/position?classification_only=true","description":"<p>A <em>position</em> in the GreenLight data model defines one or more contract relationships from the client's point of view.  You can also think of it as a template for a job description.  The position itself can be evaluated for IC classification risk.  If a position seems likely to meet the standard for Independent Contractor status, it's still necessary to evaluate each worker who is attached to that position to determine whether the worker's part of the requirement is also satisified.  On the other hand, if a position does not meet the standard for IC status, then it is generally not necessary to evaluate the worker, since one half of the test has already failed and both sides must pass to qualify an IC.</p>\n","urlObject":{"path":["partner","position"],"host":["api","greenlight","ai"],"query":[{"key":"classification_only","value":"true"}],"variable":[]}},"response":[{"id":"c9b0e511-5ea2-4f72-ab60-fc7f9f25ebba","name":"2. Create position","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"client_id\": \"9UzMImWUR\",\n\t\"job_category\": \"software_engineer\",\n\t\"pay_type\": \"h\",\n\t\"rate\": \"40.00\",\n\t\"rate_currency\": \"USD\",\n\t\"hours_per_week\": \"40\",\n\t\"work_location_type\": \"onsite\",\n\t\"title\": \"Senior Web Developer\",\n\t\"description\": \"Job description goes here, up to 2000 characters.\",\n\t\"start_date\": \"2018-10-31\",\n\t\"end_date\": \"2019-04-01\",\n\t\"hm_id\": \"n/a\"\n}"},"url":{"raw":"api.greenlight.ai/partner/position?classification_only=true","host":["api","greenlight","ai"],"path":["partner","position"],"query":[{"key":"classification_only","value":"true"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:11:46 GMT"},{"key":"x-amzn-RequestId","value":"309e6aa9-d041-11e8-a9f3-49fcf45428f7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"OyxhBHAOvHcFqSQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc42fa0-f0dfc69ced99c980b0c30ab2;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"e2P7rpifzLEx9URM8HzZy0_szZtXjbdtFWYcqbxCJGhrQAogothGTA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"J1jDtuaH6\"\n}"}],"_postman_id":"0142b2f8-e7a0-42d6-a8e8-46d70a03df2b"},{"name":"2. Get position","id":"f560c95c-5849-496d-9bc4-210fd9b68d53","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/position/J1jDtuaH6","urlObject":{"path":["partner","position","J1jDtuaH6"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"ea961b89-2724-4ab9-b493-51c4709b433f","name":"2. Get position","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/position/J1jDtuaH6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"984"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:12:31 GMT"},{"key":"x-amzn-RequestId","value":"4c8c616d-d041-11e8-9e24-09464de594af"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"OyxoWHfCvHcFaAg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc42fcf-511e96521ce7bc9ee55011fc;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"L0vHlxD17KXhFMZz2UIJUW58adYjkg0s16YU6k9d34frj17_9tt6ww=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"J1jDtuaH6\",\n    \"client_id\": \"9UzMImWUR\",\n    \"pay_type\": \"h\",\n    \"job_category\": \"software_engineer\",\n    \"rate_currency\": \"USD\",\n    \"rate\": 40,\n    \"contract_value\": null,\n    \"hours_per_week\": 40,\n    \"deliverables\": null,\n    \"start_date\": \"2018-10-31T00:00:00.000Z\",\n    \"end_date\": \"2019-04-01T00:00:00.000Z\",\n    \"title\": \"Senior Web Developer\",\n    \"description\": \"Job description goes here, up to 2000 characters.\",\n    \"po_number\": null,\n    \"po_value\": null,\n    \"po_date\": null,\n    \"tracking_number\": null,\n    \"work_location_type\": \"onsite\",\n    \"work_location_onsite_id\": null,\n    \"hm_id\": \"n/a\",\n    \"backup_approval_id\": null,\n    \"is_ic\": false,\n    \"w2_approval\": false,\n    \"bg_check\": null,\n    \"w2_only\": false,\n    \"department\": null,\n    \"comp_code\": null,\n    \"status\": \"classification_only\",\n    \"changed_by_user\": \"1e801128-81fb-4667-b715-fb7d356cecd3\",\n    \"changed_by_role\": {\n        \"role\": null,\n        \"resource\": null,\n        \"resource_id\": null\n    },\n    \"changed_by_ip\": \"73.189.13.242\",\n    \"valid_since\": \"2018-10-15T06:11:46.277Z\",\n    \"valid_until\": null,\n    \"hist_id\": \"Tg-GeN33dz\",\n    \"created_at\": \"2018-10-15T06:11:46.277Z\",\n    \"updated_at\": \"2018-10-15T06:11:46.277Z\"\n}"}],"_postman_id":"f560c95c-5849-496d-9bc4-210fd9b68d53"},{"name":"3. Create position classification","id":"424e00f0-0897-4497-91df-26486b57e454","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n    \"ref_type\":\"position\",\n    \"ref_id\": \"J1jDtuaH6\",\n    \"form_type\": \"job_classification_client\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15\"\n}"},"url":"api.greenlight.ai/partner/form-instance","urlObject":{"path":["partner","form-instance"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"872eabdf-e558-42d9-a241-19edcaff9609","name":"3. Create position classification","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n    \"ref_type\":\"position\",\n    \"ref_id\": \"J1jDtuaH6\",\n    \"form_type\": \"job_classification_client\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15\"\n}"},"url":"api.greenlight.ai/partner/form-instance"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:13:01 GMT"},{"key":"x-amzn-RequestId","value":"5ec3ebfa-d041-11e8-9077-21f5b0e003c6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"OyxtIEUXvHcFVcg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc42fed-1a64aae6299df471d10e34bf;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"3bFZ6K1ndHK7taDFXE43pGbrjE6CoFhssneUFu_kiu6aKhFNIJLMtg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"l7HVGKMJc\"\n}"}],"_postman_id":"424e00f0-0897-4497-91df-26486b57e454"},{"name":"3. Get position classification","id":"d0d0558e-a62d-429f-9eaa-75ad5af49107","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc","urlObject":{"path":["partner","form-instance","l7HVGKMJc"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"d15092c8-a184-4123-97ed-444c7867b59c","name":"3. Get position classification","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"593"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:13:25 GMT"},{"key":"x-amzn-RequestId","value":"6d018d3b-d041-11e8-9c96-21567ecd08a5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oyxw3H-4PHcF_Cg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc43005-f6280ed40c22071c7a715f44;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"G9ZYv6ExdCfOYL3bEWWNKAwi0W0-umgHlbzpcWjWBLzKdO2UhPkt5Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"l7HVGKMJc\",\n    \"ref_id\": \"J1jDtuaH6\",\n    \"ref_type\": \"position\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15T00:00:00.000Z\",\n    \"reviewer\": null,\n    \"review_dt\": null,\n    \"form_type\": \"job_classification_client\",\n    \"review_outcome\": null,\n    \"notes_by_reviewer\": null,\n    \"notes_by_creator\": null,\n    \"status\": \"pending\",\n    \"changed_by_user\": \"1e801128-81fb-4667-b715-fb7d356cecd3\",\n    \"changed_by_role\": {\n        \"role\": null,\n        \"resource\": null,\n        \"resource_id\": null\n    },\n    \"changed_by_ip\": \"73.189.13.242\",\n    \"valid_since\": \"2018-10-15T06:13:01.715Z\",\n    \"valid_until\": null,\n    \"hist_id\": \"wNskZplgOV\",\n    \"created_at\": \"2018-10-15T06:13:01.715Z\",\n    \"updated_at\": \"2018-10-15T06:13:01.715Z\"\n}"}],"_postman_id":"d0d0558e-a62d-429f-9eaa-75ad5af49107"},{"name":"4. Get position questions","id":"db3ce808-b699-4097-9938-4e8beed4c6a9","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/answers?unanswered=true","urlObject":{"path":["partner","form-instance","l7HVGKMJc","answers"],"host":["api","greenlight","ai"],"query":[{"key":"unanswered","value":"true"}],"variable":[]}},"response":[{"id":"0ec093ee-48e2-4e5b-86a9-2c25c277140f","name":"4. Get position questions","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":{"raw":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/answers?unanswered=true","host":["api","greenlight","ai"],"path":["partner","form-instance","l7HVGKMJc","answers"],"query":[{"key":"unanswered","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2745"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:13:48 GMT"},{"key":"x-amzn-RequestId","value":"7a8099cb-d041-11e8-82d5-c7d4087d2ede"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oyx0ZHy-PHcFdyw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc4301c-2bf559d490e4fa1c92b06ea8;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"Bn-KOeV8zvaUchl0fuS8b-1p8V_dmr5wTQ6Vv3HUaxtV4UKXcpbmBg=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"qwil|clDirectManagement\",\n        \"title\": \"Will your company directly manage the worker and direct day to day tasks?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clTools\",\n        \"title\": \"Will the worker be required to use tools, software, or equipment supplied or managed by your company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clSubstitute\",\n        \"title\": \"Can the worker substitute another worker in his/her place as long assignment requirements are met?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 3,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clExclusive\",\n        \"title\": \"Is the worker restricted from working for other clients?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 4,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clEmployee\",\n        \"title\": \"Are there employees within your organization who do the same work this assignment requires?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 5,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    }\n]"}],"_postman_id":"db3ce808-b699-4097-9938-4e8beed4c6a9"},{"name":"5. Upload position answers","id":"9a0f4fdc-b59a-4f58-8d5b-0b9cd2ff85f5","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"[\n\t{\n    \"question_id\":\"qwil|clExclusive\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t},\n\t{\n    \"question_id\":\"qwil|clEmployee\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t}\n]"},"url":"api.greenlight.ai/partner/answers","urlObject":{"path":["partner","answers"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"4dff9c97-c7b4-4022-a835-629cd5691ea9","name":"5. Upload position answers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"[\n\t{\n    \"question_id\":\"qwil|clExclusive\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t},\n\t{\n    \"question_id\":\"qwil|clEmployee\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t}\n]"},"url":"api.greenlight.ai/partner/answers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:14:17 GMT"},{"key":"x-amzn-RequestId","value":"8c009490-d041-11e8-a9e9-0be311666927"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oyx4_G7ivHcFxMg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc43039-12c31378430335507ba766eb;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"nMSeXL2hjKMj4LRzkj5J0LODO9rwNQHCQiw9VnVlQGPmKyU7GIyHog=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"lpnWn8kox\"\n    },\n    {\n        \"id\": \"VTQTMvvmmJ\"\n    }\n]"}],"_postman_id":"9a0f4fdc-b59a-4f58-8d5b-0b9cd2ff85f5"},{"name":"5. Get position answers & questions","id":"9d48e5bc-1058-42eb-b7e5-3d163881cefc","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/answers?unanswered=true","urlObject":{"path":["partner","form-instance","l7HVGKMJc","answers"],"host":["api","greenlight","ai"],"query":[{"key":"unanswered","value":"true"}],"variable":[]}},"response":[{"id":"9fad4f80-3e16-4504-be3f-3e9e86a2b2ae","name":"5. Get position answers & questions","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":{"raw":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/answers?unanswered=true","host":["api","greenlight","ai"],"path":["partner","form-instance","l7HVGKMJc","answers"],"query":[{"key":"unanswered","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2359"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:14:43 GMT"},{"key":"x-amzn-RequestId","value":"9b2cdb7f-d041-11e8-bdcf-03841195e872"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oyx89Fi0PHcFURA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc43052-de9a9f08eb52873ab05768ae;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f1234553b388306d833e1a4591227882.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"GEf_flsoWP19uJndTqkhUZOesqeGtQBc4eb3xmTO5GCmycgWzbTzsA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"qwil|clDirectManagement\",\n        \"title\": \"Will your company directly manage the worker and direct day to day tasks?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clTools\",\n        \"title\": \"Will the worker be required to use tools, software, or equipment supplied or managed by your company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|clSubstitute\",\n        \"title\": \"Can the worker substitute another worker in his/her place as long assignment requirements are met?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 3,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_client\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"answer_type\": \"y/n\",\n        \"attributes\": null,\n        \"id\": \"qwil|clExclusive\",\n        \"page\": 1,\n        \"section\": \"behavior\",\n        \"is_followup\": false,\n        \"seq\": 4,\n        \"title\": \"Is the worker restricted from working for other clients?\",\n        \"answer\": {\n            \"answer\": \"n\",\n            \"attributes\": null,\n            \"form_instance_id\": \"l7HVGKMJc\",\n            \"question_id\": \"qwil|clExclusive\",\n            \"id\": \"lpnWn8kox\",\n            \"score\": null\n        }\n    },\n    {\n        \"answer_type\": \"y/n\",\n        \"attributes\": null,\n        \"id\": \"qwil|clEmployee\",\n        \"page\": 1,\n        \"section\": \"relationship\",\n        \"is_followup\": false,\n        \"seq\": 5,\n        \"title\": \"Are there employees within your organization who do the same work this assignment requires?\",\n        \"answer\": {\n            \"answer\": \"n\",\n            \"attributes\": null,\n            \"form_instance_id\": \"l7HVGKMJc\",\n            \"question_id\": \"qwil|clEmployee\",\n            \"id\": \"VTQTMvvmmJ\",\n            \"score\": null\n        }\n    }\n]"}],"_postman_id":"9d48e5bc-1058-42eb-b7e5-3d163881cefc"},{"name":"6. Close & submit form","id":"9a2af669-9401-497b-858f-0745fb47cda2","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":""},"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/action/submit","urlObject":{"path":["partner","form-instance","l7HVGKMJc","action","submit"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"8cf5e2ec-e328-4855-bdbc-81a7080184ef","name":"6. Close & submit form","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":""},"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/action/submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 07:14:00 GMT"},{"key":"x-amzn-RequestId","value":"e1d80277-d049-11e8-aedb-d580b45e2aca"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oy6oXHiqPHcFzLQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc43e35-bbf49e795cbec0a6e07eb95f;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7b5e90ec4988c1c340392b828c6f9f4b.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"b_BkRj0fYUz9HwiKrN6-FPP-BUvuR1nyboWJReR07vPagPhFyEhZjA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"l7HVGKMJc\",\n    \"status\": \"submitted\"\n}"}],"_postman_id":"9a2af669-9401-497b-858f-0745fb47cda2"},{"name":"7. Get position score","id":"9cf4f031-5485-454c-887f-f77120f4291c","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/score","description":"<p>The score retrieved from the position classification specifies a risk level (0-100) and a confidence level (0-100).  Note that these scores are for the position only.  A risk level of zero or near-zero indicates that the <em>position</em> appears to meet the standard for independent contractor status; this is only half of the test, since each individual worker (modeled in our system as a <em>job</em>) must also pass.  The confidence level of the score reflects what (weighted) fraction of the offered questions were answered, increasing from zero when no questions have been answered to 100% when all questions have been answered. </p>\n","urlObject":{"path":["partner","form-instance","l7HVGKMJc","score"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"184b24a2-5304-47aa-80d5-e2f33ecfb59c","name":"7. Get position score","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"url":"api.greenlight.ai/partner/form-instance/l7HVGKMJc/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"348"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 06:32:08 GMT"},{"key":"x-amzn-RequestId","value":"090e0fcf-d044-11e8-ac95-c128b7eb8dac"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Oy0f_GoyPHcFuFA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc43466-f6bec3866a3865faa63e7e88;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 216f781ed7a0653429ac7a72888ca4c5.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"wHPw91RF8i-u9Dz1r7PlFMJkHVfQMPRZuM37ZkfjINtbR8h2SRxYQA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"form_id\": \"l7HVGKMJc\",\n    \"all\": {\n        \"num_questions\": 5,\n        \"score_max\": 50,\n        \"score_min\": -205\n    },\n    \"answered\": {\n        \"num_questions\": 2,\n        \"score\": 10,\n        \"score_max\": 10,\n        \"score_min\": -115\n    },\n    \"potential\": {\n        \"score_max\": 50,\n        \"score_min\": -80\n    },\n    \"review\": {\n        \"review_date\": null,\n        \"review_note\": null,\n        \"reviewer\": null,\n        \"score_adjust\": 0,\n        \"status\": \"not-requested\"\n    },\n    \"risk_percent\": 0,\n    \"confidence_percent\": 49\n}"}],"_postman_id":"9cf4f031-5485-454c-887f-f77120f4291c"},{"name":"8. Create worker","id":"b1912387-3566-47d3-8074-d11382a93505","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Wile Coyote\",\n\t\"admin_id\": \"qwil\"\n}"},"url":"api.greenlight.ai/partner/contractor?classification_only=true","urlObject":{"path":["partner","contractor"],"host":["api","greenlight","ai"],"query":[{"key":"classification_only","value":"true"}],"variable":[]}},"response":[{"id":"fc4cf6fc-e641-40e9-990b-d97358660584","name":"8. Create worker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Wile Coyote\",\n\t\"admin_id\": \"qwil\"\n}"},"url":"api.greenlight.ai/partner/contractor"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 20:50:15 GMT"},{"key":"x-amzn-RequestId","value":"eacb171d-d0bb-11e8-8990-55ac7ba83c75"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O0yNHHZOvHcFevA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc4fd87-563454a086d154c2cb7edd4c;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"mFTpvWjRTlS2js1Larnb3F_cNi7jr0Ydpz3z8iinCvXKoI1JL4615A=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"DsbKSKpMK\"\n}"}],"_postman_id":"b1912387-3566-47d3-8074-d11382a93505"},{"name":"8. Get worker","id":"b69e40e0-8f8a-4aeb-a0e5-f1296efb4062","request":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/contractor/SlHqhlguZ","urlObject":{"path":["partner","contractor","SlHqhlguZ"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"31922d27-7340-4dbb-8304-23e214f2517d","name":"8. Get worker","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/contractor/DsbKSKpMK"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"501"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 20:50:48 GMT"},{"key":"x-amzn-RequestId","value":"fec8bc32-d0bb-11e8-ad5a-af25e819ac84"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O0ySWE0PPHcFYdw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc4fda8-2a3fb570b8db350032911af0;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"y0n6l3936LqjC81l61nHJB8w3_tZI55yTDR610qiLOn2bhccx3O8jg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"DsbKSKpMK\",\n    \"admin_id\": \"qwil\",\n    \"name\": \"Wile Coyote\",\n    \"business_type\": \"none\",\n    \"phone\": null,\n    \"contact_user\": null,\n    \"email_accounts_receivable\": null,\n    \"email_tax\": null,\n    \"status\": \"pending\",\n    \"changed_by_user\": \"1e801128-81fb-4667-b715-fb7d356cecd3\",\n    \"changed_by_role\": {\n        \"role\": null,\n        \"resource\": null,\n        \"resource_id\": null\n    },\n    \"changed_by_ip\": \"73.189.13.242\",\n    \"valid_since\": \"2018-10-15T20:50:15.278Z\",\n    \"valid_until\": null,\n    \"hist_id\": \"TSzU4-j1T7\",\n    \"created_at\": \"2018-10-15T20:50:15.278Z\",\n    \"updated_at\": \"2018-10-15T20:50:15.278Z\"\n}"}],"_postman_id":"b69e40e0-8f8a-4aeb-a0e5-f1296efb4062"},{"name":"9. Create job","id":"9f20647c-c1f2-4676-8899-2b7e73523902","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n\t\"contractor_id\": \"DsbKSKpMK\",\n\t\"position_id\": \"J1jDtuaH6\",\n\t\"rate\": \"35.00\",\n\t\"hours_per_week\": \"40\",\n\t\"work_location_type\": \"onsite\",\n\t\"start_date\": \"2018-11-15\",\n\t\"end_date\": \"2019-03-15\",\n\t\"hm_id\": \"n/a\"\n}"},"url":"api.greenlight.ai/partner/job?classification_only=true","description":"<p>A <em>job</em> is the data element in the GreenLight that represents a contract linking an individual worker to a position.  The job:position relation is many:1, meaning that if a client has many workers doing the same work under the same conditions, those workers' jobs could all point to one common position_id.  In that situation, if the position seems to meet the standard for independent contractor status, each worker's situation should be evaluated independently, as some workers may nonetheless fail their side of the IC test, while others may pass.</p>\n","urlObject":{"path":["partner","job"],"host":["api","greenlight","ai"],"query":[{"key":"classification_only","value":"true"}],"variable":[]}},"response":[{"id":"31e6b70a-1746-423d-b8ff-6dbd782c7629","name":"9. Create job","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n\t\"contractor_id\": \"DsbKSKpMK\",\n\t\"position_id\": \"J1jDtuaH6\",\n\t\"rate\": \"35.00\",\n\t\"hours_per_week\": \"40\",\n\t\"work_location_type\": \"onsite\",\n\t\"start_date\": \"2018-11-15\",\n\t\"end_date\": \"2019-03-15\",\n\t\"hm_id\": \"n/a\"\n}"},"url":{"raw":"api.greenlight.ai/partner/job?classification_only=true","host":["api","greenlight","ai"],"path":["partner","job"],"query":[{"key":"classification_only","value":"true"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:12:35 GMT"},{"key":"x-amzn-RequestId","value":"081efee4-d0bf-11e8-80d4-41ba02b90a27"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O01eIFzcPHcFnLg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc502c0-1ff2412cc6564f2a76c5c76a;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b41814cfbf781c7c6ef41b1737f87630.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"B_-Q9uG8EOPf_NHNoGt3abzsdksFJ0MrP67UJBMqHbvz0oi1h2JDNQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"zQGitqiFT\"\n}"}],"_postman_id":"9f20647c-c1f2-4676-8899-2b7e73523902"},{"name":"9. Get job","id":"2dc53a21-f58b-4e3b-9ff3-d069616477ab","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/position/J1jDtuaH6","urlObject":{"path":["partner","position","J1jDtuaH6"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"054bda34-1c38-46f2-a26b-46a695f95ca5","name":"9. Get job","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/job/zQGitqiFT"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"540"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:13:08 GMT"},{"key":"x-amzn-RequestId","value":"1d5c01c6-d0bf-11e8-a408-b141979dc71f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O01jsHFlPHcF1-A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc502e4-172c6f4a3515ce7a577cbe18;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b41814cfbf781c7c6ef41b1737f87630.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"6fZy73MXnb1uf9TBnoTxAJA706lliFGbjF3LT_NyxbDagJ5GUGZvZw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"zQGitqiFT\",\n    \"title\": \"Senior Web Developer\",\n    \"position_id\": \"J1jDtuaH6\",\n    \"contractor_id\": \"DsbKSKpMK\",\n    \"start_date\": \"2018-10-31T00:00:00.000Z\",\n    \"end_date\": \"2019-04-01T00:00:00.000Z\",\n    \"rate\": 40,\n    \"contract_value\": null,\n    \"hours_per_week\": null,\n    \"is_w2\": null,\n    \"po_number\": null,\n    \"po_value\": null,\n    \"po_date\": null,\n    \"hm_id\": null,\n    \"status\": \"classification_only\",\n    \"changed_by_user\": null,\n    \"changed_by_role\": null,\n    \"changed_by_ip\": null,\n    \"valid_since\": null,\n    \"valid_until\": null,\n    \"hist_id\": null,\n    \"created_at\": \"2018-10-15T21:12:35.610Z\",\n    \"updated_at\": \"2018-10-15T21:12:35.613Z\"\n}"}],"_postman_id":"2dc53a21-f58b-4e3b-9ff3-d069616477ab"},{"name":"10. Create job classification","id":"574ef759-6252-4608-8685-33e8b81a8bef","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n    \"ref_type\":\"job\",\n    \"ref_id\": \"zQGitqiFT\",\n    \"form_type\": \"job_classification_worker\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15\"\n}"},"url":"api.greenlight.ai/partner/form-instance","urlObject":{"path":["partner","form-instance"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"ad03e501-7a4a-487e-84cb-ff5f897d557c","name":"10. Create job classification","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"{\n    \"ref_type\":\"job\",\n    \"ref_id\": \"zQGitqiFT\",\n    \"form_type\": \"job_classification_worker\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15\"\n}"},"url":"api.greenlight.ai/partner/form-instance"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:14:36 GMT"},{"key":"x-amzn-RequestId","value":"4f71a968-d0bf-11e8-a1c1-433a664cb906"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O01w0FQKvHcFvKA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc50338-a980e32ec9afa55a01ab852e;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b41814cfbf781c7c6ef41b1737f87630.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"FJXHiJthFg6uFdi1gvUYfloarBa9VOv1Ap7g8_0PYRW74xHhSNSvPg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"o_Pv8qeYe\"\n}"}],"_postman_id":"574ef759-6252-4608-8685-33e8b81a8bef"},{"name":"10. Get job classification","id":"fd436a36-528f-4d61-8cc8-4d3e28ed6692","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe","urlObject":{"path":["partner","form-instance","o_Pv8qeYe"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"9be980be-e1fe-4390-a8a0-0b76663c4be4","name":"10. Get job classification","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"588"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:14:57 GMT"},{"key":"x-amzn-RequestId","value":"5e5af409-d0bf-11e8-9f6b-4fda6498aa9a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O010vFZqvHcF6Qg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc50351-ef4b9c822d479d1a7632b052;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b41814cfbf781c7c6ef41b1737f87630.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"9tIp5RPjI7Wi3J2Z9Uy6ehuozPh73C3AQD5ygwT6zOORg8zspRpRTA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"o_Pv8qeYe\",\n    \"ref_id\": \"zQGitqiFT\",\n    \"ref_type\": \"job\",\n    \"admin_id\": \"qwil\",\n    \"dt\": \"2018-10-15T00:00:00.000Z\",\n    \"reviewer\": null,\n    \"review_dt\": null,\n    \"form_type\": \"job_classification_worker\",\n    \"review_outcome\": null,\n    \"notes_by_reviewer\": null,\n    \"notes_by_creator\": null,\n    \"status\": \"pending\",\n    \"changed_by_user\": \"1e801128-81fb-4667-b715-fb7d356cecd3\",\n    \"changed_by_role\": {\n        \"role\": null,\n        \"resource\": null,\n        \"resource_id\": null\n    },\n    \"changed_by_ip\": \"73.189.13.242\",\n    \"valid_since\": \"2018-10-15T21:14:35.271Z\",\n    \"valid_until\": null,\n    \"hist_id\": \"oiZh4n2tSK\",\n    \"created_at\": \"2018-10-15T21:14:35.272Z\",\n    \"updated_at\": \"2018-10-15T21:14:35.272Z\"\n}"}],"_postman_id":"fd436a36-528f-4d61-8cc8-4d3e28ed6692"},{"name":"11. Get job questions","id":"7eb6da3c-938b-4cee-9c82-c7b3d6bcef6b","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/answers?unanswered=true","urlObject":{"path":["partner","form-instance","o_Pv8qeYe","answers"],"host":["api","greenlight","ai"],"query":[{"key":"unanswered","value":"true"}],"variable":[]}},"response":[{"id":"6a73dceb-8fc5-42b3-a6ab-ad194b099078","name":"11. Get job questions","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/answers?unanswered=true","host":["api","greenlight","ai"],"path":["partner","form-instance","o_Pv8qeYe","answers"],"query":[{"key":"unanswered","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"6510"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:15:49 GMT"},{"key":"x-amzn-RequestId","value":"7b6d9434-d0bf-11e8-945d-492448e702a7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O018WG8MPHcFT6w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc50382-1ab2766c46d04e4b75a84e71;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b41814cfbf781c7c6ef41b1737f87630.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"higodnzBJxHKHKaU2jbQb1-FscaaA_Oi7B8MKvrhJl_HnDAsE9g4rA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"qwil|pInsurance\",\n        \"title\": \"Do you have general liability, errors & omissions, and workers compensation insurance?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pClients\",\n        \"title\": \"Will you have other clients during the course of this engagement?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 2,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pHoursLocation\",\n        \"title\": \"Will you determine your own hours and work location?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 3,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pResources\",\n        \"title\": \"Will you provide all resources necessary on the job?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 4,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pEmployee\",\n        \"title\": \"Have you worked as an employee of {client.name} in the last 12 months?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 5,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee\",\n        \"title\": \"Have you ever been engaged as a W-2 employee of the client company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"followups\": [\n                \"fPrevEmployee:startDate\",\n                \"fPrevEmployee:endDate\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee:startDate\",\n        \"title\": \"When did your employment start?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": true,\n        \"answer_type\": \"date\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fAdvertisement:methods\",\n        \"title\": \"What method(s)?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": true,\n        \"answer_type\": \"multi\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"choices\": [\n                \"Email\",\n                \"Online Ads\",\n                \"Print Ads\",\n                \"Direct Ads\",\n                \"TV and/or Radio\",\n                \"Other\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fSpecificHours\",\n        \"title\": \"Are you or were you required to work specific hours by the client company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee:endDate\",\n        \"title\": \"When did your employment end?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": true,\n        \"answer_type\": \"date\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fAdvertisement\",\n        \"title\": \"Do you market your services to potential clients by methods apart from just word-of-mouth?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 11,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"followups\": [\n                \"fAdvertisement:methods\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fYearsInBusiness\",\n        \"title\": \"How many continuous years have you been in business?\",\n        \"section\": \"behavior\",\n        \"page\": 2,\n        \"seq\": 5,\n        \"is_followup\": false,\n        \"answer_type\": \"select\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"choices\": [\n                \"< 1\",\n                \"1-2\",\n                \"3-5\",\n                \"6-10\",\n                \"> 10\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    }\n]"}],"_postman_id":"7eb6da3c-938b-4cee-9c82-c7b3d6bcef6b"},{"name":"12. Upload job answers","id":"21af36f6-3412-46b8-93d6-aad688cb3f7e","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"[\n\t{\n    \"question_id\":\"qwil|clExclusive\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t},\n\t{\n    \"question_id\":\"qwil|clEmployee\",\n    \"form_instance_id\": \"l7HVGKMJc\",\n    \"answer\": \"n\"\n\t}\n]"},"url":"api.greenlight.ai/partner/answers","urlObject":{"path":["partner","answers"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"75d7073a-a886-431f-9a35-9c3c03d666c0","name":"12. Upload job answers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":"[\n\t{\n    \"question_id\":\"qwil|fYearsInBusiness\",\n    \"form_instance_id\": \"o_Pv8qeYe\",\n    \"answer\": \"3-5\"\n\t},\n\t{\n    \"question_id\":\"qwil|pClients\",\n    \"form_instance_id\": \"o_Pv8qeYe\",\n    \"answer\": \"y\"\n\t}\n]"},"url":"api.greenlight.ai/partner/answers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:19:32 GMT"},{"key":"x-amzn-RequestId","value":"0096f00f-d0c0-11e8-837d-51ee9bf6aadb"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O02fQF3rPHcFaag="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc50461-6b45c605e7f11a251e12b245;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"z54DegY1gkf19iXCnEVNkxv8hyA_PpclzKmG67CUqdPpOkTzZYuZ8A=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"tBY_OWn9z\"\n    },\n    {\n        \"id\": \"d_E98hWDlU\"\n    }\n]"}],"_postman_id":"21af36f6-3412-46b8-93d6-aad688cb3f7e"},{"name":"12. Get job answers & questions Copy","id":"deeeb913-833c-4dd1-9ab1-de73aa0f64c2","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/answers?unanswered=true","urlObject":{"path":["partner","form-instance","o_Pv8qeYe","answers"],"host":["api","greenlight","ai"],"query":[{"key":"unanswered","value":"true"}],"variable":[]}},"response":[{"id":"66b688a9-5515-4977-9422-39b6c695ff14","name":"12. Get job answers & questions Copy","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/answers?unanswered=true","host":["api","greenlight","ai"],"path":["partner","form-instance","o_Pv8qeYe","answers"],"query":[{"key":"unanswered","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"6129"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:20:32 GMT"},{"key":"x-amzn-RequestId","value":"25f52122-d0c0-11e8-82b0-4123e50c74ee"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O02pDF_xvHcFuTg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc504a0-899d1da98a338e5bbb988a89;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"IvAFIvPdOD7i5p7zJ_rnQpE_j5JrAuHsVVSHCcf-3vKsZpJsktnByw=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"qwil|pInsurance\",\n        \"title\": \"Do you have general liability, errors & omissions, and workers compensation insurance?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"answer_type\": \"y/n\",\n        \"attributes\": null,\n        \"id\": \"qwil|pClients\",\n        \"page\": 0,\n        \"section\": \"behavior\",\n        \"is_followup\": false,\n        \"seq\": 2,\n        \"title\": \"Will you have other clients during the course of this engagement?\",\n        \"answer\": {\n            \"answer\": \"y\",\n            \"attributes\": null,\n            \"form_instance_id\": \"o_Pv8qeYe\",\n            \"question_id\": \"qwil|pClients\",\n            \"id\": \"d_E98hWDlU\",\n            \"score\": null\n        }\n    },\n    {\n        \"id\": \"qwil|pHoursLocation\",\n        \"title\": \"Will you determine your own hours and work location?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 3,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pResources\",\n        \"title\": \"Will you provide all resources necessary on the job?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 4,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|pEmployee\",\n        \"title\": \"Have you worked as an employee of {client.name} in the last 12 months?\",\n        \"section\": \"behavior\",\n        \"page\": 0,\n        \"seq\": 5,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee:startDate\",\n        \"title\": \"When did your employment start?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": true,\n        \"answer_type\": \"date\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee\",\n        \"title\": \"Have you ever been engaged as a W-2 employee of the client company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"followups\": [\n                \"fPrevEmployee:startDate\",\n                \"fPrevEmployee:endDate\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fAdvertisement:methods\",\n        \"title\": \"What method(s)?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 1,\n        \"is_followup\": true,\n        \"answer_type\": \"multi\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"choices\": [\n                \"Email\",\n                \"Online Ads\",\n                \"Print Ads\",\n                \"Direct Ads\",\n                \"TV and/or Radio\",\n                \"Other\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fPrevEmployee:endDate\",\n        \"title\": \"When did your employment end?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": true,\n        \"answer_type\": \"date\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fSpecificHours\",\n        \"title\": \"Are you or were you required to work specific hours by the client company?\",\n        \"section\": \"relationship\",\n        \"page\": 1,\n        \"seq\": 2,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": null,\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"id\": \"qwil|fAdvertisement\",\n        \"title\": \"Do you market your services to potential clients by methods apart from just word-of-mouth?\",\n        \"section\": \"behavior\",\n        \"page\": 1,\n        \"seq\": 11,\n        \"is_followup\": false,\n        \"answer_type\": \"y/n\",\n        \"form_type\": \"job_classification_worker\",\n        \"attributes\": {\n            \"followups\": [\n                \"fAdvertisement:methods\"\n            ]\n        },\n        \"admin_id\": \"qwil\",\n        \"status\": \"pending\",\n        \"changed_by_user\": \"system\",\n        \"changed_by_role\": {\n            \"role\": \"gl-admin\",\n            \"resource\": \"*\",\n            \"resource_id\": \"*\"\n        },\n        \"changed_by_ip\": null,\n        \"valid_since\": null,\n        \"valid_until\": null,\n        \"hist_id\": null,\n        \"created_at\": \"2018-10-15T04:29:37.865Z\",\n        \"updated_at\": \"2018-10-15T04:29:37.865Z\"\n    },\n    {\n        \"answer_type\": \"select\",\n        \"attributes\": {\n            \"choices\": [\n                \"< 1\",\n                \"1-2\",\n                \"3-5\",\n                \"6-10\",\n                \"> 10\"\n            ]\n        },\n        \"id\": \"qwil|fYearsInBusiness\",\n        \"page\": 2,\n        \"section\": \"behavior\",\n        \"is_followup\": false,\n        \"seq\": 5,\n        \"title\": \"How many continuous years have you been in business?\",\n        \"answer\": {\n            \"answer\": \"3-5\",\n            \"attributes\": null,\n            \"form_instance_id\": \"o_Pv8qeYe\",\n            \"question_id\": \"qwil|fYearsInBusiness\",\n            \"id\": \"tBY_OWn9z\",\n            \"score\": null\n        }\n    }\n]"}],"_postman_id":"deeeb913-833c-4dd1-9ab1-de73aa0f64c2"},{"name":"13. Close & submit form","id":"d656fc60-1007-4ed7-97fc-d6ee736ac0c1","request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":""},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/action/submit","urlObject":{"path":["partner","form-instance","o_Pv8qeYe","action","submit"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"1b0a7979-c6b5-441e-b789-1fbd658bcc24","name":"13. Close & submit form","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"raw","raw":""},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/action/submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:21:59 GMT"},{"key":"x-amzn-RequestId","value":"5972210f-d0c0-11e8-aa1d-3f747fb73151"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O022jF4zvHcFX6Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc504f6-04267de06e1d0ed061c65690;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"ijdsXGifm1NuUKTQvXKR_aMWMZWiLysdDl5eleiCiepsXkYyDPRYhA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"o_Pv8qeYe\",\n    \"status\": \"submitted\"\n}"}],"_postman_id":"d656fc60-1007-4ed7-97fc-d6ee736ac0c1"},{"name":"14. Get job sco","id":"5d143bc4-53c6-469c-8151-068881a5f6a4","request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/score","description":"<p>The score retrieved from the job classification specifies a risk level (0-100) and a confidence level (0-100).  Note that these scores are for the job only.  A risk level of zero or near-zero indicates that the <em>job</em> appears to meet the standard for independent contractor status; this is only half of the test, since the work itself (modeled in our system as a <em>position</em>) must also pass.  The confidence level of the score reflects what (weighted) fraction of the offered questions were answered, increasing from zero when no questions have been answered to 100% when all questions have been answered. </p>\n","urlObject":{"path":["partner","form-instance","o_Pv8qeYe","score"],"host":["api","greenlight","ai"],"query":[],"variable":[]}},"response":[{"id":"68d3155f-ce65-4aff-9286-b271d5ea46ae","name":"14. Get job score","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"{{authorization}}"}],"body":{"mode":"formdata","formdata":[]},"url":"api.greenlight.ai/partner/form-instance/o_Pv8qeYe/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"354"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 15 Oct 2018 21:22:40 GMT"},{"key":"x-amzn-RequestId","value":"720b6e3c-d0c0-11e8-9f6b-4fda6498aa9a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"O029AE7pvHcF6Qg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5bc50520-8ebba8d8fd81e7c891370e68;Sampled=1"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ca9fae216afadb306ee73a147fd8d410.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"jYiEuw5uypraAuDH-BTE0-PBOqag4BruD4KkcKERnYrWx5k-Ah8Phg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"form_id\": \"o_Pv8qeYe\",\n    \"all\": {\n        \"num_questions\": 9,\n        \"score_max\": 130,\n        \"score_min\": -345\n    },\n    \"answered\": {\n        \"num_questions\": 2,\n        \"score\": 40,\n        \"score_max\": 80,\n        \"score_min\": -40\n    },\n    \"potential\": {\n        \"score_max\": 90,\n        \"score_min\": -265\n    },\n    \"review\": {\n        \"review_date\": null,\n        \"review_note\": null,\n        \"reviewer\": null,\n        \"score_adjust\": 0,\n        \"status\": \"not-requested\"\n    },\n    \"risk_percent\": 33.3,\n    \"confidence_percent\": 25.3\n}"}],"_postman_id":"5d143bc4-53c6-469c-8151-068881a5f6a4"}],"event":[{"listen":"prerequest","script":{"id":"e3367c0f-c82d-4be8-9562-b3034fa200ff","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"72edb7d7-0b1b-4a26-ba34-32bb3597cf77","type":"text/javascript","exec":[""]}}]}