{"info":{"_postman_id":"7283eb5f-78ed-488a-b86e-2a4feafba561","name":"Wayne Research asset management","description":"<html><head></head><body><h2 id=\"description\">Description</h2>\n<p>This collection documents the Wayne research asset management API. With it, we track the various assets owner by the research division, both on and <em>off</em> the paper, including but not limited to gadgets for <strong>spelunking</strong>, <strong>base-jumping</strong> and of course, <strong>bridging</strong>.</p>\n<p>cc: <a href=\"https://wayneenterprises.postman.co/users/7693503\">Bruce Wayne</a></p>\n<h2 id=\"project-responsibilities\">Project responsibilities:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Employee name</th>\n<th>Position</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Lucius Fox</td>\n<td>Project Manager</td>\n</tr>\n<tr>\n<td>Night wing</td>\n<td>Project Lead</td>\n</tr>\n<tr>\n<td>Robin</td>\n<td>Senior Tester</td>\n</tr>\n</tbody>\n</table>\n</div> <details>\n  <h5> <strong>Meta</strong> </h5>\n  - Established 2006\n  <br>\n  - Owner Bruce Wayne\n  <br>\n  - PoR Lucius Fox\n</details></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7693553","collectionId":"7283eb5f-78ed-488a-b86e-2a4feafba561","publishedId":"S1TVWxG9","public":true,"customColor":{"top-bar":"F0C000","right-sidebar":"00000","highlight":"00000"},"publishDate":"2019-08-29T08:43:16.000Z"},"item":[{"name":"Get assets","id":"ac24eff9-bc63-4a7b-afe6-480248537244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{wayneEnterprises}}/asset?assetId={{assetId}}&assetName={{assetName}}","urlObject":{"path":["asset"],"host":["{{wayneEnterprises}}"],"query":[{"description":{"content":"<p>Asset's ID: (Encoded in Base58)</p>\n","type":"text/plain"},"key":"assetId","value":"{{assetId}}"},{"description":{"content":"<p>Asset's name: (all lower case)</p>\n","type":"text/plain"},"key":"assetName","value":"{{assetName}}"}],"variable":[]}},"response":[{"id":"9e18ede9-fa91-4d34-9615-e6cdf6f676d7","name":"Get Kryptonite","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{wayneEnterprises}}/asset?assetName=kryptonyte","host":["{{wayneEnterprises}}"],"path":["asset"],"query":[{"key":"assetName","value":"kryptonyte","description":"Asset's name: (all lower case)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"assets\": [\n        {\n            \"name\": \"tumbler\",\n            \"color\": \"luminous_green\",\n\t\t\t\"status\": \"unknown\"\n        }\n    ]\n}"},{"id":"f9a816b8-ad01-46d1-a6ac-f8a8ac82f9ff","name":"Get suit","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{wayneEnterprises}}/asset?assetId=s&assetName=combat_acrobatics_suit","host":["{{wayneEnterprises}}"],"path":["asset"],"query":[{"key":"assetId","value":"s","description":"Asset's ID: (Encoded in Base58)"},{"key":"assetName","value":"combat_acrobatics_suit","description":"Asset's name: (all lower case)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"assets\": [\n        {\n            \"id\": \"s\",\n            \"name\": \"combat_acrobatics_suit\",\n            \"type\": \"high_utility_combat_suit\",\n            \"color\": \"Black\",\n            \"cost\": \"50,000\",\n\t\t\t\"status\": \"active\"\n        }\n    ]\n}"},{"id":"fe5fbcda-29ee-4db4-b43e-50152d8e0d2c","name":"Get the tumbler","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{wayneEnterprises}}/asset?assetId=r&assetName=tumbler","host":["{{wayneEnterprises}}"],"path":["asset"],"query":[{"key":"assetId","value":"r","description":"Asset's ID: (Encoded in Base58)"},{"key":"assetName","value":"tumbler","description":"Asset's name: (all lower case)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\t\"assets\": [{\n\t\t\"id\": \"r\",\n\t\t\"name\": \"tumbler\",\n\t\t\"type\": \"bridging_vehicle\",\n\t\t\"color\": \"Camoflage\",\n\t\t\"cost\": \"100,000,000\",\n\t\t\"status\": \"active\"\n\t}]\n}"}],"_postman_id":"ac24eff9-bc63-4a7b-afe6-480248537244"},{"name":"Make asset Entry","id":"93b333e5-afa2-431d-9957-8f6b92dda2c0","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","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"{{assetName}}\",\n\t\"type\": \"{{assetType}}\",\n\t\"cost\": \"{{assetCost}}\",\n\t\"status\": \"active\"\n}"},"url":"{{wayneEnterprises}}/asset","description":"<p>Create a new asset. </p>\n<p><em>Note: Already existing assets will just be updated based on <code>asset name</code>. This is not recommended. Use the <code>PUT</code> endpoint instead.</em></p>\n","urlObject":{"path":["asset"],"host":["{{wayneEnterprises}}"],"query":[],"variable":[]}},"response":[{"id":"3cdbf9e6-1c58-4364-b9a3-40adae116e57","name":"Make asset Entry","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"{{assetName}}\",\n\t\"type\": \"{{assetType}}\",\n\t\"cost\": \"{{assetCost}}\",\n\t\"status\": \"active\"\n}"},"url":"{{wayneEnterprises}}/asset"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"assets\": [\n        {\n            \"id\": \"r\",\n            \"name\": \"tumbler\",\n            \"type\": \"bridging_vehicle\",\n            \"color\": \"Camoflage\",\n            \"cost\": \"100,000,000\",\n\t\t\t\"status\": \"active\"\n        }\n    ]\n}"}],"_postman_id":"93b333e5-afa2-431d-9957-8f6b92dda2c0"},{"name":"Update asset","id":"f8c36cc0-352c-4fb7-86c6-12cc73bb0b32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"{{assetName}}\",\n\t\"type\": \"{{assetType}}\",\n\t\"cost\": \"{{assetCost}}\",\n\t\"status\": \"decomissioned\"\n}"},"url":"{{wayneEnterprises}}/asset?assetId={{assetId}}","description":"<p>Update an existing asset.</p>\n<p>Use this instead of the <code>POST</code> endpoint.</p>\n","urlObject":{"path":["asset"],"host":["{{wayneEnterprises}}"],"query":[{"description":{"content":"<p>Asset's ID: (Encoded in Base58)</p>\n","type":"text/plain"},"key":"assetId","value":"{{assetId}}"}],"variable":[]}},"response":[],"_postman_id":"f8c36cc0-352c-4fb7-86c6-12cc73bb0b32"},{"name":"Decommission asset","id":"abeda703-0444-42b9-9225-2e9d3dcbd16a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{wayneEnterprises}}/asset?assetId={{assetId}}","description":"<p>Decommission an asset. Also used to send asset to the <em>Archives</em>.</p>\n<h2> Danger: This Action performs a hard delete and is permanent.<h2></h2></h2>","urlObject":{"path":["asset"],"host":["{{wayneEnterprises}}"],"query":[{"description":{"content":"<p>Asset's ID: (Encoded in Base58)</p>\n","type":"text/plain"},"key":"assetId","value":"{{assetId}}"}],"variable":[]}},"response":[{"id":"9ae104f2-4c53-4081-a1be-76dc640c0c50","name":"Decommission asset","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{wayneEnterprises}}/asset?assetId={{assetId}}","host":["{{wayneEnterprises}}"],"path":["asset"],"query":[{"key":"assetId","value":"{{assetId}}","description":"Asset's ID: (Encoded in Base58)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"assets\": [\n        {\n            \"id\": \"r\",\n            \"status\": \"decomissioned\"\n        }\n    ]\n}"}],"_postman_id":"abeda703-0444-42b9-9225-2e9d3dcbd16a"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"id":"121fb225-a88a-4bd6-bcba-5c16f897f0b9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c4026307-278c-442b-9b98-28736b605557","type":"text/javascript","exec":[""]}}]}