{"info":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","description":"<html><head></head><body><p>You will known about how to authorize and manage data of user.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1457513","collectionId":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","publishedId":"S17owpY8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-18T18:19:30.000Z"},"item":[{"name":"Signup","id":"d8b82757-6ad4-44ac-8815-4cb39c0b780b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"test\",\n\t\"password\": \"hello-world\",\n\t\"name\": \"john doe\",\n\t\"nickname\": \"john\",\n\t\"organization\": \"foo\",\n\t\"national_code\": null,\n\t\"email\": \"user@host.com\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"fax\": \"02100000000\",\n\t\"website\": \"www.domain.ir\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"referrer\": \"google\",\n\t\"biography\": \"im dummy person\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/signup","description":"<p>Public signup endpoint for visitors.</p>\n","urlObject":{"path":["site","api","v1","user","signup"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"d28211b8-9620-404d-a358-a4411c4969ee","name":"Signup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"test\",\n\t\"password\": \"hello-world\",\n\t\"name\": \"john doe\",\n\t\"nickname\": \"john\",\n\t\"organization\": \"foo\",\n\t\"national_code\": null,\n\t\"email\": \"user@host.com\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"fax\": \"02100000000\",\n\t\"website\": \"www.domain.ir\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"referrer\": \"google\",\n\t\"biography\": \"im dummy person\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Set-Cookie","value":"userauth=5cf9471d86334e3d830bc2e02d9d25c4; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/; HttpOnly"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 12:43:32 GMT"},{"key":"Content-Length","value":"275"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"ثبت\\u200cنام با موفقیت انجام شد. در حال انتقال...\",\n    \"redirect\": \"/\",\n    \"id\": 153912534\n}"}],"_postman_id":"d8b82757-6ad4-44ac-8815-4cb39c0b780b"},{"name":"Create session","id":"864bd116-b095-4034-b798-ac00c36e779c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user\",\n    \"password\": \"hello-world\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/create-session","description":"<p>Generate token based session for authorize requests.</p>\n","urlObject":{"path":["site","api","v1","user","create-session"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"755bbe70-c960-43ea-ac21-8f5a4644f024","name":"Create session","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user\",\n    \"password\": \"hello-world\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/create-session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 12:11:51 GMT"},{"key":"Content-Length","value":"259"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"جلسه با موفقیت ایجاد شد.\",\n    \"token\": \"40947b6f4962469a95c70f59c7c9aab3\"\n}"}],"_postman_id":"864bd116-b095-4034-b798-ac00c36e779c"},{"name":"Info","id":"cae8efa0-f47c-4902-b909-ef360ef7e8c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user","description":"<p>Get basic details of authorized user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"0484d8b5-83d6-492b-b3b9-794f79c59e33","name":"Info","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:10:29 GMT"},{"key":"Content-Length","value":"203"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"user\": {\n        \"id\": 153912526,\n        \"username\": \"user\",\n        \"name\": \"user\",\n        \"nickname\": null,\n        \"credit\": 0,\n        \"avatar\": null\n    }\n}"}],"_postman_id":"cae8efa0-f47c-4902-b909-ef360ef7e8c1"},{"name":"Profile","id":"91e28038-c367-40e9-9670-3f049baefc60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/profile","description":"<p>Get profile info of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","profile"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"e74e9e84-d929-4db2-8359-b8fbc7093b6b","name":"Profile","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:12:23 GMT"},{"key":"Content-Length","value":"303"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"profile\": {\n        \"id\": 153912526,\n        \"hash\": null,\n        \"username\": \"user\",\n        \"name\": \"user\",\n        \"nickname\": null,\n        \"organization\": null,\n        \"email\": null,\n        \"mobile\": null,\n        \"phone\": null,\n        \"fax\": null,\n        \"website\": null,\n        \"national_code\": null,\n        \"country\": null,\n        \"state\": null,\n        \"city\": null,\n        \"zipcode\": null,\n        \"address\": null,\n        \"biography\": null,\n        \"avatar\": null,\n        \"completed\": false\n    }\n}"}],"_postman_id":"91e28038-c367-40e9-9670-3f049baefc60"},{"name":"Update profile","id":"31e5978e-7d15-49c5-a660-aadefdf5c58f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"john\",\n    \"name\": \"john doe\",\n    \"nickname\": null,\n    \"organization\": null,\n    \"email\": null,\n    \"mobile\": null,\n    \"phone\": null,\n    \"fax\": null,\n    \"website\": null,\n    \"national_code\": null,\n    \"country\": null,\n    \"state\": null,\n    \"city\": null,\n    \"zipcode\": null,\n    \"address\": null,\n    \"biography\": null,\n    \"avatar\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/profile","description":"<p>Update profile of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","profile"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"02a33799-24d7-4c85-b985-ca942a0d62e2","name":"Update Profile","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"user\",\n    \"name\": \"user\",\n    \"nickname\": null,\n    \"organization\": null,\n    \"email\": null,\n    \"mobile\": null,\n    \"phone\": null,\n    \"fax\": null,\n    \"website\": null,\n    \"national_code\": null,\n    \"country\": null,\n    \"state\": null,\n    \"city\": null,\n    \"zipcode\": null,\n    \"address\": null,\n    \"biography\": null,\n    \"avatar\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:19:39 GMT"},{"key":"Content-Length","value":"235"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"ذخیره تغییرات با موفقیت انجام شد.\"\n}"}],"_postman_id":"31e5978e-7d15-49c5-a660-aadefdf5c58f"},{"name":"Upload avatar","id":"cec53457-96dd-43e9-ba9f-cf6b5558dc07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"File","type":"file","value":null}]},"url":"https://api.imcloud.org/site/api/v1/user/profile/avatar","description":"<p>Upload an image for save on profile.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","profile","avatar"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"8f3d8baf-aa66-4865-9d74-bfb3eb9cbaf4","name":"Upload avatar","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"File","type":"file"}]},"url":"https://api.imcloud.org/site/api/v1/user/profile/avatar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:31:23 GMT"},{"key":"Content-Length","value":"201"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"path\": \"/site/resources/avatars/8006d85762bf46b4ad99148cd71f20f2.jpg\"\n}"}],"_postman_id":"cec53457-96dd-43e9-ba9f-cf6b5558dc07"},{"name":"Change password","id":"e51efc0c-77a1-448e-9fff-d25a84cd275e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_password\": \"hello-world\",\n\t\"new_password\": \"new-pass-hello-world\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/profile/password","description":"<p>Change profile password of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","profile","password"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"8d1e22eb-1a38-4eff-8896-2a869251fb5a","name":"Change password","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_password\": \"hello-world\",\n\t\"new_password\": \"new-pass-hello-world\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/profile/password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:38:21 GMT"},{"key":"Content-Length","value":"171"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"ذخیره تغییرات با موفقیت انجام شد.\",\n}"}],"_postman_id":"e51efc0c-77a1-448e-9fff-d25a84cd275e"},{"name":"Get documents","id":"4c955069-9cc2-413c-8dd8-ad1613d083b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/documents","description":"<p>Get uploaded documents of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","documents"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"8c7eb1d9-e000-4ea6-b0ff-ca2421fe3870","name":"Get documents","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:51:31 GMT"},{"key":"Content-Length","value":"444"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 1,\n    \"documents\": [\n        {\n            \"id\": 100317663,\n            \"type\": \"national_card\",\n            \"status\": [\n                \"pending\"\n            ],\n            \"description\": null,\n            \"file\": \"/site/resources/documents/443ea82c574f41b38f65eaca909c36ec.jpg\",\n            \"created\": {\n                \"year\": \"1397\",\n                \"month\": \"12\",\n                \"month_name\": \"اسفند\",\n                \"day\": \"27\",\n                \"date\": \"1397/12/27\",\n                \"time\": \"19:17\",\n                \"universal\": \"03/18/2019 19:17:48\",\n                \"subtract\": \"3 دقیقه پیش\",\n                \"past\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"4c955069-9cc2-413c-8dd8-ad1613d083b6"},{"name":"Upload document","id":"41f8f328-7f2e-4fe7-aca9-0c8c8e244842","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"https://api.imcloud.org/site/api/v1/user/documents/file","description":"<p>Upload file for create document.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","documents","file"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"6a1da89f-9fd3-41c8-a96b-4336fdbafebd","name":"Upload document","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"}]},"url":"https://api.imcloud.org/site/api/v1/user/documents/file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:45:38 GMT"},{"key":"Content-Length","value":"202"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"path\": \"/site/resources/documents/443ea82c574f41b38f65eaca909c36ec.jpg\"\n}"}],"_postman_id":"41f8f328-7f2e-4fe7-aca9-0c8c8e244842"},{"name":"Create document","id":"127399de-8ec1-4a7b-b892-8c2e584a3a7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"file\": \"/site/resources/documents/443ea82c574f41b38f65eaca909c36ec.jpg\",\n\t\"type\": \"national_card\",\n\t\"description\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/documents","description":"<p>Create new document for signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","documents"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"57719704-9a1a-4dbd-adaf-b3b70af7cd77","name":"Create document","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"file\": \"/site/resources/documents/443ea82c574f41b38f65eaca909c36ec.jpg\",\n\t\"type\": \"national_card\",\n\t\"description\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 15:52:49 GMT"},{"key":"Content-Length","value":"232"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"مدرک با موفقیت بارگذاری شد.\",\n    \"id\": 100317664\n}"}],"_postman_id":"127399de-8ec1-4a7b-b892-8c2e584a3a7e"},{"name":"Delete document","id":"02185ede-ec3d-4759-adb8-8c17811c1e19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.imcloud.org/site/api/v1/user/documents/:id","description":"<p>Delete requested documents of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","documents",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"c279a1e2-68fe-451d-9db8-2173c2204704","name":"Delete document","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.imcloud.org/site/api/v1/user/documents/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","documents",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 16:51:53 GMT"},{"key":"Content-Length","value":"185"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"مدرک حذف شد.\"\n}"}],"_postman_id":"02185ede-ec3d-4759-adb8-8c17811c1e19"},{"name":"Get contacts","id":"b52c8aca-a8a3-454e-9d92-178a23ce3e16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/contacts","description":"<p>Get all contacts of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","contacts"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"eaa8dd51-6ac0-4f54-bb5f-af16b87a5e7d","name":"Get contacts","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:28:39 GMT"},{"key":"Content-Length","value":"347"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 1,\n    \"contactes\": [\n        {\n            \"id\": 100048645,\n            \"name\": \"john doe\",\n            \"mobile\": \"09120000012\",\n            \"phone\": \"02100000000\",\n            \"email\": \"user@host.com\",\n            \"country\": {\n                \"id\": 100000103,\n                \"name\": \"ایران\"\n            },\n            \"state\": {\n                \"id\": 100004152,\n                \"name\": \"تهران\"\n            },\n            \"city\": {\n                \"id\": 100048644,\n                \"name\": \"تهران\"\n            },\n            \"zipcode\": \"00000\",\n            \"address\": \"no 1, street 2\",\n            \"latitude\": null,\n            \"longitude\": null\n        }\n    ]\n}"}],"_postman_id":"b52c8aca-a8a3-454e-9d92-178a23ce3e16"},{"name":"Create contact","id":"e6deb7ca-e8c5-4cca-b6a1-b8f0aabd9f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"john doe\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"email\": \"user@host.com\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"latitude\": null,\n\t\"longitude\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/contacts","description":"<p>Create new contact info for signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","contacts"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"512b8f49-91b6-428c-8bf4-ff7686e2325b","name":"Create contact","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"john doe\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"email\": \"user@host.com\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"latitude\": null,\n\t\"longitude\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/contacts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:02:47 GMT"},{"key":"Content-Length","value":"240"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"اطلاعات تماس با موفقیت ایجاد شد.\",\n    \"id\": 100048645\n}"}],"_postman_id":"e6deb7ca-e8c5-4cca-b6a1-b8f0aabd9f8d"},{"name":"Update contact","id":"bdcebddb-2401-4da9-b19f-e5db93e4f911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"john doe\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"email\": \"user@host.com\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"latitude\": null,\n\t\"longitude\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/contacts/:id","description":"<p>Update info of contact requested.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","contacts",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"f3807462-8140-4c60-a6e3-176e14c3ca47","name":"Update contact","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"john doe\",\n\t\"mobile\": \"09120000012\",\n\t\"phone\": \"02100000000\",\n\t\"email\": \"user@host.com\",\n\t\"country_id\": 100000103,\n\t\"state_id\": 100004152,\n\t\"city_id\": 100048644,\n\t\"zipcode\": \"00000\",\n\t\"address\": \"no 1, street 2\",\n\t\"latitude\": null,\n\t\"longitude\": null\n}"},"url":{"raw":"https://api.imcloud.org/site/api/v1/user/contacts/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","contacts",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:05:29 GMT"},{"key":"Content-Length","value":"235"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"ذخیره تغییرات با موفقیت انجام شد.\"\n}"}],"_postman_id":"bdcebddb-2401-4da9-b19f-e5db93e4f911"},{"name":"Delete contact","id":"312700fe-162d-4e78-b179-1725df5be2e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.imcloud.org/site/api/v1/user/contacts/:id","description":"<p>Delete requested contact from signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","contacts",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"31142e9a-de04-4412-b981-af6c798a6f8b","name":"Delete contact","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.imcloud.org/site/api/v1/user/contacts/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","contacts",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:07:20 GMT"},{"key":"Content-Length","value":"185"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"مورد حذف شد.\"\n}"}],"_postman_id":"312700fe-162d-4e78-b179-1725df5be2e3"},{"name":"Get wishes","id":"12c32b9c-171c-42ef-86ca-bbc4dcfa431e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/wishes","description":"<p>Get user marked pages, posts and products on wishlist.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","wishes"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"1da01b00-0195-497f-ac70-d5a0c311788b","name":"Get wishes","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/wishes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:39:20 GMT"},{"key":"Content-Length","value":"938"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 1,\n    \"wishes\": [\n        {\n            \"id\": 118398263,\n            \"page\": {\n                \"id\": 148773928,\n                \"title\": \"دوربین دیجیتال کانن مدل EOS 5D Mark IV به همراه لنز 24-105 میلی متر F4 L IS II\",\n                \"type\": \"product\",\n                \"description\": \"مدل &laquo;EOS 5D Mark IV&raquo; از دوربین&zwnj;های DSLR کمپانی &laquo;کانن&raquo; (Canon) است. مهم&zwnj;ترین تغییرات EOS 5D Mark IV &nbsp;را در مقایسه با نسل&zwnj;های قبلی&zwnj;اش می&zwnj;توان در وضوح&zwnj; تصویر 30 مگاپیکسلی سنسور، پردازنده&zwnj;ی نسل جدید &nbsp;DIGIC 6+، فناوری فوکوس خودکار Dual Pixel و در نهایت ضبط&zwnj;کردن فیلم با وضوح 4K خلاصه کرد.\",\n                \"image\": \"/uploads/products/a3b592.jpg\",\n                \"compare_price\": null,\n                \"price\": 18890000,\n                \"url\": \"/cannon-5d-mark-iv\"\n            },\n            \"created\": {\n                \"year\": \"1397\",\n                \"month\": \"12\",\n                \"month_name\": \"اسفند\",\n                \"day\": \"27\",\n                \"date\": \"1397/12/27\",\n                \"time\": \"21:08\",\n                \"universal\": \"03/18/2019 21:08:20\",\n                \"subtract\": \"چند لحظه پیش\",\n                \"past\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"12c32b9c-171c-42ef-86ca-bbc4dcfa431e"},{"name":"Create wish","id":"7f34c8dd-7d3f-436f-9087-3386651c228f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"page_id\": 148773928\n}"},"url":"https://api.imcloud.org/site/api/v1/user/wishes","description":"<p>Mark and entity such as page, post and product for wishlist.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","wishes"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"11c1ff4c-b2b2-4a81-8e68-634bcf97246d","name":"Create wish","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"page_id\": 148773928\n}"},"url":"https://api.imcloud.org/site/api/v1/user/wishes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:38:20 GMT"},{"key":"Content-Length","value":"284"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"گزینه انتخاب شده به فهرست علاقه\\u200cمندی\\u200cها اضافه شد.\",\n    \"id\": 118398263\n}"}],"_postman_id":"7f34c8dd-7d3f-436f-9087-3386651c228f"},{"name":"Delete wish","id":"82e05c7c-59fa-4bab-8fff-257bc4af7614","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.imcloud.org/site/api/v1/user/wishes/:id","description":"<p>Delete requested wish from wishlist of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","wishes",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"2641e5be-32d2-4a2f-8cba-b25a7c91f4bf","name":"Delete wish","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.imcloud.org/site/api/v1/user/wishes/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","wishes",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:41:24 GMT"},{"key":"Content-Length","value":"185"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"مورد حذف شد.\"\n}"}],"_postman_id":"82e05c7c-59fa-4bab-8fff-257bc4af7614"},{"name":"Get tickets","id":"7b5c1d16-901c-4733-9c71-ecdd76550d40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/tickets","description":"<p>Get all tickets created by signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","tickets"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b5c1d16-901c-4733-9c71-ecdd76550d40"},{"name":"Get single ticket","id":"c714a35a-495e-4a19-b646-8fe51f61457d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/tickets/:id","description":"<p>Get full details of requested ticket.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","tickets",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c714a35a-495e-4a19-b646-8fe51f61457d"},{"name":"Create ticket","id":"3b02a3fe-778f-4c5a-a44f-78ca7e87f611","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"subject\": \"hello world\",\n\t\"category\": \"suggestions\",\n\t\"priority\": \"high\",\n\t\"body\": \"please call me back as soon as possible.\",\n\t\"attachment\": \"/site/resources/tickets/0971e8f9a1e949978bede05265e346a5.jpg\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/tickets","description":"<p>Create ticket with signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","tickets"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"6486ff3c-2280-4a77-b1cd-c89376a7d393","name":"Create ticket","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"subject\": \"hello world\",\n\t\"category\": \"suggestions\",\n\t\"priority\": \"high\",\n\t\"body\": \"please call me back as soon as possible.\",\n\t\"attachment\": \"/site/resources/tickets/0971e8f9a1e949978bede05265e346a5.jpg\"\n}"},"url":"https://api.imcloud.org/site/api/v1/user/tickets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:50:15 GMT"},{"key":"Content-Length","value":"256"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"درخواست پشتیبانی با موفقیت ایجاد شد.\",\n    \"id\": 109829225\n}"}],"_postman_id":"3b02a3fe-778f-4c5a-a44f-78ca7e87f611"},{"name":"Reply ticket","id":"3a96b7ea-87aa-4869-9678-9086a4d6f73b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"body\": \"thank you.\",\n\t\"attachment\": null\n}"},"url":"https://api.imcloud.org/site/api/v1/user/tickets/:id","description":"<p>Send an reply to requested ticket.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","tickets",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"ab635e7d-54b7-48c3-86aa-de796ca8110d","name":"Reply ticket","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"body\": \"thank you.\",\n\t\"attachment\": null\n}"},"url":{"raw":"https://api.imcloud.org/site/api/v1/user/tickets/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","tickets",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:51:51 GMT"},{"key":"Content-Length","value":"230"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"description\": \"پاسخ با موفقیت ارسال شد.\",\n    \"id\": 109829225\n}"}],"_postman_id":"3a96b7ea-87aa-4869-9678-9086a4d6f73b"},{"name":"Upload ticket attachment","id":"36b60242-4d2e-416c-b878-e1882ccff73d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"https://api.imcloud.org/site/api/v1/user/tickets/file","description":"<p>Upload an document or image file for attach on new ticket or replies.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","tickets","file"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"e1a4699a-d1b4-402b-a455-cbd79b3ca123","name":"Upload ticket attachment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"}]},"url":"https://api.imcloud.org/site/api/v1/user/tickets/file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:49:47 GMT"},{"key":"Content-Length","value":"201"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"path\": \"/site/resources/tickets/0971e8f9a1e949978bede05265e346a5.jpg\"\n}"}],"_postman_id":"36b60242-4d2e-416c-b878-e1882ccff73d"},{"name":"Get orders","id":"cbde5203-a6f8-4061-9d78-d982a49ed451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/store/orders?page=1&size=10&status&payment&label_id&ip&keywords","description":"<p>Get orders info of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","store","orders"],"host":["https://api.imcloud.org"],"query":[{"key":"page","value":"1"},{"key":"size","value":"10"},{"key":"status","value":null},{"key":"payment","value":null},{"key":"label_id","value":null},{"key":"ip","value":null},{"key":"keywords","value":null}],"variable":[]}},"response":[{"id":"7e078910-35bd-44e1-b36a-7f0b35cda7ec","name":"Get orders","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.imcloud.org/site/api/v1/user/store/orders?page=1&size=10&status&payment&label_id&ip&keywords","host":["https://api.imcloud.org"],"path":["site","api","v1","user","store","orders"],"query":[{"key":"page","value":"1"},{"key":"size","value":"10"},{"key":"status","value":null},{"key":"payment","value":null},{"key":"label_id","value":null},{"key":"ip","value":null},{"key":"keywords","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 18:01:41 GMT"},{"key":"Content-Length","value":"531"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"total\": 1,\n    \"count\": 1,\n    \"orders\": [\n        {\n            \"id\": 138978919,\n            \"status\": [\n                \"unfulfilled\",\n                \"unpaid\",\n                \"shipping_required\",\n                \"manual_discounting\"\n            ],\n            \"quantity\": 1,\n            \"weight\": 0,\n            \"shipping\": 0,\n            \"subtotal\": 52000,\n            \"discount\": 0,\n            \"tax\": 0,\n            \"price\": 52000,\n            \"payments\": 1,\n            \"url\": \"/site/cart/payment?token=y%2BNCDJEXqC65s4hDFPzp2g%3D%3D\",\n            \"created\": {\n                \"year\": \"1397\",\n                \"month\": \"12\",\n                \"month_name\": \"اسفند\",\n                \"day\": \"27\",\n                \"date\": \"1397/12/27\",\n                \"time\": \"21:30\",\n                \"universal\": \"03/18/2019 21:30:37\",\n                \"subtract\": \"1 دقیقه پیش\",\n                \"past\": true\n            },\n            \"due_date\": null,\n            \"delivery\": null,\n            \"updated\": null\n        }\n    ]\n}"}],"_postman_id":"cbde5203-a6f8-4061-9d78-d982a49ed451"},{"name":"Get downloadable orders","id":"cc20c1e2-e079-469c-b163-5b0207d0dd7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/store/orders/download","description":"<p>Get download link of approved orders (files).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","store","orders","download"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"a14f3b12-2d6d-4d5b-ad51-b3f4f2ac3b0d","name":"Get downloadable orders","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/store/orders/download"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 18:12:07 GMT"},{"key":"Content-Length","value":"304"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"total\": 0,\n    \"count\": 1,\n    \"attachments\": [\n        {\n            \"id\": 101146408,\n            \"title\": \"نمونه محصول دانلودی\",\n            \"attachment\": \"/site/download?token=u2IcaWBd2Z8hUUM4fV0670SwIUZPoUuY\"\n        }\n    ]\n}"}],"_postman_id":"cc20c1e2-e079-469c-b163-5b0207d0dd7f"},{"name":"Get single order","id":"e0273c48-2732-445f-ac40-331ea4b93264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/store/orders/:id","description":"<p>Get details of requested order from orders of signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","store","orders",":id"],"host":["https://api.imcloud.org"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"a2eaf50c-3980-4a4f-b3c4-5ace7c187085","name":"Get single order","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.imcloud.org/site/api/v1/user/store/orders/:id","host":["https://api.imcloud.org"],"path":["site","api","v1","user","store","orders",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 18:03:10 GMT"},{"key":"Content-Length","value":"1109"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"order\": {\n        \"id\": 138978919,\n        \"status\": [\n            \"unfulfilled\",\n            \"unpaid\",\n            \"shipping_required\",\n            \"manual_discounting\"\n        ],\n        \"quantity\": 1,\n        \"weight\": 0,\n        \"shipping\": 0,\n        \"subtotal\": 52000,\n        \"discount\": 0,\n        \"tax\": 0,\n        \"price\": 52000,\n        \"remaining_price\": 52000,\n        \"url\": \"/site/cart/payment?token=y%2BNCDJEXqC65s4hDFPzp2g%3D%3D\",\n        \"contact\": {\n            \"name\": \"آقای تست\",\n            \"mobile\": \"09120000012\",\n            \"phone\": null,\n            \"email\": \"info@domain.ir\",\n            \"country\": {\n                \"id\": 100000103,\n                \"name\": \"ایران\"\n            },\n            \"state\": {\n                \"id\": 100004152,\n                \"name\": \"تهران\"\n            },\n            \"city\": {\n                \"id\": 100048644,\n                \"name\": \"تهران\"\n            },\n            \"zipcode\": \"7894576893\",\n            \"address\": \"خیابان ساختگی، کوچه ساختگی، ساختمان ساختگی، واحد 00\",\n            \"latitude\": null,\n            \"longitude\": null\n        },\n        \"items\": [\n            {\n                \"product_id\": 101146223,\n                \"title\": \"تی شرت نخی یقه گرد مردانه - اس اولیور - سفید\\r\\nسایز: Medium\",\n                \"price\": 52000,\n                \"quantity\": 1,\n                \"weight\": null,\n                \"shipping\": null,\n                \"discount\": null,\n                \"attachment\": null,\n                \"tax\": null\n            }\n        ],\n        \"coupons\": null,\n        \"shipments\": null,\n        \"payments\": [\n            {\n                \"id\": 100108120,\n                \"description\": null,\n                \"reference_id\": \"0000\",\n                \"type\": \"bank\",\n                \"status\": [\n                    \"pending\"\n                ],\n                \"sub_status\": null,\n                \"amount\": 52000,\n                \"created\": {\n                    \"year\": \"1397\",\n                    \"month\": \"12\",\n                    \"month_name\": \"اسفند\",\n                    \"day\": \"27\",\n                    \"date\": \"1397/12/27\",\n                    \"time\": \"21:31\",\n                    \"universal\": \"03/18/2019 21:31:39\",\n                    \"subtract\": \"1 دقیقه پیش\",\n                    \"past\": true\n                },\n                \"gateway\": {\n                    \"id\": 198876252,\n                    \"title\": \"بانک ملت\",\n                    \"type\": \"bank\",\n                    \"owner\": \"آقای تست\"\n                }\n            }\n        ],\n        \"created\": {\n            \"year\": \"1397\",\n            \"month\": \"12\",\n            \"month_name\": \"اسفند\",\n            \"day\": \"27\",\n            \"date\": \"1397/12/27\",\n            \"time\": \"21:30\",\n            \"universal\": \"03/18/2019 21:30:37\",\n            \"subtract\": \"2 دقیقه پیش\",\n            \"past\": true\n        },\n        \"due_date\": null,\n        \"delivery\": null,\n        \"updated\": null,\n        \"payment\": {\n            \"enabled\": true,\n            \"bank\": true,\n            \"online\": true,\n            \"cash_on_delivery\": true,\n            \"wallet\": false\n        }\n    }\n}"}],"_postman_id":"e0273c48-2732-445f-ac40-331ea4b93264"},{"name":"Get gateways status","id":"ad6b099b-fe2b-4948-872b-8155da259f21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways/status","description":"<p>Get payment methods for signed user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","gateways","status"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"eee525b2-87fe-4035-a4f4-7b201292e85e","name":"Get gateways status","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:19:30 GMT"},{"key":"Content-Length","value":"149"}],"cookie":[],"responseTime":null,"body":"{\n    \"bank\": true,\n    \"online\": true,\n    \"success\": true\n}"}],"_postman_id":"ad6b099b-fe2b-4948-872b-8155da259f21"},{"name":"Get bank gateways","id":"d10585a9-19f5-4811-b919-f81f76efae93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways","description":"<p>Get bank accounts info for offline payments.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","gateways"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"af8fbee7-4a0f-484f-9bd9-bac35e3bfa87","name":"Get bank gateways","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:20:36 GMT"},{"key":"Content-Length","value":"256"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 1,\n    \"gateways\": [\n        {\n            \"id\": 198876252,\n            \"title\": \"بانک ملت\",\n            \"owner\": \"آقای تست\",\n            \"account\": null,\n            \"pan\": null,\n            \"iban\": null\n        }\n    ]\n}"}],"_postman_id":"d10585a9-19f5-4811-b919-f81f76efae93"},{"name":"Get online gateways","id":"267434f7-490c-41a5-825b-57297736ee5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways/online","description":"<p>Get online gateways info for reserve and submit payments.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]},"isInherited":true,"source":{"_postman_id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","id":"b07ced53-eb56-4937-a2a1-9df4a447f5a1","name":"User","type":"collection"}},"urlObject":{"path":["site","api","v1","user","gateways","online"],"host":["https://api.imcloud.org"],"query":[],"variable":[]}},"response":[{"id":"e2a888f8-b1ba-48aa-bba9-d8c2d98afcff","name":"Get online gateways","originalRequest":{"method":"GET","header":[],"url":"https://api.imcloud.org/site/api/v1/user/gateways/online"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"theTba Website Builder v2"},{"key":"Date","value":"Mon, 18 Mar 2019 17:22:43 GMT"},{"key":"Content-Length","value":"234"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"count\": 1,\n    \"gateways\": [\n        {\n            \"id\": 198876251,\n            \"type\": \"mellat\",\n            \"title\": \"به پرداخت ملت\"\n        }\n    ]\n}"}],"_postman_id":"267434f7-490c-41a5-825b-57297736ee5f"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]}},"event":[{"listen":"prerequest","script":{"id":"5eeae286-fb80-4f47-997d-badb9d9e2a22","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bf5e3846-ed22-4a97-bb11-57110fe586a7","type":"text/javascript","exec":[""]}}],"variable":[{"id":"268307f9-0361-43fa-85dc-ec2f32f30919","key":"domain","value":"https://api.imcloud.org"},{"id":"24936c26-9669-4b41-a131-d09eac78fab3","key":"token","value":"84f7b89b701d4e9b858cb32cf06358f6"}]}