{"info":{"_postman_id":"4fbfc253-4c01-e892-0837-0216ac421bd8","name":"EXP","description":"EXP End points for login, building a cart, picking, etc.\n\nThis uses an environment variable \"sessionId\" in many of the calls. To get this, just run the Sessions call first and that will automatically update the environment variable for you to use in the other calls.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Sessions","event":[{"listen":"test","script":{"id":"40396864-eea3-4d0c-b2f3-98e42eb5c5f4","exec":["// Set the user data","let jsonRequest = JSON.parse(pm.request.body.raw);","console.log('Request: ', jsonRequest);","pm.environment.set(\"userName\", jsonRequest.username);","console.log('userName set: ', pm.environment.get(\"userName\"));","pm.environment.set(\"password\", jsonRequest.password);","console.log('password set: ', pm.environment.get(\"password\"));","pm.environment.set(\"terminalId\", jsonRequest.deviceId);","console.log('terminalId set: ', pm.environment.get(\"terminalId\"));","","// Set the session Id environment variable","let jsonData = pm.response.json();","console.log('JSON response: ', jsonData);","let messageText = jsonData.messageText;","if (messageText == \"OK\") {","    console.log('Setting session id: ', jsonData.id);","    pm.environment.set(\"sessionId\", jsonData.id);","    console.log('SessionId set: ', pm.environment.get(\"sessionId\"));","}"],"type":"text/javascript"}}],"id":"d2b5e35f-0a93-08b2-3da9-4caf415a25fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"PDV21\",\r\n  \"password\": \"1234\",\r\n  \"deviceId\": \"TEST-DEVICE\",\r\n  \"deviceIp\": \"127.0.0.1\",\r\n  \"deviceMac\": \"BE-66-CC-09-58-7A\",\r\n  \"oem\": \"\",\r\n  \"version\": \"1.0\",\r\n  \"locale\": null,\r\n  \"uuid\": \"{{$guid}}\"\r\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/sessions"},"response":[],"_postman_id":"d2b5e35f-0a93-08b2-3da9-4caf415a25fc"},{"name":"Move Logic","id":"e8f890a9-1d0e-f5ed-ba6b-9183b7e6fa28","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sessionId\":{{sessionId}},\n  \"location\":\"I01G01S01L001\",\n  \"uuid\":\"{{$guid}}\",\n  \"workflowOrdinal\":8\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/moveLogic/getRecommendation"},"response":[],"_postman_id":"e8f890a9-1d0e-f5ed-ba6b-9183b7e6fa28"},{"name":"Move Logic Ack","id":"c4264674-6339-e0dd-d411-12f1836e926a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sessionId\":{{sessionId}},\n  \"uuid\":\"{{$guid}}\",\n  \"workflowOrdinal\":8,\n  \"moveAcknowledgementType\":\"CANCELLED\"\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/moveLogic/acknowledgeMove"},"response":[],"_postman_id":"c4264674-6339-e0dd-d411-12f1836e926a"},{"name":"Login","event":[{"listen":"prerequest","script":{"id":"e4c6e7c2-14f8-4269-a1f9-8c9fc0f2a75f","exec":["console.log('SessionId: ', pm.environment.get(\"sessionId\"));"],"type":"text/javascript"}}],"id":"cfe4a80e-c2d9-0982-2a96-55109f98dd3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"body":{"mode":"raw","raw":"{\n  \"sessionId\": {{sessionId}}, \n  \"location\": \"I01G01S01L002\", \n  \"workflow\": \"CONTINUOUS_PICKING\", \n  \"uuid\": \"{{$guid}}\"\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/logins"},"response":[],"_postman_id":"cfe4a80e-c2d9-0982-2a96-55109f98dd3a"},{"name":"Build Cart","id":"63bab819-26f7-a25f-3f3e-0c896bf7b50a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"body":{"mode":"raw","raw":"{\n  \"sessionId\": {{sessionId}}, \n  \"cartId\": \"1234CART\", \n  \"uuid\": \"{{$guid}}\"\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/carts"},"response":[],"_postman_id":"63bab819-26f7-a25f-3f3e-0c896bf7b50a"},{"name":"Build Cart Complete","id":"65ab42f1-de3f-4f29-a988-98a690d7e323","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"body":{"mode":"raw","raw":"{\"sessionId\": 619805718279059, \"uuid\": \"{{$guid}}\"}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/carts/cart01/complete"},"response":[],"_postman_id":"65ab42f1-de3f-4f29-a988-98a690d7e323"},{"name":"Induction","id":"0ad7415c-7a47-4429-a3ba-368b18d2deca","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"body":{"mode":"raw","raw":"{\"sessionId\": 173264584358220, \"containerId\": \"cart01\", \"picklistId\": 0, \"uuid\": \"{{$guid}}\"}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/inductions"},"response":[],"_postman_id":"0ad7415c-7a47-4429-a3ba-368b18d2deca"},{"name":"Logout","event":[{"listen":"prerequest","script":{"id":"e4c6e7c2-14f8-4269-a1f9-8c9fc0f2a75f","type":"text/javascript","exec":["console.log('SessionId: ', pm.environment.get(\"sessionId\"));"]}}],"id":"b1af6500-d1b2-b151-0aba-98013b16ecda","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"body":{"mode":"raw","raw":"{\n\t\"sessionId\": {{sessionId}}, \n\t\"uuid\": \"{{$guid}}\"\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/logout"},"response":[],"_postman_id":"b1af6500-d1b2-b151-0aba-98013b16ecda"},{"name":"Signout","id":"1ed69952-980e-d1f8-fbcc-8d2e9edeb22e","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"userName","value":"{{userName}}"},{"key":"password","value":"{{password}}"},{"key":"TerminalId","value":"{{terminalId}}"},{"key":"locale","value":""}],"body":{"mode":"raw","raw":"{\r\n\t\"sessionId\": {{sessionId}}, \r\n\t\"uuid\": \"{{$guid}}\"\r\n}"},"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/signout"},"response":[],"_postman_id":"1ed69952-980e-d1f8-fbcc-8d2e9edeb22e"},{"name":"Container Details","id":"a8ce3bb3-e28d-ccc2-07bd-917630d895cb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{domain}}:8080/{{root}}/resources/v1.0/exp/containerInfo/information/LPN1","description":"Request for getting container details."},"response":[],"_postman_id":"a8ce3bb3-e28d-ccc2-07bd-917630d895cb"},{"name":"Move Logic - Get Assignments","id":"7d9b1638-2db7-4359-88db-b9a439f947f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/moveLogic/allAssignments","description":"Returns the Move Logic assignments for all logged in operators"},"response":[],"_postman_id":"7d9b1638-2db7-4359-88db-b9a439f947f0"},{"name":"Move Logic - Get Work Info Cache","id":"2a94e14b-8b26-4e7b-bbdb-7fbec7f51ac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/moveLogic/workInfoCache"},"response":[],"_postman_id":"2a94e14b-8b26-4e7b-bbdb-7fbec7f51ac5"},{"name":"Move Logic - Update Work Info Cache","id":"d5a15077-a332-4b54-8520-4ccc6be6071b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/moveLogic/workInfoCache"},"response":[],"_postman_id":"d5a15077-a332-4b54-8520-4ccc6be6071b"},{"name":"Get Workflow Performance Metrics","id":"a506515b-e32c-4502-8dd4-8212a5773380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/workflow/metrics"},"response":[],"_postman_id":"a506515b-e32c-4502-8dd4-8212a5773380"},{"name":"Pick Concurrency Manager - Get Zone Locks","id":"ade4d854-93bc-43cf-90a7-38160b18877a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/concurrency/zoneLockMap"},"response":[],"_postman_id":"ade4d854-93bc-43cf-90a7-38160b18877a"},{"name":"Pick Concurrency Manager - Get Order Locks","id":"4d8cb00d-6c26-4c98-9b2c-1b3cec863b3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{domain}}:{{port}}/{{root}}/resources/v1.0/exp/concurrency/orderLockMap"},"response":[],"_postman_id":"4d8cb00d-6c26-4c98-9b2c-1b3cec863b3a"}],"event":[{"listen":"prerequest","script":{"id":"f08e5d46-e84b-4c91-9e4c-735dd2974356","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc5912c7-cddd-4b48-b8ad-e0697deeecec","type":"text/javascript","exec":[""]}}]}