{"info":{"_postman_id":"01d4ed02-56c8-4467-bef2-99beee85ca01","name":"Farmioc API Guide","description":"<html><head></head><body><p>Documenting all API Resources.</p>\n<p>These APIs were written with <a href=\"https://github.com/tomchristie/django-rest-framework\">Django Rest Framework</a>, So the JSON responses are often similar to the way in which DRF makes responses.</p>\n<p>Where full URLs are provided in responses they will be rendered as if service is running on '<a href=\"https://api.farmioc.com/\">https://api.farmioc.com/</a>' or <code>&lt;host-url&gt;</code>.</p>\n<h1 id=\"api-reference\">API Reference</h1>\n<p>All APIs are organized into sub folers.</p>\n<h2 id=\"open-endpoints\">Open EndPoints</h2>\n<p>Open endpoints require no Authentication.</p>\n<ul>\n<li><a href=\"#\">Initialize</a> : <code>GET /details/initialize/</code></li>\n<li><a href=\"#\">Login</a> : <code>POST /user/login</code></li>\n</ul>\n<h2 id=\"endpoints-that-require-authentication\">Endpoints that require Authentication</h2>\n<p>Closed endpoints require a valid Token to be included in the header of the request. A Token can be acquired from the Login.</p>\n<p><strong>Authorization: Token {{token}}</strong></p>\n<h2 id=\"apis\">APIs</h2>\n<h3 id=\"standard-request-format-todo\">Standard Request Format: (TODO)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n\n    }\n}\n</code></pre>\n<h3 id=\"standard-response-format-todo\">Standard Response Format: (TODO)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"alerts\": [\n        {\n            \"code\": \"2233\",\n            \"message\": \"Action successfull\"\n        }\n    ],\n    \"data\": {\n        \"user\": {\n            \"id\": 123,\n            \"name\": \"suri\"\n        }\n    }\n}\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": false,\n    \"alerts\": [\n        {\n            \"code\": \"0000\",\n            \"message\": \"Action Failed\"\n        }\n    ],\n    \"data\": {\n    }\n}\n</code></pre>\n<h3 id=\"api-alert-codes\">API Alert Codes</h3>\n<h4 id=\"module-app-n\">Module App (N)</h4>\n<ul>\n<li>Details app N is 1</li>\n<li>DataStore app N is 2</li>\n<li>PriceHub app N is 3</li>\n<li>MarketHub app N is 4</li>\n<li>Blog app N is 5</li>\n<li>User app N is 6</li>\n</ul>\n<h4 id=\"success-code-second-char-is-9\">Success code second Char is 9</h4>\n<ul>\n<li>Starts with N9XX</li>\n<li>N is Module app</li>\n</ul>\n<h4 id=\"failure-code-second-char-is-7\">Failure code second Char is 7</h4>\n<ul>\n<li>Starts with N7XX</li>\n<li>N is Module app</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"API Reference","slug":"api-reference"}],"owner":"6561772","collectionId":"01d4ed02-56c8-4467-bef2-99beee85ca01","publishedId":"SVSHqozp","public":true,"customColor":{"top-bar":"009A44","right-sidebar":"303030","highlight":"009A44"},"publishDate":"2019-07-28T17:53:29.000Z"},"item":[{"name":"Details","item":[{"name":"cmdty List","item":[{"name":"Get All Commodity Groups - NOT DONE","id":"6e18a2d2-fb30-4b5b-8825-223a4d3731dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-groups-list/?page_size=all","description":"<p>Commodity Groups</p>\n<p>page_size - 5, 10, all</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-groups-list",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"6e18a2d2-fb30-4b5b-8825-223a4d3731dd"},{"name":"Get All Commodity List - PH","id":"bfb5f685-b32c-4ddf-ab84-1e8c1256e929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-name-list/ph/?page_size=400","description":"<p>Commodity Name</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-name-list","ph",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"400"}],"variable":[]}},"response":[],"_postman_id":"bfb5f685-b32c-4ddf-ab84-1e8c1256e929"},{"name":"Search Commodity Name - PH","id":"054466db-626a-430f-ba0d-547292972e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-name-list/ph/?search=cotton","description":"<p>Commodity Name</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-name-list","ph",""],"host":["{{host}}"],"query":[{"key":"search","value":"cotton"}],"variable":[]}},"response":[],"_postman_id":"054466db-626a-430f-ba0d-547292972e5b"},{"name":"Get All Commodity List - MH","id":"e0b1dd0d-971a-43d3-82da-d0f2c751316a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-name-list/mh/?page_size=all","description":"<p>Commodity Name</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-name-list","mh",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"e0b1dd0d-971a-43d3-82da-d0f2c751316a"},{"name":"Search Commodity Name - MH","id":"6b8dd926-29cf-456c-8f1b-7adfb42285dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-name-list/ph/?search=cotton","description":"<p>Commodity Name</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-name-list","ph",""],"host":["{{host}}"],"query":[{"key":"search","value":"cotton"}],"variable":[]}},"response":[],"_postman_id":"6b8dd926-29cf-456c-8f1b-7adfb42285dc"},{"name":"Get all Commodity Variety List - MH","id":"8372834b-956c-48f8-a47b-0c10e00963f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-variety-list/mh/?cmdty=51&page_size=all","description":"<p>Commodity Variety</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-variety-list","mh",""],"host":["{{host}}"],"query":[{"key":"cmdty","value":"51"},{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"8372834b-956c-48f8-a47b-0c10e00963f4"},{"name":"Search Commodity Variety  - MarketHub","id":"dee4cc3d-3ed5-4fd4-8eff-e210827c87b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-variety-list/mh/?search=bunny&cmdty=51","description":"<p>Commodity Variety</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-variety-list","mh",""],"host":["{{host}}"],"query":[{"key":"search","value":"bunny"},{"key":"cmdty","value":"51"}],"variable":[]}},"response":[],"_postman_id":"dee4cc3d-3ed5-4fd4-8eff-e210827c87b3"},{"name":"Get all Commodity Variety List - PH","id":"cdf1e3b5-fbf3-493a-8248-83b51afa6aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-variety-list/ph/?cmdty=51&page_size=200","description":"<p>Get Commodity Variety.</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-variety-list","ph",""],"host":["{{host}}"],"query":[{"key":"cmdty","value":"51"},{"key":"page_size","value":"200"}],"variable":[]}},"response":[],"_postman_id":"cdf1e3b5-fbf3-493a-8248-83b51afa6aba"},{"name":"Search Commodity Variety - PriceHub","id":"c5b75a6b-ed11-4a86-9620-c8d70837bb6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/cmdty/cmdty-variety-list/ph/?search=bunny&cmdty=51","description":"<p>Get Commodity Variety.</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["cmdty","cmdty-variety-list","ph",""],"host":["{{host}}"],"query":[{"key":"search","value":"bunny"},{"key":"cmdty","value":"51"}],"variable":[]}},"response":[],"_postman_id":"c5b75a6b-ed11-4a86-9620-c8d70837bb6d"}],"id":"728ed228-b052-4b3e-913b-8a59750bb74b","description":"<ul>\n<li>Commodity Name List \n/cmdty/cmdty-name-list/SOURCE/?search=COMMODITY_NAME_PARAM</li>\n<li>Commodity Variety List\n/cmdty/cmdty-variety-list/SOURCE/?search=COMMODITY_VARIETY_PARAM&amp;cmdty=COMMODITY_NAME_PK</li>\n</ul>\n<p>NOTE: SOURCE can be either </p>\n<ul>\n<li>/mh/ - To be used in the MarketHub</li>\n<li>/ph/ - To be used in the PriceHub</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"a6c8e444-be18-4832-b02c-704436c134e8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ecbbc041-b1bd-4c81-b194-9ab27d94761e","type":"text/javascript","exec":[""]}}],"_postman_id":"728ed228-b052-4b3e-913b-8a59750bb74b"},{"name":"Geo Locations","item":[{"name":"Get All Countries","id":"12b15b18-403a-4dc3-b06c-3e6ca3c5a7eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/country-list/?page_size=all","description":"<p>Country List</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","country-list",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"12b15b18-403a-4dc3-b06c-3e6ca3c5a7eb"},{"name":"Search a Country","id":"ee792a2f-c95c-4003-a2b3-b75724915842","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/country-list/?search=india","description":"<p>Country List</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","country-list",""],"host":["{{host}}"],"query":[{"key":"search","value":"india"}],"variable":[]}},"response":[],"_postman_id":"ee792a2f-c95c-4003-a2b3-b75724915842"},{"name":"Get a Country Details","id":"f9f3b1cb-0364-46bc-b151-9e7f7a3b8ed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/country-list/104/","description":"<p>Country List</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","country-list","104",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9f3b1cb-0364-46bc-b151-9e7f7a3b8ed8"},{"name":"Get all States in a Country","id":"ecb3ee51-3504-418e-b3ba-98388994d4da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/state-list/?country=104&page_size=100","description":"<p>Get States in a Country</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","state-list",""],"host":["{{host}}"],"query":[{"key":"country","value":"104"},{"key":"page_size","value":"100"}],"variable":[]}},"response":[],"_postman_id":"ecb3ee51-3504-418e-b3ba-98388994d4da"},{"name":"Search State in a Country","id":"a0b0e5d0-7950-4c2a-9873-817a3fa73e74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/state-list/?search=andhra&country=104","description":"<p>State List in a Country</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","state-list",""],"host":["{{host}}"],"query":[{"key":"search","value":"andhra"},{"key":"country","value":"104"}],"variable":[]}},"response":[],"_postman_id":"a0b0e5d0-7950-4c2a-9873-817a3fa73e74"},{"name":"Get all Districts in a State","id":"35500118-2473-4c5d-9c1d-c8ab767b78fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/district-list/?state=2&page_size=100","description":"<p>Get Districts in a State</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","district-list",""],"host":["{{host}}"],"query":[{"key":"state","value":"2"},{"key":"page_size","value":"100"}],"variable":[]}},"response":[],"_postman_id":"35500118-2473-4c5d-9c1d-c8ab767b78fc"},{"name":"Search District List in a State","id":"4b871921-c596-40d5-b993-d7904c4660f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/district-list/?search=guntur&state=2","description":"<p>Get Districts in a State</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","district-list",""],"host":["{{host}}"],"query":[{"key":"search","value":"guntur"},{"key":"state","value":"2"}],"variable":[]}},"response":[],"_postman_id":"4b871921-c596-40d5-b993-d7904c4660f0"},{"name":"Search a Market in a District","id":"04e4f319-ecae-4607-9fce-e6d5ad6ed556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/market-list/?search=guntur&district=8","description":"<p>Get MArkets in a District</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","market-list",""],"host":["{{host}}"],"query":[{"key":"search","value":"guntur"},{"key":"district","value":"8"}],"variable":[]}},"response":[],"_postman_id":"04e4f319-ecae-4607-9fce-e6d5ad6ed556"},{"name":"Get all Markets in a District","id":"25eb6080-366d-428a-a8b3-7b1e9958ff0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/market-list/?district=8&page_size=100","description":"<p>Get Markets in a District</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","market-list",""],"host":["{{host}}"],"query":[{"key":"district","value":"8"},{"key":"page_size","value":"100"}],"variable":[]}},"response":[],"_postman_id":"25eb6080-366d-428a-a8b3-7b1e9958ff0a"},{"name":"Get all Markets in a State","id":"b4e09e91-a422-4d8c-93a1-b06ba3a3674b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/market-list/?state=2&page_size=all","description":"<p>Get Markets in a District</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","market-list",""],"host":["{{host}}"],"query":[{"key":"state","value":"2"},{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"b4e09e91-a422-4d8c-93a1-b06ba3a3674b"},{"name":"Get all Markets in a Country","id":"e5d3b3b8-fe0b-4c22-afc8-fefa4d15d759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/market-list/?country=104&page_size=all","description":"<p>Get Markets in a District</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","market-list",""],"host":["{{host}}"],"query":[{"key":"country","value":"104"},{"key":"page_size","value":"all"}],"variable":[]}},"response":[],"_postman_id":"e5d3b3b8-fe0b-4c22-afc8-fefa4d15d759"}],"id":"c6971d2d-856c-4e32-98ec-cc215ca63f52","description":"<ul>\n<li>Country List /details/country-list/?search=COUNTRY_NAME_PARAM</li>\n<li>State List /details/state-list/?search=STATE_NAME_PARAM&amp;country=COUNTRY_PK</li>\n<li>District List /details/district-list/?search=DISTRICT_NAME_PARAM&amp;state=STATE_PK</li>\n<li>Market List /details/market-list/?search=MARKET_NAME_PARAM&amp;district=DISTRICT_PK</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"c6002efa-d202-47a8-82f7-f208e1aa3621","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"98f2e314-96a1-4e1b-85c6-eeff0fabd754","type":"text/javascript","exec":[""]}}],"_postman_id":"c6971d2d-856c-4e32-98ec-cc215ca63f52"},{"name":"ReleaseVersions","item":[{"name":"Frontend - Get Release Version","id":"bf46eadb-e248-473f-9ce5-b0c5166f2b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/release/frontend/","description":"<p>Notify the UI that there is a new code deployed.</p>\n<p>Then UI will flash the app to take new changes.</p>\n","urlObject":{"path":["details","release","frontend",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf46eadb-e248-473f-9ce5-b0c5166f2b81"},{"name":"Frontend - Add Release Version","id":"1aabba96-edf7-4459-8dda-15c894d6e14e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"release_type\": \"frontend\",\n\t\"release_description\": \"Farmioc Improvements\",\n\t\"version\": \"v2.9.10\"\n}"},"url":"{{host}}/details/release/add/","description":"<p>Notify the UI that there is a new code deployed.</p>\n<p>Then UI will flash the app to take new changes.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"release_type\": \"frontend\" | \"backend\"\n\"release_description\": \"new improvemets\"\n\"version\": \"v1.0.1-beta\"\n</code></pre>","urlObject":{"path":["details","release","add",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aabba96-edf7-4459-8dda-15c894d6e14e"},{"name":"Backend - Get Release Version","id":"9d5a62c6-d61b-44e3-9b41-e273192c8311","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/details/release/backend/","description":"<p>Notify the UI that there is a new code deployed.</p>\n<p>Then UI will flash the app to take new changes.</p>\n","urlObject":{"path":["details","release","backend",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d5a62c6-d61b-44e3-9b41-e273192c8311"},{"name":"Backend - Add Release Version","id":"440f2cff-b53c-410b-b0e8-5b7eabb5a463","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"release_type\": \"backend\",\n\t\"release_description\": \"Farmioc MarketHub Initial Release\",\n\t\"version\": \"v2.0\"\n}"},"url":"{{host}}/details/release/add/","description":"<p>Notify the UI that there is a new code deployed.</p>\n<p>Then UI will flash the app to take new changes.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"release_type\": \"frontend\" | \"backend\"\n\"release_description\": \"new improvemets\"\n\"version\": \"v1.0.1-beta\"\n</code></pre>","urlObject":{"path":["details","release","add",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"440f2cff-b53c-410b-b0e8-5b7eabb5a463"}],"id":"0c4eb115-fdcf-4bb9-af74-ef50e6ac091f","_postman_id":"0c4eb115-fdcf-4bb9-af74-ef50e6ac091f","description":""},{"name":"Get Intitial Details","id":"bd8911e0-a464-4ff7-a212-543330002719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/details/initialize/","description":"<p>Get the Intitial Details</p>\n<p><strong>Auth required</strong> : NO</p>\n<p><strong>Permissions required</strong> : N/A</p>\n","urlObject":{"path":["details","initialize",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd8911e0-a464-4ff7-a212-543330002719"}],"id":"18fc1c89-3e53-43af-a21f-26062901015b","description":"<p>UI will call this API to load Initial Details that needed in the App</p>\n","event":[{"listen":"prerequest","script":{"id":"f5a165ab-87d5-4852-8d35-d1154b1e1f79","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fbea0de1-64d1-4964-b51c-16dc81243e63","type":"text/javascript","exec":[""]}}],"_postman_id":"18fc1c89-3e53-43af-a21f-26062901015b"},{"name":"User Functionalities","item":[{"name":"Login and Sign up","item":[{"name":"Social","item":[{"name":"Google Login","id":"b081cd07-c704-41ae-9cd7-2bac98ab0ebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"email\":\"farmiocdev@gmail.com\",\"google_id\":\"105475812802770426412\"}"},"url":"{{host}}/gg-login/","urlObject":{"path":["gg-login",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b081cd07-c704-41ae-9cd7-2bac98ab0ebf"},{"name":"Facebook Login","id":"e3845386-0e4b-4da6-8725-0acf7e2e88c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"access_token\": \"EAAF3sjvivcoBALQ8IwvM2ly1sNtpnelO2AY8PxVA1UA17TM8BEsRPFnSQwJaEtIRKZBkcwmLbsjfd4wJg5jjUfvrUU7ZCyZAZA9cZBm5y5Ny0u0R3jmHO8HhBtnPwSiXURUjLiViyDUWx6kWCaFmSlZB2NbnKdguEponqwC5MaZBvYZBUSBTzPbR1vIlatzDn0DZBidBD5jWIOAZDZD\"\n}"},"url":"{{host}}/fb-login/","urlObject":{"path":["fb-login",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3845386-0e4b-4da6-8725-0acf7e2e88c0"},{"name":"Facebook Signup","id":"32735f70-0213-40a4-900d-17d94225995c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"access_token\": \"EAAF3sjvivcoBAMmUCLD1IuGbZAhPGmzgL0HQrsBEGd0aUXSiYwZC1ldreKytsqZAstBKmfZCW1nC1UhfPzjHR8ZAPjUZAcajwMRhWeT7lFe25Bdr5o1aEGtEEThluvnsVAoXIZCfFhPqKUJHUKsmeCbZC1zXMpCsimZCzxvev9mYr5XxapOMgvyKgnTjgnAoE1e7s3HLhnXvmowZDZD\"\n}"},"url":"{{host}}/social/facebook/","urlObject":{"path":["social","facebook",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32735f70-0213-40a4-900d-17d94225995c"}],"id":"8800b9c3-26b1-49d0-8958-36fcd8972ca6","_postman_id":"8800b9c3-26b1-49d0-8958-36fcd8972ca6","description":""},{"name":"User Sign Up","id":"6af1b447-81f7-4326-ab82-8dadbbda3ffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"John\",\n    \"last_name\": \"Dev\",\n    \"gender\":\"male\",\n    \"profession\": \"1\",\n    \"phone_number\": \"000000000\",\n    \"address_country\": \"India\",\n    \"address_state\": \"Andhra Pradesh\",\n    \"address_district\": \"Prakasam\",\n    \"address_zipcode\": \"523301\",\n    \"address_street1\": \"123 main\",\n    \"address_street2\": \"optional\",\n    \"password\": \"test123@\",\n    \"email\": \"farmiocdev@gmail.com\"\n}"},"url":"{{host}}/user/register","description":"<p>User Signup to give access to the APP</p>\n<ul>\n<li>email is the unique identifier for the Signup/login</li>\n</ul>\n<p><strong>Signup Flow is</strong></p>\n<ul>\n<li>User can Directly signup with email - Email Verification needed - user nees to click and verify link to login</li>\n<li>User can signup with Facebook/Google - Email Verification Not needed - a welcome email will be sent</li>\n<li>User can again signup with Facebook/Google, even if they signed up earlier with thier email, and we will be merging those both accounts, if they alredy verify thier email, no action is needed</li>\n</ul>\n","urlObject":{"path":["user","register"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6af1b447-81f7-4326-ab82-8dadbbda3ffa"},{"name":"User Sign Up - Old All Fields","id":"da7ccfda-70d6-446d-a43e-36b4527a483e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Support\",\n    \"gender\":\"female\",\n    \"mhuser_type\": \"both\",\n    \"profession\": \"1\",\n    \"phone_number\": \"000000000\",\n    \"address_country\": \"India\",\n    \"address_state\": \"Andhra Pradesh\",\n    \"address_district\": \"Prakasam\",\n    \"address_zipcode\": \"523301\",\n    \"address_street1\": \"123 main\",\n    \"address_street2\": \"optional\",\n    \"default_market_location\": \"1\",\n    \"company_name\": \"Farmioc\",\n    \"commodities_of_interest\": \"1\",\n    \"password\": \"test123@\",\n    \"email\": \"farmiocs@gmail.com\",\n    \"seller_acres\": \"1\",\n    \"seller_certified_organic\": false,\n    \"seller_can_deliver\": false,\n    \"buyer_quintals\": \"1\",\n    \"buyer_verified\": false,\n    \"units\": \"MT\"\n}"},"url":"{{host}}/user/register","description":"<p>User Signup to give access to the APP</p>\n","urlObject":{"path":["user","register"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"da7ccfda-70d6-446d-a43e-36b4527a483e"},{"name":"Verify email Account After SignUp or ReActivating","id":"e9338342-924c-47d4-b544-a6b006d16099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/user/verify-email/Mg/58h-eadbe42dba0b960435c0","urlObject":{"path":["user","verify-email","Mg","58h-eadbe42dba0b960435c0"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9338342-924c-47d4-b544-a6b006d16099"},{"name":"Resend Verification email Again","id":"b685817d-7b16-49ee-b6d4-3a9400c458e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"farmiocdev@gmail.com\"\n}"},"url":"{{host}}/user/resend-verify-email","urlObject":{"path":["user","resend-verify-email"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b685817d-7b16-49ee-b6d4-3a9400c458e2"},{"name":"User Login","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.data.token);"],"type":"text/javascript"}}],"id":"5a4d2f61-01aa-4bdf-96c0-140e3d6be13a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\"\n}"},"url":"{{host}}/user/login","urlObject":{"path":["user","login"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a4d2f61-01aa-4bdf-96c0-140e3d6be13a"},{"name":"Forgot Password : Send Reset link to email","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"55c54b28-3b8b-4f33-a8e5-ad5a467d20a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"farmiocdev@gmail.com\"\n}"},"url":"{{host}}/user/forgot-password","urlObject":{"path":["user","forgot-password"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"55c54b28-3b8b-4f33-a8e5-ad5a467d20a7"},{"name":"Reset Password: from emailed link","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"98282563-f2f9-49ee-a537-6399dcc48785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"new_password\": \"test123@\",\n\t\"confirm_password\": \"test123@\"\n}"},"url":"{{host}}/user/reset-password/Mw/586-b4bfcbcc5f34a5b0940a","urlObject":{"path":["user","reset-password","Mw","586-b4bfcbcc5f34a5b0940a"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98282563-f2f9-49ee-a537-6399dcc48785"},{"name":"Check if an email is already Registered : No Login Needed","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"bee41f84-3a64-44f1-9e37-a449c095c119","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"farmiocdev@gmail.com\"\n}"},"url":"{{host}}/check/email/","urlObject":{"path":["check","email",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bee41f84-3a64-44f1-9e37-a449c095c119"},{"name":"Check if an email is already Registered","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"d0150405-57cc-4717-b2f7-8eb727a207f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"farmiocs@gmail.com\"\n}"},"url":"{{host}}/user/check-email-exist","urlObject":{"path":["user","check-email-exist"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0150405-57cc-4717-b2f7-8eb727a207f2"},{"name":"User Logout","id":"1d22743d-c951-4102-92c2-d69bdfb043a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"url":"{{host}}/user/logout","urlObject":{"path":["user","logout"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d22743d-c951-4102-92c2-d69bdfb043a6"}],"id":"70734810-1321-48d4-8699-21e1dc4233e9","_postman_id":"70734810-1321-48d4-8699-21e1dc4233e9","description":""},{"name":"Profile","item":[{"name":"Get User Profile Details with with Session","id":"d1851b41-fb3a-4825-8397-af2f51d32cb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/user/profile/","description":"<p><strong>Need to analyze if we need this</strong></p>\n","urlObject":{"path":["user","profile",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1851b41-fb3a-4825-8397-af2f51d32cb1"},{"name":"Completion Status of User Profile and MarketHub Profile","id":"6a5124ff-b1a9-4a5a-aa70-676a0719a97a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/user/profile/completion-status/","description":"<p><strong>Need to analyze if we need this</strong></p>\n","urlObject":{"path":["user","profile","completion-status",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a5124ff-b1a9-4a5a-aa70-676a0719a97a"},{"name":"Get User ID from Session : Who am I","id":"43d6b799-1fb3-49ee-956f-194306083bee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/user/who-am-i","description":"<p><strong>Need to Analyze if we need this</strong></p>\n","urlObject":{"path":["user","who-am-i"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43d6b799-1fb3-49ee-956f-194306083bee"}],"id":"3b026626-b374-44f8-b331-9004332f2931","_postman_id":"3b026626-b374-44f8-b331-9004332f2931","description":""},{"name":"Account Settings","item":[{"name":"Update All User Profile Details : Account Settings - use PATCH","id":"b87b1352-2ee7-42ae-9351-0b2a4173a494","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Farmioc\",\n    \"last_name\": \"Developer\",\n    \"mhuser_type\": \"sell\",\n    \"gender\": \"male\",\n    \"company_name\": \"Farmioc\",\n    \"profession\": \"1\",\n    \"phone_number\": \"000000000\",\n    \"address_country\": \"India\",\n    \"address_state\": \"Andhra Pradesh\",\n    \"address_district\": \"Prakasam\",\n    \"address_zipcode\": \"523301\",\n    \"address_street1\": \"123 main\",\n    \"default_market_location\": \"1\",\n    \"commodities_of_interest\": \"1\",\n    \"passowrd\": \"suri1234@\",\n    \"seller_acres\": \"1\",\n    \"seller_certified_organic\": false,\n    \"seller_can_deliver\": false,\n    \"buyer_quintals\": \"1\",\n    \"buyer_verified\": false,\n    \"units\": \"MT\"\n}"},"url":"{{host}}/user/profile/","description":"<p>Update user Account Details and Settings</p>\n<ul>\n<li>General Info</li>\n<li>Contact Info</li>\n<li>Commodity and Markets Info</li>\n<li>Seller Details</li>\n<li>Buyer Details</li>\n<li>Default Settings Details</li>\n<li>Company Details</li>\n</ul>\n<p><strong>This API Should not Update Password / Email Address</strong></p>\n<ul>\n<li>Use Patch Intead of PUT</li>\n</ul>\n","urlObject":{"path":["user","profile",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b87b1352-2ee7-42ae-9351-0b2a4173a494"},{"name":"Update only Some User Profile Details : Account Settings","id":"19db2326-5fb4-48e9-887f-dc9e23e3960b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": 3,\n    \"first_name\": \"Support\",\n    \"last_name\": \"Farmer\",\n    \"gender\": \"female\",\n    \"profession\": \"4\",\n    \"phone_number\": \"9441412513\",\n    \"mhuser_type\": \"buy\",\n    \"address_street1\": \"MAin\",\n    \"address_street2\": \"Street\",\n    \"address_district\": \"Prakasam\",\n    \"address_state\": \"Andhra Pradesh\",\n    \"address_country\": \"INDIA\",\n    \"address_zipcode\": \"523301\",\n    \"company_name\": null,\n    \"default_market_location\": {\n        \"lat\": 16.3066525,\n        \"lng\": 80.43654019999997,\n        \"place\": \"Guntur\",\n        \"state\": \"Andhra Pradesh\",\n        \"country\": \"India\"\n    },\n    \"commodities_of_interest\": [\n        \"Wheat\",\n        \"Cotton\"\n    ],\n    \"seller_acres\": 20,\n    \"seller_certified_organic\": \"true\",\n    \"seller_can_deliver\": \"true\",\n    \"buyer_quintals\": 100,\n    \"buyer_verified\": true\n}"},"url":"{{host}}/user/profile/","description":"<p>Update user Account Details and Settings</p>\n<ul>\n<li>General Info</li>\n<li>Contact Info</li>\n<li>Commodity and Markets Info</li>\n<li>Seller Details</li>\n<li>Buyer Details</li>\n<li>Default Settings Details</li>\n<li>Company Details</li>\n</ul>\n<p><strong>This API Should not Update Password / Email Address</strong></p>\n","urlObject":{"path":["user","profile",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19db2326-5fb4-48e9-887f-dc9e23e3960b"},{"name":"MarketHub Profile Settings : Account Settings","id":"0049e7f2-f747-4ede-ad83-2829a3449db7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"default_market_location\": {\n        \"lat\": 16.3066525,\n        \"lng\": 80.43654019999997,\n        \"place\": \"Guntur\",\n        \"state\": \"Andhra Pradesh\",\n        \"country\": \"India\"\n    },\n    \"commodities_of_interest\": [\n        \"Wheat\",\n        \"Cotton\",\n        \"Maize\",\n        \"Corn\"\n    ],\n    \"mhuser_type\": \"buy\"\n}"},"url":"{{host}}/user/profile/","description":"<p>Update user Account Details and Settings</p>\n<ul>\n<li>General Info</li>\n<li>Contact Info</li>\n<li>Commodity and Markets Info</li>\n<li>Seller Details</li>\n<li>Buyer Details</li>\n<li>Default Settings Details</li>\n<li>Company Details</li>\n</ul>\n<p><strong>This API Should not Update Password / Email Address</strong></p>\n","urlObject":{"path":["user","profile",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0049e7f2-f747-4ede-ad83-2829a3449db7"},{"name":"Change Password in Profile : Account Settings","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"c719fd85-8c76-4652-a1cb-67edc7a66c15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"old_password\": \"test123@\",\n    \"new_password1\": \"test123@\",\n    \"new_password2\": \"test123@\"\n}"},"url":"{{host}}/rest-auth/password/change/","urlObject":{"path":["rest-auth","password","change",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c719fd85-8c76-4652-a1cb-67edc7a66c15"},{"name":"Change email in Profile : Account Settings","event":[{"listen":"test","script":{"id":"f514efea-4f73-454f-a54d-258236bb98f6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"token\", jsonData.key);"],"type":"text/javascript"}}],"id":"06dbaa4d-3aac-445a-ae43-e618cb159f53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"farmiocs@gmail.com\"\n}"},"url":"{{host}}/user/profile/change-email","urlObject":{"path":["user","profile","change-email"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06dbaa4d-3aac-445a-ae43-e618cb159f53"},{"name":"Verify email Account After Changing in Profile","id":"2bdef924-3bc3-4794-bb13-4c0ef26cf2d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/user/verify-email/MTE/58b-8bed94b235fbde601b22/859-8988-bed94b23-5fbde601b22","urlObject":{"path":["user","verify-email","MTE","58b-8bed94b235fbde601b22","859-8988-bed94b23-5fbde601b22"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bdef924-3bc3-4794-bb13-4c0ef26cf2d8"}],"id":"2a009081-b878-47df-9549-708e2b3db300","_postman_id":"2a009081-b878-47df-9549-708e2b3db300","description":""},{"name":"Super Admin","item":[{"name":"Delete or Deactivate User Account","id":"50dacc2e-275d-4402-8ab3-9ee3e8800599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"is_active\":false,\n    \"description\": \"disable account\"\n}"},"url":"{{host}}/user/profile/deactivate/1","description":"<p><strong>this is just Deactivate for now</strong></p>\n","urlObject":{"path":["user","profile","deactivate","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"50dacc2e-275d-4402-8ab3-9ee3e8800599"}],"id":"344137e9-e195-43ac-abe9-19430fe9cba3","_postman_id":"344137e9-e195-43ac-abe9-19430fe9cba3","description":""}],"id":"b3d6bee3-ea13-48f0-8417-2b3c22eb3997","description":"<h4 id=\"user-model\">User Model</h4>\n<h5 id=\"below-fields-are-filled-in-signup\">Below fields are filled in signup</h5>\n<p><strong>first_name</strong></p>\n<p><strong>last_name</strong></p>\n<p><strong>gender</strong>\n<strong>email</strong>\n<strong>mhuser_type</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>('buy', 'Buy'),\n('sell', 'Sell'),\n('both', 'Both'),\n('none', 'none')\n</code></pre><p><strong>profession</strong>\n<strong>phone_number</strong>\n<strong>address_street1</strong>\n<strong>address_street2</strong> : this field is Optional\n<strong>address_district</strong>\n<strong>address_state</strong>\n<strong>address_country</strong>\n<strong>address_zipcode</strong>\n<strong>company_name</strong>\n<strong>default_market_location</strong>\n<strong>commodities_of_interest</strong></p>\n<p><strong>role</strong> : This will be Returned in login response to set the Roles in UI</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>('regularUser', 'RegularUser'),\n('blogAdmin', 'BlogAdmin'),\n('userAdmin', 'UserAdmin'),\n('dataAdmin', 'DataAdmin'),\n('marhetHubAdmin', 'MarhetHubAdmin'),\n('priceHubAdmin', 'PriceHubAdmin')\n</code></pre><p><strong>is_active</strong> : This will tell weather user is active or not</p>\n<p><strong>is_superuser</strong> : This will tell weather user is super user or not</p>\n<h6 id=\"optional-fields-which-will-be-update-in-account-settings-after-signup\">Optional Fields which will be update in Account settings After Signup</h6>\n<p><strong>seller_acres</strong>\n<strong>seller_certified_organic</strong>\n<strong>seller_can_deliver</strong>\n<strong>buyer_quintals</strong>\n<strong>buyer_verified</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"561f6859-1f68-48d4-af79-38cd8be30ba9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a11c9046-9bc1-41de-a815-d1454e4b7bbd","type":"text/javascript","exec":[""]}}],"_postman_id":"b3d6bee3-ea13-48f0-8417-2b3c22eb3997"},{"name":"Utilities","item":[{"name":"Upload Files to S3","item":[{"name":"Upload a File","id":"822e58b9-79b3-4f0c-9b76-708008b1e678","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"formdata","formdata":[{"key":"url","type":"file","warning":"This file resides outside the working directory. Collaborators might not have the same file path.","src":"/Users/thammuio/Desktop/Screen Shot 2019-08-02 at 9.32.36 AM.png"},{"key":"model","value":"blog","type":"text"}]},"url":"{{host}}/files/","urlObject":{"path":["files",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"822e58b9-79b3-4f0c-9b76-708008b1e678"},{"name":"Get a File Details With ID","id":"4bcdc967-e4f6-4936-96bf-a6ef317e0892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"{{host}}/files/10001/","urlObject":{"path":["files","10001",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bcdc967-e4f6-4936-96bf-a6ef317e0892"}],"id":"7d556b5d-5ba3-4eb7-837c-c079625f6b57","description":"<p><strong>url</strong></p>\n<ul>\n<li>File Attachemet/Payload in Request</li>\n<li>S3 Link in Response</li>\n</ul>\n<p><strong>model</strong> : Type of module that you are uploading file to</p>\n<ul>\n<li>blog</li>\n<li>markethub</li>\n</ul>\n<p><strong>file_props</strong> : file metadata like (size, mime type, original filename etc) in json\nthese Values will be generated by the api - no need to pass them from front end</p>\n","event":[{"listen":"prerequest","script":{"id":"4b8f5b0f-a735-4ed4-940d-e2f3e4a7d59e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4fb9bc65-0e9f-4a94-a08a-331bfea5b21a","type":"text/javascript","exec":[""]}}],"_postman_id":"7d556b5d-5ba3-4eb7-837c-c079625f6b57"}],"id":"e6b2b4fe-d21d-4eac-a8b5-3bec58e4b4ad","_postman_id":"e6b2b4fe-d21d-4eac-a8b5-3bec58e4b4ad","description":""},{"name":"Blog","item":[{"name":"BlogAdmin","item":[{"name":"List All Blog Articles","id":"8d214ae0-b6a8-4919-a8e2-474d941003b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/admin-articles/?page_size=10","urlObject":{"path":["blog","admin-articles",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"10"}],"variable":[]}},"response":[],"_postman_id":"8d214ae0-b6a8-4919-a8e2-474d941003b4"},{"name":"Get a Blog Article Content","id":"4f4d8d81-61a6-4a28-985a-5a3c93f7d9ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/admin-articles/sdfasdf/","urlObject":{"path":["blog","admin-articles","sdfasdf",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f4d8d81-61a6-4a28-985a-5a3c93f7d9ce"},{"name":"Create an Article in Blog","id":"7085dc71-f8a0-4da5-954c-bc2d811ff8a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"{{host}}/blog/tags/3/\"\n    ],\n    \"categories\": [\n        \"{{host}}/blog/categories/1/\"\n    ],\n    \"cover_image\": \"{{host}}/files/10055/\",\n    \"title\": \"this is new test\",\n    \"seo_desc\": \"this is the SEO DEsc\",\n    \"seo_keywords\": \"thse, are, keywords\",\n    \"description\": \"<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n<p></p>\\n<p></p>\\n<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n<p></p>\\n<p></p>\\n<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n\"\n}"},"url":"{{host}}/blog/admin-articles/","urlObject":{"path":["blog","admin-articles",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7085dc71-f8a0-4da5-954c-bc2d811ff8a2"},{"name":"Save as Draft for an Article in Blog","id":"30cddf6d-4101-4ce2-a368-bba58ed78b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"{{host}}/blog/tags/3/\"\n    ],\n    \"categories\": [\n        \"{{host}}/blog/categories/1/\"\n    ],\n    \"cover_image\": \"{{host}}/files/10055/\",\n    \"title\": \"this is new test\",\n    \"seo_desc\": \"this is the SEO DEsc\",\n    \"seo_keywords\": \"thse, are, keywords\",\n    \"is_published\": false,\n    \"description\": \"<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n<p></p>\\n<p></p>\\n<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n<p></p>\\n<p></p>\\n<p><span style=\\\"color: rgb(0,0,0);background-color: rgb(255,255,255);font-size: 16px;font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n\"\n}"},"url":"{{host}}/blog/admin-articles/","urlObject":{"path":["blog","admin-articles",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"30cddf6d-4101-4ce2-a368-bba58ed78b3e"},{"name":"Update an Article in Blog","id":"d1e86d93-6d1f-4df9-bac0-78fde77987cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"{{host}}/blog/tags/1/\", \"{{host}}/blog/tags/2/\", \"{{host}}/blog/tags/3/\"\n    ],\n    \"categories\": [\n        \"{{host}}/blog/categories/1/\", \"{{host}}/blog/categories/2/\", \"{{host}}/blog/categories/3/\"\n    ],\n    \"cover_image\": \"{{host}}/files/10001/\",\n    \"title\": \"Awesome AgTech Blog Started in India\",\n    \"seo_desc\": \"this is the SEO DEsc\",\n    \"seo_keywords\": \"thse, are, keywords\",\n    \"description\": \"<h1 style=\\\"text-align:center;\\\">Lets Write a Nice Blog H1</h1>\\n<pre>This is Code Block</pre>\\n<p></p>\\n<blockquote>This is Blockquote</blockquote>\\n<p></p>\\n<h2><span style=\\\"background-color: rgb(247,218,100);\\\">This is H2</span></h2>\\n<h3>this is h3</h3>\\n<h4><span style=\\\"color: rgb(65,168,95);\\\">this is h4</span></h4>\\n<h5>this is h5</h5>\\n<h6>this is h6</h6>\\n<p></p>\\n<p>this is normal default font</p>\\n<p><span style=\\\"font-family: Arial;\\\">this is normal Ariel</span></p>\\n<p><span style=\\\"font-family: Impact;\\\">this is impact</span></p>\\n<p><span style=\\\"font-family: Tahoma;\\\">this is tahoma</span></p>\\n<p><span style=\\\"font-family: Times New Roman;\\\">this is t new roman</span></p>\\n<p><span style=\\\"font-family: Verdana;\\\">verdana is good</span></p>\\n<p><span style=\\\"font-family: Georgia;\\\">this is Georgia</span></p>\\n<p><span style=\\\"font-family: Arial;\\\">Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing. Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</span></p>\\n<p></p>\\n<img src=\\\"https://farmioc.s3.amazonaws.com/media/article/8b0e6785-a36d-44f4-98f2-bcd8039f021e.png\\\" alt=\\\"undefined\\\" style=\\\"float:none;height: auto;width: auto\\\"/>\\n<p></p>\\n<p><sub>this is block x2</sub></p>\\n<p><sub>This </sub></p>\\n<p>Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</p>\\n<img src=\\\"https://farmioc.s3.amazonaws.com/media/article/2c9c6a73-821a-4aa0-a8dc-3bf17f8b0e77.png\\\" alt=\\\"undefined\\\" style=\\\"float:left;height: auto;width: auto\\\"/>\\n<p><sup>this is x2</sup></p>\\n<p>Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.Farmioc's blog features daily recaps on Crop Prices and Market Intelligence. We aim to help all Agribusiness stakeholders on what stories directly impact their bottom line business and empower farmers to make better decisions with sowing to marketing.</p>\\n<p><sup><code>this is in brackets</code></sup></p>\\n\"\n}"},"url":"{{host}}/blog/admin-articles/awesome-agtech-blog-started-in-india-4/","urlObject":{"path":["blog","admin-articles","awesome-agtech-blog-started-in-india-4",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1e86d93-6d1f-4df9-bac0-78fde77987cb"},{"name":"Un-Publish an Article in Blog","id":"c3558865-1fb2-4aec-b521-a5b51698a787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/admin-articles/sdfasdf/un-publish/","urlObject":{"path":["blog","admin-articles","sdfasdf","un-publish",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3558865-1fb2-4aec-b521-a5b51698a787"},{"name":"Re-Publish an Article in Blog","id":"99a97e94-e137-4eb7-bf9c-4b60a4d6db78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/admin-articles/awesome-agtech-blog-started-in-india-4/re-publish/","urlObject":{"path":["blog","admin-articles","awesome-agtech-blog-started-in-india-4","re-publish",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99a97e94-e137-4eb7-bf9c-4b60a4d6db78"},{"name":"Delete an Article in Blog","id":"cbf10c09-1a75-4e04-a303-f8efad198a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/admin-articles/awesome-agtech-blog-started-in-india-/","urlObject":{"path":["blog","admin-articles","awesome-agtech-blog-started-in-india-",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbf10c09-1a75-4e04-a303-f8efad198a82"},{"name":"Create a Categories","id":"ad5bbe18-eca0-4673-87a0-257564206686","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Agriculturedd\"\n}"},"url":"{{host}}/blog/categories/","urlObject":{"path":["blog","categories",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad5bbe18-eca0-4673-87a0-257564206686"},{"name":"Delete a Category","id":"538f13c5-8925-49d5-902d-20239b2c88e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/categories/6/","urlObject":{"path":["blog","categories","6",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"538f13c5-8925-49d5-902d-20239b2c88e3"},{"name":"Create an Article Tag","id":"3a203cb7-9ea7-4fdd-8716-c6e56033e05b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Product Improvements\"\n}"},"url":"{{host}}/blog/tags/","urlObject":{"path":["blog","tags",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a203cb7-9ea7-4fdd-8716-c6e56033e05b"},{"name":"Delete an Article Tag","id":"57df942f-7a81-4715-9d48-915f14612e0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/blog/tags/23/","urlObject":{"path":["blog","tags","23",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57df942f-7a81-4715-9d48-915f14612e0f"}],"id":"b1c36d61-7e77-4d7a-af5b-7493071a2985","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1. {{host}}/blog/admin-articles/ - GET,POST\n2. {{host}}/blog/admin-articles/&lt;slug&gt;/ - GET,PUT,PATCH,DELETE\n3. {{host}}/blog/admin-articles/&lt;slug&gt;/un-publish/ - PATCH\n4. {{host}}/blog/admin-articles/&lt;slug&gt;/re-publish/ - PATCH\n</code></pre><p>these are the admin APIs</p>\n","event":[{"listen":"prerequest","script":{"id":"7ad816a0-e935-4311-89d4-592f2f792748","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9647c03e-3905-402c-9fa8-84889d8bcd0f","type":"text/javascript","exec":[""]}}],"_postman_id":"b1c36d61-7e77-4d7a-af5b-7493071a2985"},{"name":"List All Blog Articles","id":"37c3a069-88fb-47aa-9554-f87c052148e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/blog/articles/?page_size=10","urlObject":{"path":["blog","articles",""],"host":["{{host}}"],"query":[{"key":"page_size","value":"10"}],"variable":[]}},"response":[],"_postman_id":"37c3a069-88fb-47aa-9554-f87c052148e4"},{"name":"Get All Categories","id":"e1667668-c4df-4bb4-b32a-76e045d6d1a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/blog/categories/","urlObject":{"path":["blog","categories",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1667668-c4df-4bb4-b32a-76e045d6d1a0"},{"name":"Get All Tags","id":"6344ce91-cf9e-4e08-ac5d-6efa49141b72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/blog/tags/","urlObject":{"path":["blog","tags",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6344ce91-cf9e-4e08-ac5d-6efa49141b72"},{"name":"Get a Blog Article Content","id":"289ca0eb-8dfa-47f2-af46-5677337a5603","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/blog/articles/sdfasdf/","urlObject":{"path":["blog","articles","sdfasdf",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"289ca0eb-8dfa-47f2-af46-5677337a5603"}],"id":"062f4e0b-592c-45ac-8e15-4d544cceec08","description":"<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1. {{host}}/blog/articles/ - GET\n2. {{host}}/blog/articles/&lt;article_slug&gt;/ - GET\n</code></pre><p>These are the public APIs, which contain only published article (means, is_published=True)</p>\n","event":[{"listen":"prerequest","script":{"id":"413c791a-e568-4737-bdd4-43e0606d369d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6d5574c7-9b6c-4dc6-adaa-9d2c20c69cbf","type":"text/javascript","exec":[""]}}],"_postman_id":"062f4e0b-592c-45ac-8e15-4d544cceec08"},{"name":"PriceHub","item":[{"name":"Dashboard","item":[{"name":"Get cmdtyWatchlist for User","id":"5d9ae7b3-0ea4-4d54-8721-ab1f2dbff26f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"url":"{{host}}/pricehub/cmdtywatchlist/","description":"<p><strong>This call needs to be make only when User is Loggedin and in <code>/dashboard</code></strong></p>\n","urlObject":{"path":["pricehub","cmdtywatchlist",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d9ae7b3-0ea4-4d54-8721-ab1f2dbff26f"},{"name":"Remove cmdtyWatchlist for User Copy","id":"6beb90e7-4fb7-4758-920b-4d73f79d7ef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtywatchlist/4/","urlObject":{"path":["pricehub","cmdtywatchlist","4",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6beb90e7-4fb7-4758-920b-4d73f79d7ef4"},{"name":"Get cmdtyWatchlist of User for a Cmdty","id":"aa6bac38-9f26-474b-82c8-d44640e105fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtywatchlist/populate?commodity=Maize","urlObject":{"path":["pricehub","cmdtywatchlist","populate"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Maize"}],"variable":[]}},"response":[],"_postman_id":"aa6bac38-9f26-474b-82c8-d44640e105fc"},{"name":"Get cmdtySavedSearch for User","id":"8211fc81-4271-4ea6-a13a-aad7630b6e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"url":"{{host}}/pricehub/cmdtysearch/?page=1&page_size=5","urlObject":{"path":["pricehub","cmdtysearch",""],"host":["{{host}}"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"5"}],"variable":[]}},"response":[],"_postman_id":"8211fc81-4271-4ea6-a13a-aad7630b6e01"},{"name":"Delete cmdtySavedSearch for User","id":"d3407462-e548-48f9-8e88-f6d261308711","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtysearch/1/","urlObject":{"path":["pricehub","cmdtysearch","1",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3407462-e548-48f9-8e88-f6d261308711"}],"id":"479f4661-ef70-4044-9255-2a298c97041d","description":"<p>PriceHub Related API that are used in Dashboard</p>\n","_postman_id":"479f4661-ef70-4044-9255-2a298c97041d"},{"name":"Price and Arrivals","item":[{"name":"Save your Search in Price and Arrivals","id":"a4b72bcc-fc8d-436f-be9c-d5a5777fdb50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"commodity\": \"Tomato\",\n    \"variety\": \"Local\",\n    \"state\": \"Andhra Pradesh\",\n    \"district\": \"Chittor\",\n    \"market\": \"Kalikiri\"\n}"},"url":"{{host}}/pricehub/cmdtysearch/","urlObject":{"path":["pricehub","cmdtysearch",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4b72bcc-fc8d-436f-be9c-d5a5777fdb50"},{"name":"Get graph for cmdty - c v","id":"5315dd5d-3f87-4b70-afd1-152e02e84e22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtygraph?commodity=Tomato&variety=Local","urlObject":{"path":["pricehub","cmdtygraph"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"}],"variable":[]}},"response":[],"_postman_id":"5315dd5d-3f87-4b70-afd1-152e02e84e22"},{"name":"Get other states for cmdty - c v","id":"05bba05e-44b3-4f59-98e4-3b796b279282","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtydata/?page=1&commodity=Tomato&variety=Hybrid&state=&district=&market=","urlObject":{"path":["pricehub","cmdtydata",""],"host":["{{host}}"],"query":[{"key":"page","value":"1"},{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Hybrid"},{"key":"state","value":""},{"key":"district","value":""},{"key":"market","value":""}],"variable":[]}},"response":[],"_postman_id":"05bba05e-44b3-4f59-98e4-3b796b279282"},{"name":"Get graph for cmdty - c v s","id":"67971198-9456-48f6-aef0-24177fe19d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtygraph?commodity=Tomato&variety=Local&state=Andhra%20Pradesh","urlObject":{"path":["pricehub","cmdtygraph"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"}],"variable":[]}},"response":[],"_postman_id":"67971198-9456-48f6-aef0-24177fe19d5a"},{"name":"Get other districts for cmdty - c v s d","id":"97ce2281-6a35-4495-b36e-7bedf339d780","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtydata/?page=1&commodity=Tomato&variety=Hybrid&state=&district=&market=","urlObject":{"path":["pricehub","cmdtydata",""],"host":["{{host}}"],"query":[{"key":"page","value":"1"},{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Hybrid"},{"key":"state","value":""},{"key":"district","value":""},{"key":"market","value":""}],"variable":[]}},"response":[],"_postman_id":"97ce2281-6a35-4495-b36e-7bedf339d780"},{"name":"Get graph for cmdty - c v s d","id":"309933ae-4fb5-43fa-8b70-ba00b13c221e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtygraph?commodity=Tomato&variety=Local&state=Andhra%20Pradesh&district=Chittor","urlObject":{"path":["pricehub","cmdtygraph"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"}],"variable":[]}},"response":[],"_postman_id":"309933ae-4fb5-43fa-8b70-ba00b13c221e"},{"name":"Get other markets for cmdty - c v s d","id":"d39c9d6e-a6b8-4687-bb91-d388c264c0ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtydata/?page=1&commodity=Tomato&variety=Hybrid&state=Andhra%20Pradesh&district=Chittor&market=","urlObject":{"path":["pricehub","cmdtydata",""],"host":["{{host}}"],"query":[{"key":"page","value":"1"},{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Hybrid"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"},{"key":"market","value":""}],"variable":[]}},"response":[],"_postman_id":"d39c9d6e-a6b8-4687-bb91-d388c264c0ae"},{"name":"Get graph for cmdty - c v s d m","id":"fc5336b9-4da4-4832-ba4c-ed56ea449dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtygraph?commodity=Tomato&variety=Local&state=Andhra%20Pradesh&district=Chittor&market=Kalikiri&arrival_date_filter_by=week","urlObject":{"path":["pricehub","cmdtygraph"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"},{"key":"market","value":"Kalikiri"},{"key":"arrival_date_filter_by","value":"week"}],"variable":[]}},"response":[],"_postman_id":"fc5336b9-4da4-4832-ba4c-ed56ea449dcc"},{"name":"Get other Markets for cmdty - c v s d m","id":"5bf8d7b4-ec78-45d2-b2cc-511ee612e147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtymarkets/other/?commodity=Tomato&variety=Hybrid&state=Andhra%20Pradesh&district=Chittor","urlObject":{"path":["pricehub","cmdtymarkets","other",""],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Hybrid"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"}],"variable":[]}},"response":[],"_postman_id":"5bf8d7b4-ec78-45d2-b2cc-511ee612e147"},{"name":"Get other Varieties Prices for cmdty - c v s d m","id":"f1423e94-a718-4e01-80dc-a0a19fdf1f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtyvariety/other?commodity=Tomato&variety=Local&state=Andhra%20Pradesh&district=Chittor&market=Kalikiri","description":"<p>Other Varieties in a Market</p>\n<ul>\n<li>when user selects Commodity, Variety, State, District, Market</li>\n</ul>\n","urlObject":{"path":["pricehub","cmdtyvariety","other"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"},{"key":"market","value":"Kalikiri"}],"variable":[]}},"response":[],"_postman_id":"f1423e94-a718-4e01-80dc-a0a19fdf1f1a"},{"name":"Get other Varieties Prices for cmdty - c v s d","id":"2c9c9ccc-3bdf-4c9b-822b-8167791cfc3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtyvariety/other?commodity=Tomato&variety=Local&state=Andhra%20Pradesh&district=Chittor","description":"<p>Other Varieties in a District</p>\n<ul>\n<li>when user selects Commodity, Variety, State, District</li>\n</ul>\n","urlObject":{"path":["pricehub","cmdtyvariety","other"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"},{"key":"district","value":"Chittor"}],"variable":[]}},"response":[],"_postman_id":"2c9c9ccc-3bdf-4c9b-822b-8167791cfc3a"},{"name":"Get other Varieties Prices for cmdty - c v s","id":"e4528c65-0c06-45fc-88b2-3250dbcfb131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtyvariety/other?commodity=Tomato&variety=Local&state=Andhra%20Pradesh","description":"<p>Other Varieties in a State</p>\n<ul>\n<li>when user selects Commodity, Variety, State</li>\n</ul>\n","urlObject":{"path":["pricehub","cmdtyvariety","other"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"},{"key":"state","value":"Andhra%20Pradesh"}],"variable":[]}},"response":[],"_postman_id":"e4528c65-0c06-45fc-88b2-3250dbcfb131"},{"name":"Get other Varieties Prices for cmdty - c v","id":"97a86f52-c69a-41bf-83c7-dc714c18897d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtyvariety/other?commodity=Tomato&variety=Local","description":"<p>This Gets other varieties across india</p>\n<ul>\n<li>when user selects Commodity, Variety</li>\n</ul>\n","urlObject":{"path":["pricehub","cmdtyvariety","other"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Tomato"},{"key":"variety","value":"Local"}],"variable":[]}},"response":[],"_postman_id":"97a86f52-c69a-41bf-83c7-dc714c18897d"},{"name":"Get all Varieties Prices for a cmdty - c","id":"bf6ae207-8ddf-418b-b3be-2ecf7b92a858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtyvariety/other?commodity=Cotton","description":"<p>This Gets All varieties data across india</p>\n<ul>\n<li>when user selects just Commodity</li>\n</ul>\n","urlObject":{"path":["pricehub","cmdtyvariety","other"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Cotton"}],"variable":[]}},"response":[],"_postman_id":"bf6ae207-8ddf-418b-b3be-2ecf7b92a858"}],"id":"a59cf99e-d671-47b6-a69c-5fc204823f9a","_postman_id":"a59cf99e-d671-47b6-a69c-5fc204823f9a","description":""},{"name":"Latest Prices","item":[{"name":"Get Latest Prices for cmdty","id":"10417212-f238-4727-919c-70ac7a68b5de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/pricehub/cmdtylatestprice?commodity=Maize","urlObject":{"path":["pricehub","cmdtylatestprice"],"host":["{{host}}"],"query":[{"key":"commodity","value":"Maize"}],"variable":[]}},"response":[],"_postman_id":"10417212-f238-4727-919c-70ac7a68b5de"},{"name":"Create LatestPrice cmdtyWatchlist for User","id":"e0b3fda6-d194-4de5-b3b7-aab857bb2eff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"commodity\": \"Tomato\",\n    \"variety\": \"Local\",\n    \"state\": \"\",\n    \"district\": \"\",\n    \"market\": \"\"\n}"},"url":"{{host}}/pricehub/cmdtywatchlist/","urlObject":{"path":["pricehub","cmdtywatchlist",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0b3fda6-d194-4de5-b3b7-aab857bb2eff"},{"name":"Provide Feedback on Latest Prices","id":"b919deaf-ece3-4c49-af31-09a3c506799a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\r\n\"latest_price\":308,\r\n\"min_price\":1234,\r\n\"max_price\":54321,\r\n\"quality_grade\": \"range1\"\r\n}"},"url":"{{host}}/pricehub/cmdtylatestprice/feedback","urlObject":{"path":["pricehub","cmdtylatestprice","feedback"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b919deaf-ece3-4c49-af31-09a3c506799a"}],"id":"92b30a42-5116-4024-a862-fb5951deeebc","_postman_id":"92b30a42-5116-4024-a862-fb5951deeebc","description":""}],"id":"c55153f4-539b-4283-b13c-1a6bcebf8133","event":[{"listen":"prerequest","script":{"id":"d29c6bbe-e092-47f4-a1ad-9c0dd22e4a1c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"707a454c-b638-4f04-b09d-968509f972f9","type":"text/javascript","exec":[""]}}],"_postman_id":"c55153f4-539b-4283-b13c-1a6bcebf8133","description":""},{"name":"MarketHub","item":[{"name":"Dashboard","item":[],"id":"8647fa25-86d0-464a-b0f4-138a4a9de4fe","description":"<p>MarketHub Related API that are used in Dashboard</p>\n","event":[{"listen":"prerequest","script":{"id":"bfcd2d07-e3e1-4a7d-afe3-1ec8a192a9c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"60838baa-ed55-4c44-86f6-343d12c14211","type":"text/javascript","exec":[""]}}],"_postman_id":"8647fa25-86d0-464a-b0f4-138a4a9de4fe"},{"name":"Watchlist","item":[{"name":"Create Watchlist","id":"d852c9a6-3df3-4c06-b7bd-c369f313abd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Let the user Create a name\",\n\t\"search_params\":\"post_type=sell&commodity=Corn&variety=White&country=India\"\n}"},"url":"{{host}}/markethub/watchlist/","urlObject":{"path":["markethub","watchlist",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d852c9a6-3df3-4c06-b7bd-c369f313abd5"},{"name":"Update Watchlist","id":"2037fde1-d61a-41b5-90dd-0b7927ac1d68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\":\"Let the user Create a name\",\n\t\"search_params\":\"post_type=sell&commodity=Corn&variety=White&country=India\"\n}"},"url":"{{host}}/markethub/watchlist/10/","urlObject":{"path":["markethub","watchlist","10",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2037fde1-d61a-41b5-90dd-0b7927ac1d68"},{"name":"Delete Watchlist","id":"ed715c3e-f343-4add-b2c2-958413b2d331","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/watchlist/11/","urlObject":{"path":["markethub","watchlist","11",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed715c3e-f343-4add-b2c2-958413b2d331"},{"name":"Get Watchlist","id":"7134e8ea-3339-419b-b746-60053df58e04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/watchlist/","urlObject":{"path":["markethub","watchlist",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7134e8ea-3339-419b-b746-60053df58e04"}],"id":"1b9b204b-ee2a-49cf-93e4-ebbf6f32f491","_postman_id":"1b9b204b-ee2a-49cf-93e4-ebbf6f32f491","description":""},{"name":"OfferPost","item":[{"name":"My Offers","item":[{"name":"Get all Offers Posted by Me  - Active Only","id":"47286e75-afdb-4355-b9ab-0ba0d2106d85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/?status=open","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[{"key":"status","value":"open"}],"variable":[]}},"response":[],"_postman_id":"47286e75-afdb-4355-b9ab-0ba0d2106d85"},{"name":"Get all Offers Posted by Me  - Expired Only","id":"30ac81f4-4ccc-44bb-b927-3518029a6b3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/?status=expired","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[{"key":"status","value":"expired"}],"variable":[]}},"response":[],"_postman_id":"30ac81f4-4ccc-44bb-b927-3518029a6b3c"},{"name":"Get all Offers Posted by Me  - Removed","id":"c0da56cc-9179-4213-bfcf-35edf14ad5bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/?status=deleted","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[{"key":"status","value":"deleted"}],"variable":[]}},"response":[],"_postman_id":"c0da56cc-9179-4213-bfcf-35edf14ad5bd"},{"name":"Get all Offers Posted by Me  - Deal Completed","id":"a385562f-887d-4f8f-961d-2489b903053b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/?status=end","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[{"key":"status","value":"end"}],"variable":[]}},"response":[],"_postman_id":"a385562f-887d-4f8f-961d-2489b903053b"},{"name":"Get all Offers Posted by Me  - All","id":"6f86224e-2796-4970-96b8-8f7d2684d4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/?status=all","description":"<p><strong>Mandatory Filter Fields</strong></p>\n<ul>\n<li>post_type (buy/sell/both)</li>\n<li>commodity</li>\n<li>country (default is India)</li>\n</ul>\n<p><strong>Optional Filter Fields</strong></p>\n<ul>\n<li>variety</li>\n<li>quality_grade</li>\n<li>location: place, state</li>\n<li>special_quality</li>\n<li>crop_year</li>\n<li>contract_type</li>\n<li>freight</li>\n</ul>\n","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[{"key":"status","value":"all"}],"variable":[]}},"response":[],"_postman_id":"6f86224e-2796-4970-96b8-8f7d2684d4b3"}],"id":"2306e637-4076-41f4-beb6-2afe04d5f4d0","_postman_id":"2306e637-4076-41f4-beb6-2afe04d5f4d0","description":""},{"name":"Post a New Offer","id":"a90ef215-178b-486b-b0d0-9a1e8335e848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offer_type\": \"firm\",\n    \"post_type\": \"sell\",\n    \"commodity\": \"Tomato\",\n    \"variety\": \"Local\",\n    \"quality_grade\": \"range1\",\n    \"crop_year\": 2017,\n    \"freight\": \"pick_up\",\n    \"location\": {\n        \"place\": \"Guntur\",\n        \"state\": \"AP\",\n        \"country\": \"India\"\n    },\n    \"commodity_storage\": \"25_kg_bag\",\n    \"movement_year\": 2019,\n    \"movement_period\": \"Q3\",\n    \"currency\": \"INR\",\n    \"units\": \"MT\",\n    \"contract_type\": \"cash\",\n    \"quantity\": 10,\n    \"asking_price\": 100,\n    \"willing_to_deliver\": false,\n    \"payment_terms\": \"instant_deposit\",\n    \"lat\": \"57.66\",\n    \"lng\": \"66.55434\",\n    \"special_quality\": \"organic\",\n    \"comments\": \"Best Quality\",\n    \"files\": [\"{{host}}/files/10003/\", \"{{host}}/files/10004/\", \"{{host}}/files/10005/\"]\n}"},"url":"{{host}}/markethub/offers/","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a90ef215-178b-486b-b0d0-9a1e8335e848"},{"name":"Get Details of an Offer - Annonymous","id":"af03d3d3-1c7d-472e-955d-536b476d88c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/10015/","description":"<p><strong>is_it_my_offer</strong> To check if an offer is posted by that user - Default is False</p>\n<p><strong>view_count</strong> How many times an offer is viewed</p>\n<p><strong>has_specs</strong> will be default false for now; true when comments</p>\n<p><strong>has_files</strong> will be true if it has attachments in files</p>\n","urlObject":{"path":["markethub","offers","10015",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"af03d3d3-1c7d-472e-955d-536b476d88c3"},{"name":"Get Details of an Offer - Logged in","id":"02b1b870-65b1-410b-8785-b7d3605c2aa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"url":"{{host}}/markethub/offers/10008/","description":"<p><strong>is_it_my_offer</strong> To check if an offer is posted by that user - Default is False</p>\n<p><strong>view_count</strong> How many times an offer is viewed</p>\n<p><strong>has_specs</strong> will be default false for now; true when comments</p>\n<p><strong>has_files</strong> will be true if it has attachments in files</p>\n","urlObject":{"path":["markethub","offers","10008",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02b1b870-65b1-410b-8785-b7d3605c2aa4"},{"name":"Edit an existing Offer","id":"ea773f7d-817e-4d4d-9d4a-39764562f5f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"offer_type\": \"firm\",\n    \"post_type\": \"sell\",\n    \"commodity\": \"Corn\",\n    \"variety\": \"Sweet\",\n    \"quality_grade\": \"range1\",\n    \"crop_year\": 2017,\n    \"freight\": \"pick_up\",\n    \"location\": {\n        \"place\": \"Guntur\",\n        \"state\": \"AP\",\n        \"country\": \"India\"\n    },\n    \"commodity_storage\": \"25_kg_bag\",\n    \"movement_year\": 2019,\n    \"movement_period\": \"Q3\",\n    \"currency\": \"INR\",\n    \"units\": \"MT\",\n    \"contract_type\": \"cash\",\n    \"quantity\": 10,\n    \"asking_price\": 100,\n    \"willing_to_deliver\": false,\n    \"payment_terms\": \"instant_deposit\",\n    \"files\":\"{{host}}/files/78/\"\n}"},"url":"{{host}}/markethub/offers/10010/","description":"<ul>\n<li>user can not edit a post if it has active negotiations</li>\n</ul>\n","urlObject":{"path":["markethub","offers","10010",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea773f7d-817e-4d4d-9d4a-39764562f5f8"},{"name":"Delete an Offer - Deprecated","id":"01efcc07-2553-4af1-9214-e90a6dfa484e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"url":"{{host}}/markethub/offers/7/","description":"<p>Use Remove an Offer API</p>\n","urlObject":{"path":["markethub","offers","7",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01efcc07-2553-4af1-9214-e90a6dfa484e"},{"name":"Remove an Offer - soft Delete","id":"f21b8dd8-531c-4eeb-8252-7a031b1c660a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"is_deleted\": \"True\"\n}"},"url":"{{host}}/markethub/offers/10013/","description":"<ul>\n<li>This is a Soft Delete</li>\n<li>This will remove the post from all the searches and use wont be able to see it other than the posted user - When we do a GET on Offer</li>\n</ul>\n","urlObject":{"path":["markethub","offers","10013",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f21b8dd8-531c-4eeb-8252-7a031b1c660a"},{"name":"Repost an Offer","id":"c08a0c2e-672e-44bc-a87c-abb708865bd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":" Token {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"offer_type\": \"firm\",\n    \"post_type\": \"sell\",\n    \"commodity\": \"Corn\",\n    \"variety\": \"White\",\n    \"quality_grade\": \"range1\",\n    \"crop_year\": 2017,\n    \"freight\": \"pick_up\",\n    \"location\": {\n        \"place\": \"Guntur\",\n        \"state\": \"AP\",\n        \"country\": \"India\"\n    },\n    \"commodity_storage\": \"25_kg_bag\",\n    \"movement_year\": 2019,\n    \"movement_period\": \"Q3\",\n    \"currency\": \"INR\",\n    \"units\": \"MT\",\n    \"contract_type\": \"cash\",\n    \"quantity\": 10,\n    \"asking_price\": 100,\n    \"willing_to_deliver\": false,\n    \"payment_terms\": \"instant_deposit\",\n    \"files\":\"{{host}}/files/78/\"\n}"},"url":"{{host}}/markethub/offers/","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c08a0c2e-672e-44bc-a87c-abb708865bd4"},{"name":"Get all Offers","id":"830ab492-ea0c-4ccd-88ed-63bcc5ef9c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/","description":"<p><strong>This API Night not me Neewd</strong> </p>\n<p><strong>Need to Analyze the use of it</strong></p>\n","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"830ab492-ea0c-4ccd-88ed-63bcc5ef9c58"},{"name":"Get all Offers Posted by Me","id":"49a2f8be-c74b-41d0-a041-f6cb77156a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/my-offers/","description":"<ul>\n<li>Will list all open/closed/expired posts</li>\n</ul>\n","urlObject":{"path":["markethub","offers","my-offers",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49a2f8be-c74b-41d0-a041-f6cb77156a8e"}],"id":"3aecbba0-de2c-4798-9e92-7bcca56d0616","description":"<h5 id=\"list-of-available-parameters-for-posting-an-offer\">List of Available Parameters for Posting an Offer</h5>\n<p><strong>offer_type</strong> : Offer Type</p>\n<ul>\n<li>firm : FIRM</li>\n<li>negotiable : NEGOTIABLE</li>\n<li>no_price : NO PRICE</li>\n</ul>\n<p><strong>post_type</strong> : Post Type</p>\n<ul>\n<li>sell : SELL</li>\n<li>buy : BUY</li>\n</ul>\n<p><strong>commodity</strong> : Commodity\nThis comes from <code>/initialize</code> API</p>\n<p><strong>variety</strong>: Commodity Variety\nThis comes from <code>/initialize</code> API</p>\n<p><strong>crop_year</strong> : Crop Year\nYear</p>\n<p><strong>freight</strong> : Freight Type</p>\n<ul>\n<li>pick_up : Pick Up At</li>\n<li>delivery : Delivered To</li>\n<li>warehouse_storage : In Warehouse</li>\n</ul>\n<p><strong>location</strong> : Location JSON for <code>freight</code>\nIt is a JSON Filed in Backend</p>\n<p><strong>willing_to_deliver</strong> : Willing to Deliver</p>\n<ul>\n<li>willing_to_deliver : boolean</li>\n</ul>\n<p><strong>contract_type</strong> : Contract Type</p>\n<ul>\n<li>cash : Cash</li>\n<li>futures : Futures</li>\n<li>options : Options</li>\n<li>basis : Basis</li>\n</ul>\n<p><strong>movement_year</strong> : Movement Year\nYear</p>\n<p><strong>movement_period</strong> : Movement Period for <code>movement_year</code></p>\n<ul>\n<li>Q1 : Q1 (January, Febraury, March)</li>\n<li>Q2 : Q2 (April, May, June)</li>\n<li>Q3 : Q3 (July, august, September)</li>\n<li>Q4 : Q4 (October, November, December)</li>\n</ul>\n<p><strong>commodity_storage</strong> : Storage Info</p>\n<ul>\n<li>25_kg_bag : 25 KG Bag</li>\n<li>50_kg_bag : 50 KG Bag</li>\n<li>60_kg_bag : 60 KG Bag</li>\n<li>100_kg_bag : 100 KG Bag</li>\n<li>flat_bottom_bin : Flat Bottom Bin**</li>\n<li>hopper_bin : Hopper Bin</li>\n<li>grain_bag : Grain Bag</li>\n<li>ground_pile : Ground Pile</li>\n<li>cold_storage : Cold Storage</li>\n<li>na : N/A</li>\n</ul>\n<p><strong>payment_terms</strong> : Payment Terms</p>\n<ul>\n<li>instant_deposit : Instant Deposit </li>\n<li>upon_delivery : Upon Delivery </li>\n<li>within_5_usiness_ays : Within 5 Business Days</li>\n<li>within_10_usiness_ays : Within 10 Business Days</li>\n<li>within_15_usiness_ays : Within 15 Business Days</li>\n<li>morethan_15_usiness_ays : More than 15 Business Days</li>\n</ul>\n<p><strong>quality_grade</strong> : Quality Range Grade</p>\n<ul>\n<li>range1 : Range 1</li>\n<li>range2 : Range 2</li>\n<li>range3 : Range 3</li>\n<li>animal_feed : Animal Feed Grade</li>\n</ul>\n<p><strong>special_quality</strong> : Special Quality</p>\n<ul>\n<li>organic : Organic</li>\n<li>non_gmo : Non-GMO</li>\n<li>ip : Identity Preserved</li>\n</ul>\n<p><strong>quantity</strong> : Quantity in MT/quintal/KG</p>\n<p><strong>asking_price</strong> : Asking price of <code>quantity</code> per MT/quintal/KG</p>\n<p><strong>currency</strong> : Currency Type</p>\n<ul>\n<li>INR : INR</li>\n</ul>\n<p><strong>units</strong> : Units</p>\n<ul>\n<li>MT : Metric Ton</li>\n<li>quintal : Quintal</li>\n<li>KG : Kilogran</li>\n</ul>\n<p><strong>files</strong> : Files Details</p>\n<ul>\n<li>file url with Id that we get when we upload files.</li>\n<li>Now we support multi file upload for a single post</li>\n</ul>\n<p><strong>comments</strong> : Comments or Description</p>\n<p><strong>valid_for</strong> : 72 hrs / 30 Days / other</p>\n","event":[{"listen":"prerequest","script":{"id":"49aa5ad7-2ccf-435b-9584-ab24c57fefd7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d805af2e-50c3-4a8b-9b9d-0bada25c9284","type":"text/javascript","exec":[""]}}],"_postman_id":"3aecbba0-de2c-4798-9e92-7bcca56d0616"},{"name":"Search","item":[{"name":"Search Offers 1 - mandatory fields","id":"459584e2-0520-4fe3-9c9c-737d82d5108e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/?post_type=sell&commodity=Cotton&country=India","description":"<p><strong>If no location is selected; we will pass Country as India by Default</strong></p>\n<ul>\n<li>Post type (buy/sell/both)</li>\n<li>Commodity</li>\n<li>Country : Default is India</li>\n</ul>\n","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[{"key":"post_type","value":"sell"},{"key":"commodity","value":"Cotton"},{"key":"country","value":"India"}],"variable":[]}},"response":[],"_postman_id":"459584e2-0520-4fe3-9c9c-737d82d5108e"},{"name":"Search Offers Sortby - mandatory fields","id":"47db275b-5912-4ae9-8cb0-4efcebad279c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/?post_type=sell&commodity=Cotton&country=India&sortby=quantity","description":"<p><strong>If no location is selected; we will pass Country as India by Default</strong></p>\n<ul>\n<li>Post type (buy/sell/both)</li>\n<li>Commodity</li>\n<li>Country : Default is India</li>\n<li>sortby: quantity, -quantity, asking_price, -asking_price  [-ve for descending order]</li>\n</ul>\n","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[{"key":"post_type","value":"sell"},{"key":"commodity","value":"Cotton"},{"key":"country","value":"India"},{"key":"sortby","value":"quantity"}],"variable":[]}},"response":[],"_postman_id":"47db275b-5912-4ae9-8cb0-4efcebad279c"},{"name":"Search Offers 1 - mandatory fields - Logged in","id":"d17f9639-c676-4ae7-b2a5-883f546b5686","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Token {{token}}","type":"text"}],"url":"{{host}}/markethub/offers/?post_type=sell&commodity=Corn&country=India","description":"<p><strong>If no location is selected; we will pass Country as India by Default</strong></p>\n","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[{"key":"post_type","value":"sell"},{"key":"commodity","value":"Corn"},{"key":"country","value":"India"}],"variable":[]}},"response":[],"_postman_id":"d17f9639-c676-4ae7-b2a5-883f546b5686"},{"name":"Search Offers 2 - mandatory + optional fields","id":"7e855491-4232-4563-868b-33f2b62f70fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/?post_type=sell&commodity=Cotton&variety=Bunny&place=Guntur&state=Andhra Pradesh&country=India&crop_year=2019&contract_type=cash&freight=pick_up&special_quality=organic","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[{"key":"post_type","value":"sell"},{"key":"commodity","value":"Cotton"},{"key":"variety","value":"Bunny"},{"key":"place","value":"Guntur"},{"key":"state","value":"Andhra Pradesh"},{"key":"country","value":"India"},{"key":"crop_year","value":"2019"},{"key":"contract_type","value":"cash"},{"key":"freight","value":"pick_up"},{"key":"special_quality","value":"organic"}],"variable":[]}},"response":[],"_postman_id":"7e855491-4232-4563-868b-33f2b62f70fb"},{"name":"Search Offers 2 - mandatory + optional fields - Logged in","id":"99689958-df87-4627-95b6-700f6ca48752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Token {{token}}","type":"text"}],"url":"{{host}}/markethub/offers/?post_type=sell&commodity=Cotton&variety=Bunny&place=Guntur&state=Andhra Pradesh&country=India&crop_year=2019&contract_type=cash&freight=pick_up&special_quality=organic&page=1","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[{"key":"post_type","value":"sell"},{"key":"commodity","value":"Cotton"},{"key":"variety","value":"Bunny"},{"key":"place","value":"Guntur"},{"key":"state","value":"Andhra Pradesh"},{"key":"country","value":"India"},{"key":"crop_year","value":"2019"},{"key":"contract_type","value":"cash"},{"key":"freight","value":"pick_up"},{"key":"special_quality","value":"organic"},{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"99689958-df87-4627-95b6-700f6ca48752"},{"name":"Get all Offers - No Search Filters","id":"76346260-62fa-4afe-bfba-469e15da1a86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{host}}/markethub/offers/","description":"<p><strong>This API Night not me Neewd</strong> </p>\n<p><strong>Need to Analyze the use of it</strong></p>\n","urlObject":{"path":["markethub","offers",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76346260-62fa-4afe-bfba-469e15da1a86"}],"id":"193e61da-585c-4e7c-a8a5-84a6559b8d5c","description":"<h5 id=\"different-search-parameters\">Different Search Parameters</h5>\n<p><strong>post_type</strong> : Post Type</p>\n<ul>\n<li>sell : FOR SALE</li>\n<li>buy : WANTED</li>\n<li>both : FOR SALE and WANTED</li>\n</ul>\n<p><strong>commodity</strong> : Commodity\nThis comes from <code>/initialize</code> API</p>\n<p><strong>location</strong> : Location JSON for <code>freight</code> (atleast one of below is needed)</p>\n<ul>\n<li>place</li>\n<li>state</li>\n<li>country</li>\n</ul>\n<p>**variety **: Commodity Variety (optional)\nThis comes from <code>/initialize</code> API</p>\n<p><strong>quality_grade</strong> : Quality Range Grade (optional)</p>\n<ul>\n<li>range1 : Range 1</li>\n<li>range2 : Range 2</li>\n<li>range3 : Range 3</li>\n<li>animal_feed : Animal Feed Grade</li>\n</ul>\n<p><strong>crop_year</strong> : Crop Year (optional)\nYear</p>\n<p><strong>movement_year</strong> : Movement Year (optional)\nYear</p>\n<p><strong>freight</strong> : Freight Type (optional)</p>\n<ul>\n<li>pick_up : Pick Up At</li>\n<li>delivery : Delivered To</li>\n<li>warehouse_storage : In Warehouse</li>\n</ul>\n<p><strong>contract_type</strong> : Contract Type (optional)</p>\n<ul>\n<li>cash : Cash</li>\n<li>futures : Futures</li>\n<li>options : Options</li>\n<li>basis : Basis</li>\n</ul>\n<p><strong>special_quality</strong> : Special Quality (optional)</p>\n<ul>\n<li>organic : Organic</li>\n<li>non_gmo : Non-GMO</li>\n<li>ip : Identity Preserved</li>\n</ul>\n<p><strong>Mandatory Fields</strong></p>\n<ul>\n<li>Post Type</li>\n<li>Commodity</li>\n<li>Place (atleast city, State, Country)</li>\n</ul>\n<p><strong>Optioanal Fileds in combination with Above</strong></p>\n<ul>\n<li>Variety</li>\n<li>Grade</li>\n<li>Crop Year</li>\n<li>Special Quality</li>\n<li>Freight</li>\n<li>Contract Type</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"76916743-0db9-45da-bb32-d4e96d29f612","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f8bcc982-7de2-4357-969d-1267748146ab","type":"text/javascript","exec":[""]}}],"_postman_id":"193e61da-585c-4e7c-a8a5-84a6559b8d5c"},{"name":"Negotiation","item":[{"name":"My Negotiations","item":[{"name":"Get Negotiations for a User - All","id":"df49ca41-0cd4-422f-987b-f3b6823cc94d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/negotiate/mynegotiations?list=all","urlObject":{"path":["markethub","offers","negotiate","mynegotiations"],"host":["{{host}}"],"query":[{"key":"list","value":"all"}],"variable":[]}},"response":[],"_postman_id":"df49ca41-0cd4-422f-987b-f3b6823cc94d"},{"name":"Get Negotiations for a User - Only Open","id":"9ea18d74-bf05-4f1a-8356-3883df5187b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/negotiate/mynegotiations?list=open","urlObject":{"path":["markethub","offers","negotiate","mynegotiations"],"host":["{{host}}"],"query":[{"key":"list","value":"open"}],"variable":[]}},"response":[],"_postman_id":"9ea18d74-bf05-4f1a-8356-3883df5187b8"},{"name":"Get Negotiations for a User - Only Closed/Ended","id":"ebc9c212-4c26-45ce-af96-a7ed3339d062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/negotiate/mynegotiations?list=closed","urlObject":{"path":["markethub","offers","negotiate","mynegotiations"],"host":["{{host}}"],"query":[{"key":"list","value":"closed"}],"variable":[]}},"response":[],"_postman_id":"ebc9c212-4c26-45ce-af96-a7ed3339d062"}],"id":"7bfb765f-25d8-4558-b2bb-3e214b42ef7a","_postman_id":"7bfb765f-25d8-4558-b2bb-3e214b42ef7a","description":""},{"name":"Start a Negotiation Discussion on a Post","id":"bca1ee4b-d22e-4376-8fc6-8a494dac06a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/open","description":"<ul>\n<li>only other users can open a negotiation on a post other than posted users </li>\n<li>if same user try to create a negotiation, we need to return graceful alert message</li>\n<li>UI Routing will be like \n/markethub/offers/{{PostID}}/negotiate</li>\n<li>we dont need to return user details at all (like name, address , etc)</li>\n<li>once negotiation is started on a post it can not be edited; user need to repost and delete old post</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","open"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bca1ee4b-d22e-4376-8fc6-8a494dac06a2"},{"name":"End a Negotiation Discussion on a Post","id":"142ee102-b5f4-422e-8639-50d736595480","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"ending_reason_code\": 1,\n\t\"room_name\": \"room_10db841e-13b0-46eb-a375-923a19084004\"\n}"},"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/end","description":"<ul>\n<li>End negotiation will set the negotiation to ended</li>\n<li>ui needs to shoe disabled chat for ended negotiations in a negotiaton room</li>\n<li>buyer / seller can end the negotiation by providing a resons like (cant agree on price, no delivery, etc a selected list of options)</li>\n<li>users will not be able to reopen the negotiation room - if they do it we need to return a alert message</li>\n<li>if a post is deleted, we need to mark all negotiation as ended with reason code : post deleted by user</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","end"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"142ee102-b5f4-422e-8639-50d736595480"},{"name":"Get Negotiation Room IDs for a Post - All","id":"2dc93afe-b934-43fc-af9c-d56c68274842","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/room/details","description":"<ul>\n<li>list negotiation room for a post ti initiate websocket chat</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","room","details"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dc93afe-b934-43fc-af9c-d56c68274842"},{"name":"Get Negotiation Room IDs for a Post - Only Open","id":"6012f6ea-97e5-4a12-b2db-bbfd063f03a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/room/details?list=open","description":"<ul>\n<li>list negotiation room for a post ti initiate websocket chat</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","room","details"],"host":["{{host}}"],"query":[{"key":"list","value":"open"}],"variable":[]}},"response":[],"_postman_id":"6012f6ea-97e5-4a12-b2db-bbfd063f03a6"},{"name":"Get Negotiation Room IDs for a Post - Only Closed","id":"876329d3-fed6-4ce2-ba63-9a9ffdebb476","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/room/details?list=closed","description":"<ul>\n<li>list negotiation room for a post ti initiate websocket chat</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","room","details"],"host":["{{host}}"],"query":[{"key":"list","value":"closed"}],"variable":[]}},"response":[],"_postman_id":"876329d3-fed6-4ce2-ba63-9a9ffdebb476"},{"name":"Get Previous Messages in a Negotiation Room for a Post","id":"763f304c-375b-44b0-bd6f-a94e0959bb82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/messages/{{room_id}}?sortby=-timestamp","description":"<ul>\n<li>to get all previous chat messages if a user chats previously</li>\n<li>this is only between buyer and seller (one to one)</li>\n<li><code>/end-point/?sortby=-timestamp</code></li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","messages","{{room_id}}"],"host":["{{host}}"],"query":[{"key":"sortby","value":"-timestamp"}],"variable":[]}},"response":[],"_postman_id":"763f304c-375b-44b0-bd6f-a94e0959bb82"},{"name":"Create Formal Offer","id":"dd5233e7-45fb-4542-812e-2a6e01e384ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"movement_year\": 2019,\n    \"movement_period\": \"Q3\",\n    \"contract_type\": \"cash\",\n    \"quantity\": 10,\n    \"asking_price\": 100,\n    \"payment_terms\": \"instant_deposit\"\n}"},"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/offer/formal/{{room_id}}","description":"<ul>\n<li>send a formal offer on price, quantity, and few other fields</li>\n<li>no need to save all other details</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","offer","formal","{{room_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd5233e7-45fb-4542-812e-2a6e01e384ae"},{"name":"Create a Counter Formal Offer","id":"8488a698-3b83-466c-a788-d9b6c32a8945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"movement_year\": 2019,\n    \"movement_period\": \"Q4\",\n    \"contract_type\": \"cash\",\n    \"quantity\": 100,\n    \"asking_price\": 100,\n    \"payment_terms\": \"instant_deposit\"\n}"},"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/offer/counter/{{room_id}}","description":"<ul>\n<li>send a formal offer on price, quantity, and few other fields</li>\n<li>no need to save all other details</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","offer","counter","{{room_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8488a698-3b83-466c-a788-d9b6c32a8945"},{"name":"Accept Offer Directly - Deal Done","id":"b3572a6d-691e-4ad2-b053-00a57e45258b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"room_id\": \"{{room_id}}\"\n}"},"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/offer/accept","description":"<ul>\n<li>The Offer posted has been accepted directly without exchnaging counter/formal offers and you've finalized a deal. Great! </li>\n<li>Accepting an Offer by Buyer / Seller will close all other negotiations in a room for that post from other users</li>\n<li>all other negotiation will be ended, only agreed buyer and seller can still talk in that room</li>\n<li>it will mark the original offer as deal complted for that post and this post will not appear in search anymore</li>\n<li>if any user try to open a negotiation on Accepted offer Post, a graceful message needs to be returned</li>\n<li>Once a deal has formally been agreed to, contact information of the user you are dealing with will be made available to you, and your information available to them.</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","offer","accept"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3572a6d-691e-4ad2-b053-00a57e45258b"},{"name":"Accept Formal or Counter Offer - Deal Done","id":"87f605ff-0b45-4c16-8327-24677f097c27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"formal_counter_offer_id\": 7,\n\t\"room_id\": \"{{room_id}}\"\n}"},"url":"{{host}}/markethub/offers/{{offer_id}}/negotiate/offer/accept","description":"<ul>\n<li>The Formal Offer has been accepted and you've finalized a deal. Great! </li>\n<li>Accepting an Offer by Buyer / Seller will close all other negotiations in a room for that post from other users</li>\n<li>all other negotiation will be ended, only agreed buyer and seller can still talk in that room</li>\n<li>it will mark the original offer as deal complted for that post and this post will not appear in search anymore</li>\n<li>if any user try to open a negotiation on Accepted offer Post, a graceful message needs to be returned</li>\n<li>Once a deal has formally been agreed to, contact information of the user you are dealing with will be made available to you, and your information available to them.</li>\n</ul>\n","urlObject":{"path":["markethub","offers","{{offer_id}}","negotiate","offer","accept"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"87f605ff-0b45-4c16-8327-24677f097c27"},{"name":"[Web Socket] : Negotiation Chat Messages in a Room for a Post","id":"323a63a9-d4f7-47a5-ac97-de3832b24364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"ws://{{host}}/ws/markethub/offers/{{postID}}/negotiate/{{negotiation_room}}/","description":"<ul>\n<li>this is used for sending messages realtime between two user in that negotiation room</li>\n</ul>\n<p>Update the uri path from ws://{{host}}/ws/chat//{{negotiation_room}}/</p>\n<p>to </p>\n<p>ws://{{host}}/ws/markethub/offers/{{postID}}/negotiate/{{negotiation_room}}/</p>\n","urlObject":{"protocol":"ws","path":["ws","markethub","offers","{{postID}}","negotiate","{{negotiation_room}}",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"323a63a9-d4f7-47a5-ac97-de3832b24364"}],"id":"a49e3a67-2a30-4fdf-a74d-526ee1bc0cb5","description":"<ol>\n<li>Starting Negotiations and Responding to Messages</li>\n<li>Manage Negotiations</li>\n<li>Make or Counter a Formal Offer</li>\n<li>Accept a Formal Offer</li>\n<li></li>\n</ol>\n","event":[{"listen":"prerequest","script":{"id":"c241e1fb-6ded-4188-8db4-72df85afeadc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e81bbb0d-5b30-445b-854b-36427fdbc5c2","type":"text/javascript","exec":[""]}}],"_postman_id":"a49e3a67-2a30-4fdf-a74d-526ee1bc0cb5"},{"name":"Feedback and Ratings","item":[{"name":"Account Settings","item":[{"name":"My Pending Reviews","id":"4fa97d4f-a5f4-42c3-8f46-4e18a74f0848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/reviews/pending/","description":"<ul>\n<li>Both Buyer and Seller can provide reviews to each other.</li>\n<li>Only users who participate in a Deal completion should be able to rate/review each other</li>\n<li>API should get the reviewee based on who completed the deal for that post</li>\n</ul>\n","urlObject":{"path":["markethub","reviews","pending",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fa97d4f-a5f4-42c3-8f46-4e18a74f0848"},{"name":"My Trade Stats","id":"1367679f-8b57-4213-b974-b044ca1baa58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/mytradestats/","description":"<ul>\n<li>List of all Commodities that user has bought/sold - total deals completed - \"Status : end and he is the buyer or seller\"  : Commodity name and Total traded in either in MT/QUINTALS</li>\n<li>Total Posts Created</li>\n<li>Total Negotiations participated</li>\n<li>Total Deals Closed (where status of post is end and he is the buyer/seller)</li>\n</ul>\n","urlObject":{"path":["markethub","mytradestats",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1367679f-8b57-4213-b974-b044ca1baa58"},{"name":"Get All Reviews - Public","id":"05c25218-a902-4683-b252-2bf431fafb74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/reviews/","description":"<p>{\n                \"id\": 10,\n                \"rating\": 2.0,\n                \"public_review\": \"hi\",\n                \"reviewer_name\": \"Suri\",\n                \"offer_id\": 10000\n            }</p>\n","urlObject":{"path":["markethub","reviews",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05c25218-a902-4683-b252-2bf431fafb74"},{"name":"Get All Reviews - Private","id":"a09af60c-287e-4e2e-a39d-60dc83dada1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/reviews/?review_type=private","description":"<p>{\n                \"id\": 10,\n                \"rating\": 2.0,\n                \"private_review\": \"hi\",\n                \"reviewer_name\": \"Suri\",\n                \"offer_id\": 10000\n            }</p>\n","urlObject":{"path":["markethub","reviews",""],"host":["{{host}}"],"query":[{"key":"review_type","value":"private"}],"variable":[]}},"response":[],"_postman_id":"a09af60c-287e-4e2e-a39d-60dc83dada1b"},{"name":"Get My Achievements","id":"7fcfcaee-8bcc-4e72-8caf-bcaf379f8e6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/achievements/","description":"<p>Achievements</p>\n<ul>\n<li><p>Early Adopter : Closed atleast one deal in 2019</p>\n</li>\n<li><p>Farmioc MarketHub Supporter: Has posted X tons</p>\n<ul>\n<li>level1 : between 100 to 500 MT</li>\n<li>lavel2 : between 600 to 1000 MT</li>\n</ul>\n</li>\n<li><p>Farmioc MarketHub Deal Maker: Has closed X deals</p>\n<ul>\n<li>level1 : between 1-4 deals</li>\n<li>lavel2 : between 5-9 deals</li>\n</ul>\n</li>\n<li><p>{\"achievements\": [\"Early Adopter\", \"MarketHub Supporter: Level1\", \"MarketHub Deal Maker: Level2\"]}</p>\n</li>\n</ul>\n","urlObject":{"path":["markethub","achievements",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fcfcaee-8bcc-4e72-8caf-bcaf379f8e6f"},{"name":"Get My Badges","id":"daf55654-6c2a-49df-a1a0-fdde81d17acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"url":"{{host}}/markethub/badges/","description":"<ul>\n<li><p>Badges</p>\n<ul>\n<li>Fast Communicator</li>\n<li>Flexible on Movement</li>\n<li>Pricing Expert</li>\n<li>Provided Spec Data</li>\n</ul>\n</li>\n<li><p>{\"badges\": [\"Fast Communicator\", \"Pricing Expert\", \"Provided Spec Data\"]}</p>\n</li>\n</ul>\n","urlObject":{"path":["markethub","badges",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"daf55654-6c2a-49df-a1a0-fdde81d17acf"}],"id":"049d3a65-df2f-4a13-bc8c-e05c9287ea07","_postman_id":"049d3a65-df2f-4a13-bc8c-e05c9287ea07","description":""},{"name":"Write Review","id":"6d10c4c7-4f70-4cba-8249-a95082e9b744","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":" Token {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"post\":10019,\n    \"rating\":2,\n    \"public_review\":\"Very good Negotiation\",\n    \"private_review\":\"Very good Negotiation\",\n    \"badges\": [1, 2, 3],\n    \"nve_badges\": [1, 2, 3]\n}"},"url":"{{host}}/markethub/review/","description":"<ul>\n<li><p>Both Buyer and Seller can provide reviews to each other.</p>\n</li>\n<li><p>Only users who participate in a Deal completion should be able to rate/review each other</p>\n</li>\n<li><p>API should get the reviewee based on who completed the deal for that post</p>\n</li>\n<li><p>User can provide both private and public review</p>\n</li>\n<li><p>Badges</p>\n<ul>\n<li>Fast Communicator</li>\n<li>Flexible on Movement</li>\n<li>Pricing Expert</li>\n<li>Provided Spec Data</li>\n</ul>\n</li>\n<li><p>Negative Badges</p>\n<ul>\n<li>Slow Communicator</li>\n<li>Not Flexible on Movement</li>\n<li>No Spec Data</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["markethub","review",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d10c4c7-4f70-4cba-8249-a95082e9b744"}],"id":"229e1e58-ba09-42b0-9454-595765fa3696","_postman_id":"229e1e58-ba09-42b0-9454-595765fa3696","description":""}],"id":"0073a815-4e03-4be0-a817-e9b22a56785e","event":[{"listen":"prerequest","script":{"id":"b8d5c2e3-da8d-4223-a1ef-a601dd2623d2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"27374f1a-a278-407c-bf92-916cf29ea676","type":"text/javascript","exec":[""]}}],"_postman_id":"0073a815-4e03-4be0-a817-e9b22a56785e","description":""},{"name":"Contact Us","item":[{"name":"ContactUs","id":"72a895ce-d20f-4aa4-8772-15fe1d073d2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Suri\",\n\t\"last_name\": \"Nuthalapati\",\n\t\"email\": \"findsbn@gmail.com\",\n\t\"subject\": \"Need to Purchase Subscriptions\",\n\t\"message\": \"What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription...What is the price for Yearly subscription... \",\n\t\"phone_number\": \"+919492903440\"\n}"},"url":"{{host}}/contact-us/","urlObject":{"path":["contact-us",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72a895ce-d20f-4aa4-8772-15fe1d073d2a"},{"name":"Subscribe","id":"4d63879d-c3d3-4e16-8e13-8934135bac33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"findsbn@gmail.com\"\n}"},"url":"{{host}}/subscribe/","urlObject":{"path":["subscribe",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d63879d-c3d3-4e16-8e13-8934135bac33"},{"name":"Unubscribe","id":"509560cb-9be1-480e-b0eb-ff68c539bc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"findsbn@gmail.com\"\n}"},"url":"{{host}}/unsubscribe?email=farmiocs@gmail.com","urlObject":{"path":["unsubscribe"],"host":["{{host}}"],"query":[{"key":"email","value":"farmiocs@gmail.com"}],"variable":[]}},"response":[],"_postman_id":"509560cb-9be1-480e-b0eb-ff68c539bc9d"}],"id":"840d7f30-7d94-4db9-93fc-6dc174360bc8","event":[{"listen":"prerequest","script":{"id":"fda1fcf7-5d85-4760-a3d2-8f49cbfcaf5c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"91ca24d2-b66b-4d32-bb92-52661ea9fc2e","type":"text/javascript","exec":[""]}}],"_postman_id":"840d7f30-7d94-4db9-93fc-6dc174360bc8","description":""}],"event":[{"listen":"prerequest","script":{"id":"f70ed613-70ee-46f2-bc3c-9c7f65a68b6e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7a0e83d2-c92c-44f1-8108-2df47c603d77","type":"text/javascript","exec":[""]}}]}