{"info":{"_postman_id":"218f069d-1d96-48d5-a18d-405c883efda0","name":"IDW: AXN Batch","description":"<html><head></head><body><h2 id=\"before-you-start\"><strong>Before you start,</strong></h2>\n<p><strong>Create a new</strong> <strong><code>Environment</code></strong> <strong>so this project can save and write information for you automatically.</strong></p>\n<img src=\"https://content.pstmn.io/9412927d-0d08-4c3d-8c3b-dd8d7329f938/U2NyZWVuIFNob3QgMjAyMi0xMS0wOSBhdCA3LjA5LjUxIFBNLnBuZw==\">\n\n<p><a href=\"https://docs.iddataweb.com/docs/verify-api-gov-id-capture-verification-desktop-to-mobile\">Follow these instructions step-by-step to use this project properly</a></p>\n<p>If you get stuck, or decide to walk through this project again with new data, call each step in order to ensure the old data gets replaced.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24165880","collectionId":"218f069d-1d96-48d5-a18d-405c883efda0","publishedId":"2sA3kVjgVm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-22T14:38:51.000Z"},"item":[{"name":"/upload","event":[{"listen":"test","script":{"id":"ce766e42-c27a-4192-b7fa-5e2050253687","exec":["pm.environment.clear()","","var authString = request.headers.authorization.split(\" \")[1].toString()","var encodedAuth = Buffer.from(authString, 'base64')","var decodedAuth = encodedAuth.toString().split(\":\")","var batchApiKey = decodedAuth[0]","var batchApiSecret = decodedAuth[1]","","var responseBody = JSON.parse(responseBody)","","postman.setEnvironmentVariable(\"batchID\", responseBody.batchId);","postman.setEnvironmentVariable(\"userEmail\", pm.request.url.query.get(\"contact-email\"));",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"750c2d8b-b6b9-4cb8-93c9-23335f7df3e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data; boundary=----WebKitFormBoundaryE19zNvXGzXaLvS5C"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/Users/danielarchibald/Documents/batch-mfasecurity-input-template 4.csv"],"value":null}]},"url":"https://prod.axn-batch.iddataweb.com/batch/job/file/upload?contact-email=email@email.com&file-format=CSV","urlObject":{"protocol":"https","path":["batch","job","file","upload"],"host":["prod","axn-batch","iddataweb","com"],"query":[{"key":"contact-email","value":"email@email.com"},{"key":"file-format","value":"CSV"}],"variable":[]}},"response":[],"_postman_id":"750c2d8b-b6b9-4cb8-93c9-23335f7df3e7"},{"name":"/start","id":"d2c3af03-a0eb-4b16-81e0-fcc02d7f593e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{batchApiKey}}"},{"key":"password","value":"{{batchApiSecret}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"batchId\": \"{{batchID}}\",\n    \"jobParams\": {\n        \"FILE_SOURCE\": \"S3\",\n        \"OUTPUT_FILE_FORMAT\": \"csv\",\n        \"OUTPUT_FILE_NAME\": \"batchResult-1779671293\",\n        \"INPUT_COLUMNS_PERSIST\": \"*\",\n        \"OUTPUT_USER_ATTRIBUTE\": \"true\",\n        \"OUTPUT_ACQUIRED_ATTRIBUTE\": \"true\",\n        \"OUTPUT_USER_ASSERTIONS\": \"true\",\n        \"CONTACT_EMAIL\": \"{{userEmail}}\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.axn-batch.iddataweb.com/batch/job/start","urlObject":{"protocol":"https","path":["batch","job","start"],"host":["prod","axn-batch","iddataweb","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2c3af03-a0eb-4b16-81e0-fcc02d7f593e"},{"name":"/stop","id":"010aedbe-55dd-4378-8644-568466f2c334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{batchApiKey}}"},{"key":"password","value":"{{batchApiSecret}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://prod.axn-batch.iddataweb.com/batch/job/stop/","urlObject":{"protocol":"https","path":["batch","job","stop",""],"host":["prod","axn-batch","iddataweb","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"010aedbe-55dd-4378-8644-568466f2c334"},{"name":"/status","id":"993a83d8-615e-4eb2-8069-33496ba35ffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"993a83d8-615e-4eb2-8069-33496ba35ffa"}]}