{ "info": { "_postman_id": "75d711b7-0631-4ea2-9e5b-4fddc85d48a1", "name": "CCA API", "description": "# Introduction\nWhat does your API do?\n\n# Overview\nThings that the developers should know about\n\n# Authentication\nWhat is the preferred way of using the API?\n\n# Error Codes\nWhat errors and status codes can a user expect?\n\n# Rate limit\nIs there a limit to the number of requests an user can send?", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Server status", "item": [ { "name": "{{url}}/Server/State", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{url}}/ccawebapi/Server/State", "host": [ "{{url}}" ], "path": [ "ccawebapi", "Server", "State" ] } }, "response": [] } ] }, { "name": "{{url}}/ccawebapi/SurveyTasks", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{url}}/ccawebapi/SurveyTasks", "host": [ "{{url}}" ], "path": [ "ccawebapi", "SurveyTasks" ] } }, "response": [] }, { "name": "{{url}}/ccawebapi/session", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{username: \"YOUR_CCA_LOGIN\", password: \"YOUR_CCA_PASSWORD\", module: \"YOUR_MODULE_NAME\"}" }, "url": { "raw": "{{url}}/ccawebapi/session", "host": [ "{{url}}" ], "path": [ "ccawebapi", "session" ] } }, "response": [] }, { "name": "{{url}}/Server/UpdateId", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{url}}/ccawebapi/Server/UpdateId", "host": [ "{{url}}" ], "path": [ "ccawebapi", "Server", "UpdateId" ] } }, "response": [] }, { "name": "{{url}}/Calls", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{url}}/ccawebapi/Calls", "host": [ "{{url}}" ], "path": [ "ccawebapi", "Calls" ] } }, "response": [] }, { "name": "{{url}}/ccawebapi/Reports", "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{url}}/ccawebapi/Reports", "host": [ "{{url}}" ], "path": [ "ccawebapi", "Reports" ] } }, "response": [] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{token}}", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "id": "d21fe7c7-cb6d-4a56-8822-5d2ecf3b03a5", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "c7f838e4-63a9-4815-9cec-6b2fdeb41fc2", "type": "text/javascript", "exec": [ "" ] } } ] }