{"info":{"_postman_id":"67faf025-8fb0-4fd0-aa8b-0df79812d60b","name":"Bahmni-API-Payload","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20182017","collectionId":"67faf025-8fb0-4fd0-aa8b-0df79812d60b","publishedId":"2s9YkkdhMZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-14T04:29:52.000Z"},"item":[{"name":"odoo-auth","id":"0066a417-5248-410f-a0a4-55be65ae8cb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n            \"id\": 1,\n            \"username\": \"admin\",\n            \"password\": \"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/odoo-login","description":"<p>username and password with value</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","odoo-login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0066a417-5248-410f-a0a4-55be65ae8cb7"},{"name":"odoo-login Copy","id":"d2a819f7-519f-4518-95e1-e37de98a5c1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n            \"id\": 1,\n            \"username\": \"admin\",\n            \"password\": \"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8001/api/odoo-login","description":"<p>username and password with value</p>\n","urlObject":{"protocol":"http","port":"8001","path":["api","odoo-login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2a819f7-519f-4518-95e1-e37de98a5c1e"},{"name":"bahmni-customer","id":"5aed0035-e7f6-4b54-825b-4fc3c3c520e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"category\": \"create.customer\",\n    \"uuid\": \"ccsdcb2-muraanda\",\n    \"local_name\": \"கார்த்தி\",\n    \"preferredAddress\": {\n                        \"address1\": null,\n                        \"address2\": \"EB colony\",\n                        \"address3\": \"Thudiyalur\",\n                        \"cityVillage\": \"saravanapatti\",\n                        \"countyDistrict\": \"CBE\",\n                        \"stateProvince\": null,\n                        \"country\": null},\n    \"attributes\": {\n        \"landHolding\":2,\n        \"familyNameLocal\":\"arabicname\",\n        \"cluster\": \"Achanakmar\",\n        \"education\": \"Graduate and Above\",\n        \"occupation\": \"Business\",\n        \"caste\": \"test\",\n        \"isUrban\":true,\n        \"primaryRelative\": \"Anadhan\",\n        \"familyIncome\":\"13495-17999\",\n        \"secondaryContact\": \"father\",\n        \"middleNameLocal\": \"LOCAL\",\n        \"RationCard\": \"Antyodaya\",\n        \"givenNameLocal\": \"TEST\",\n        \"distanceFromCenter\": 14.0,\n        \"secondaryIdentifier\":\"test identifier\",\n        \"class\":\"General\",\n        \"debt\": \"1500\",\n        \"email\": \"\"},\n    \"ref\": \"KGISL00227\",\n    \"name\": \"Murali[KGiSL]\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/bahmni-customer","description":"<p>all the parent key is needed, value need for ['category', 'uuid', 'ref', 'name']</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","bahmni-customer"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5aed0035-e7f6-4b54-825b-4fc3c3c520e3"},{"name":"bahmni-customer Copy","id":"8edfe35b-7223-4161-ab89-54366904d2dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"category\": \"create.customer\",\n    \"uuid\": \"ccsdcb2-wbefc-afd-543f4\",\n    \"local_name\": \"கார்த்தி\",\n    \"preferredAddress\": {\n                        \"address1\":\"kovi\",\n                        \"address2\":\"kota\",\n                        \"address3\":\"Kota\",\n                        \"cityVillage\":\"JOGIPUR\",\n                        \"countyDistrict\":\"Bilaspur\",\n                        \"stateProvince\":\"Chattisgarh\",\n                        \"country\":\"India\"},\n    \"attributes\": {\n        \"landHolding\":2,\n        \"familyNameLocal\":\"arabicname\",\n        \"cluster\": \"Achanakmar\",\n        \"education\": \"Graduate and Above\",\n        \"occupation\": \"Business\",\n        \"caste\": \"test\",\n        \"isUrban\":true,\n        \"primaryRelative\": \"Anadhan\",\n        \"familyIncome\":\"13495-17999\",\n        \"secondaryContact\": \"father\",\n        \"middleNameLocal\": \"LOCAL\",\n        \"RationCard\": \"Antyodaya\",\n        \"givenNameLocal\": \"TEST\",\n        \"distanceFromCenter\": 14.0,\n        \"secondaryIdentifier\":\"test identifier\",\n        \"class\":\"General\",\n        \"debt\": \"1500\",\n        \"email\": \"\"},\n    \"ref\": \"KGISL0010\",\n    \"name\": \"Karthi[KGiSL]\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/bahmni-customer","description":"<p>all the parent key is needed, value need for ['category', 'uuid', 'ref', 'name']</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","bahmni-customer"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8edfe35b-7223-4161-ab89-54366904d2dc"},{"name":"bahmni-drug","id":"7c07890f-5512-47ad-b596-415733a330da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\" : 1,\n    \"category\": \"create.drug\",\n    \"dosageForm\": \"Tablet\",\n    \"name\": \"Amoxicillin\",\n    \"genericName\": \"TEST\",\n    \"uuid\": \"30a9b447-8112229111\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8001/api/bahmni-drug","description":"<p>generic Name allowing without values</p>\n","urlObject":{"protocol":"http","port":"8001","path":["api","bahmni-drug"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c07890f-5512-47ad-b596-415733a330da"},{"name":"bahmni-radiology-test","id":"75272660-ad79-4d74-b972-99abc017f479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"category\": \"create.radiology.test\",\n    \"name\": \"CT Scan\",\n    \"is_active\": \"\",\n    \"uuid\": \"6dd8f6c3-cecddddf-4026dwqdqw-a94f-36c140b3\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/bahmni-radiology-test","description":"<p>is_active allowing without value</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","bahmni-radiology-test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"75272660-ad79-4d74-b972-99abc017f479"},{"name":"bahmni-lab-test","id":"95280291-36d0-496d-a413-1ec0698fc004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"category\": \"create.lab.test\",\n    \"name\": \"blood count\",\n    \"is_active\": true,\n    \"uuid\": \"5599a44c-fda3-4f9b-8a76-bfc9844ab5ec\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/bahmni-lab-test","description":"<p>is_active</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","bahmni-lab-test"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"95280291-36d0-496d-a413-1ec0698fc004"},{"name":"bahmni-lab-panel","id":"f598a6f6-33b3-4e92-9e0e-e4cfc8b8b52b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"category\": \"create.lab.panel\",\n    \"name\": \"Lipid Panel\",\n    \"is_active\": true,\n    \"uuid\": \"4b3a50d3-d76d-4699-889e-da1607b609999def\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/bahmni-lab-panel","description":"<p>is_active</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","bahmni-lab-panel"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f598a6f6-33b3-4e92-9e0e-e4cfc8b8b52b"},{"name":"bahmni-service-sale","id":"145b204f-e886-474d-ad3b-1787b3c8aa74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"category\": \"create.service.saleable\",\n    \"name\": \"Mask\",\n    \"is_active\": true,\n    \"uuid\": \"5c4d9019-88f4-4a20-b57b-34eb1108c45c\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8069/api/bahmni-service-sale","description":"<p>is_active</p>\n","urlObject":{"protocol":"http","port":"8069","path":["api","bahmni-service-sale"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"145b204f-e886-474d-ad3b-1787b3c8aa74"},{"name":"bahmni-saleorder","id":"aac7a448-0912-454a-a60c-a7bc46be3e6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"category\": \"create.sale.order\",\n    \"locationName\": \"Pharmacy\",\n    \"orders\": {\n        \"id\": \"7e62073ec-0123kjh123125c\",\n        \"openERPOrders\": [\n            {\n                \"orderId\": \"sdcsddsfxcv12312fds\",\n                \"previousOrderId\": null,\n                \"encounterId\": \"7e62-fc-bbd-2475df05c\",\n                \"productId\": \"30a9b447-8112229111\",\n                \"productName\": \"Amoxicillin\",\n                \"quantity\": 5.0,\n                \"quantityUnits\": \"Capsule\",\n                \"action\": \"NEW\",\n                \"visitId\": \"58fe5606-20-697224c0f\",\n                \"visitType\": \"OPD\",\n                \"type\": \"Drug Order\",\n                \"voided\": false,\n                \"locationName\": null,\n                \"providerName\": \"Karthi\",\n                \"dispensed\": \"false\",\n                \"conceptName\": \"Amoxicillin\"\n            }\n        ]\n    },\n    \"customer_id\": \"KG4223\",\n    \"encounter_id\": \"7e6e-d8675777c\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/bahmni-saleorder","description":"<p>all the parent key needed with value and the within order_id [openERPOrders, id] needed</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","bahmni-saleorder"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aac7a448-0912-454a-a60c-a7bc46be3e6a"}]}