{"info":{"_postman_id":"51a349a1-3e0d-fa7d-e090-a8acda6c89cb","name":"VMworld 2017","description":"<html><head></head><body><p>This collection includes some of the examples for the Tech Talk \"Automating and Integrating Cisco ACI with VMware vRA using Ansible\" in VMworld 2017 Europe</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"911382","collectionId":"51a349a1-3e0d-fa7d-e090-a8acda6c89cb","publishedId":"6n5zCzu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2017-08-13T10:26:47.000Z"},"item":[{"name":"Cisco ACI","item":[{"name":"Authentication","item":[{"name":"Login - https://{{host}}/api/aaaLogin.json","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.imdata[0].aaaLogin.attributes.token);","postman.setEnvironmentVariable(\"urlToken\", jsonData.imdata[0].aaaLogin.attributes.urlToken);"]}}],"id":"1d0acda8-19a0-7a7d-a4dd-0e638f0aba2a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Ignored by ACI - Just to make nice the POSTMAN body</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"aaaUser\": {\n    \"attributes\": {\n      \"name\": \"{{username}}\",\n      \"pwd\": \"{{password}}\"\n    }\n  }\n}"},"url":"https://{{host}}/api/aaaLogin.json?gui-token-request=yes","urlObject":{"protocol":"https","path":["api","aaaLogin.json"],"host":["{{host}}"],"query":[{"key":"gui-token-request","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"1d0acda8-19a0-7a7d-a4dd-0e638f0aba2a"}],"id":"521bb4ff-268d-2315-d2f3-f1cd04239c39","_postman_id":"521bb4ff-268d-2315-d2f3-f1cd04239c39","description":""},{"name":"Tenant","item":[{"name":"List Tenants - https://{{host}}/api/class/fvTenant.json","id":"2de40713-f950-e847-d3fc-40aa667b6e8e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Ignored by ACI - Just to make nice the POSTMAN body</p>\n"},{"key":"Cookie","value":"APIC-cookie={{token}}","description":"<p>The header APIC-cookie must be part of the Cookie header</p>\n"},{"key":"APIC-challenge","value":"{{urlToken}}","description":"<p>Challenging token to improve API session security (not stored as cookie)</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"aaaUser\": {\n    \"attributes\": {\n      \"name\": \"{{username}}\",\n      \"pwd\": \"{{password}}\"\n    }\n  }\n}"},"url":"https://{{host}}/api/class/fvTenant.json","urlObject":{"protocol":"https","path":["api","class","fvTenant.json"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2de40713-f950-e847-d3fc-40aa667b6e8e"}],"id":"00140ea8-52d8-e9d4-20ad-40b499fc8002","_postman_id":"00140ea8-52d8-e9d4-20ad-40b499fc8002","description":""}],"id":"9df51e40-13c9-6b6d-cd94-97502f618a8b","description":"<p>You must configure an environment with the following keys:\n    - host\n    - username\n    - password\n    - token\n    - urlToken</p>\n","_postman_id":"9df51e40-13c9-6b6d-cd94-97502f618a8b"}]}