{"info":{"_postman_id":"8e2be801-26fc-4ab9-8db7-083a555f87e1","name":"Graphy REST API(s)","description":"<html><head></head><body><p>REST API v.1.0</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15796483","collectionId":"8e2be801-26fc-4ab9-8db7-083a555f87e1","publishedId":"Tzz5vKKr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-15T12:09:25.000Z"},"item":[{"name":"public","item":[{"name":"v1","item":[{"name":"learners","item":[{"name":"{learner Id}","item":[{"name":"Get Learner by Id","id":"510ba06f-e7ed-4cf7-85de-29e07bf2e3f7","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/learners/:learnerId?mid=<string>&key=<string>&courseInfo=<boolean>","description":"<p>Get Learner by Id</p>\n","urlObject":{"path":["public","v1","learners",":learnerId"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>To get course progress and enrollment information of the learner. Default value is false</p>\n","type":"text/plain"},"key":"courseInfo","value":"<boolean>"}],"variable":[{"id":"34d9f476-f49f-42be-9cf7-5bae0082bbe9","description":{"content":"<p>(Required) Learner Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"learnerId"}]}},"response":[{"id":"291e673b-9570-4036-b34c-4678cd605ef7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/learners/:learnerId?mid=<string>&key=<string>&courseInfo=<boolean>","host":["https://api.ongraphy.com"],"path":["public","v1","learners",":learnerId"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"courseInfo","value":"<boolean>"}],"variable":[{"key":"learnerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"email\": \"johndoe@spayee.com\",\n \"id\": \"5ad47f19e4b06e123dd42181\",\n \"name\": \"John Doe\",\n \"mobile\": \"+9180XXXXXXXXX\",\n \"active\": true,\n \"created date\": \"2019-04-16T10:46:49.105Z\",\n \"last login\": \"2020-03-16T11:46:44.372Z\"\n}"}],"_postman_id":"510ba06f-e7ed-4cf7-85de-29e07bf2e3f7"},{"name":"Get Learner Usage","id":"a26ef877-e64c-4e76-a6c9-bfe9999d67b2","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/learners/:learnerId/usage?mid=<string>&key=<string>&productId=<string>&date=<string>","description":"<p>Get Learner Usage</p>\n","urlObject":{"path":["public","v1","learners",":learnerId","usage"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>(Required) Product Id</p>\n","type":"text/plain"},"key":"productId","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"date","value":"<string>"}],"variable":[{"id":"5ede2504-445a-4f9c-89cf-50686665ad54","description":{"content":"<p>(Required) Learner Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"learnerId"}]}},"response":[{"id":"20212cec-01e2-4a7a-b48c-57e6e14b902b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/learners/:learnerId/usage?mid=<string>&key=<string>&productId=<string>&date=<string>","host":["https://api.ongraphy.com"],"path":["public","v1","learners",":learnerId","usage"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"productId","value":"<string>"},{"key":"date","value":"<string>"}],"variable":[{"key":"learnerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"time spent in secs\": 2024\n}"}],"_postman_id":"a26ef877-e64c-4e76-a6c9-bfe9999d67b2"},{"name":"Get Learner Discussions","id":"b4b53549-c5e2-4c17-9397-e175705f018d","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/learners/:learnerId/discussions?mid=<string>&key=<string>&startDate=<string>&endDate=<string>","description":"<p>Get Learner Discussions</p>\n","urlObject":{"path":["public","v1","learners",":learnerId","discussions"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>yyyy/MM/dd</p>\n","type":"text/plain"},"key":"startDate","value":"<string>"},{"description":{"content":"<p>yyyy/MM/dd</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"}],"variable":[{"id":"0d565dd7-b75f-43a8-b5e5-bd3eeee1ee48","description":{"content":"<p>(Required) Learner Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"learnerId"}]}},"response":[],"_postman_id":"b4b53549-c5e2-4c17-9397-e175705f018d"}],"id":"4dee74c3-895e-4512-9f6f-7b00235e5d7e","_postman_id":"4dee74c3-895e-4512-9f6f-7b00235e5d7e","description":""},{"name":"Learners","id":"90941871-f896-4d51-ac06-2ae7d0dc2cfa","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"<p>(Required) application/x-www-form-urlencoded</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"mid","value":"<string>","description":"<p>Merchant Id(mid)</p>\n"},{"key":"key","value":"<string>","description":"<p>API Key</p>\n"},{"key":"email","value":"<string>","description":"<p>The primary e-mail of learner</p>\n"},{"key":"name","value":"<string>","description":"<p>The name of the learner</p>\n"},{"key":"password","value":"<string>","description":"<p>Password of the learner. If not sent, account is created with random password</p>\n"},{"key":"mobile","value":"<string>","description":"<p>Mobile number of the learner with country code. For example, +917503411234</p>\n"},{"key":"sendEmail","value":"<boolean>","description":"<p>Send email to the learner with login information. The default value is true.</p>\n"},{"key":"customFields","value":"<string>","description":"<p>The other custom fields you want to save with the learners. eg. customFields={'Gender': 'F'}</p>\n"}]},"url":"https://api.ongraphy.com/public/v1/learners","description":"<p>Create Learner</p>\n","urlObject":{"path":["public","v1","learners"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"bfcf2aaa-98d2-4d57-a43f-791a9b69b5b1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"(Required) application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"The primary e-mail of learner","key":"email","value":"john@spayee.com"},{"description":"The name of the learner","key":"name","value":"john"}]},"url":"https://api.ongraphy.com/public/v1/learners"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"90941871-f896-4d51-ac06-2ae7d0dc2cfa"},{"name":"Course validity Update","id":"1f322c27-cbe5-488b-b5ea-30e6a403b8a8","request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"mid","value":"<string>","description":"<p>Merchant Id(mid)</p>\n"},{"key":"key","value":"<string>","description":"<p>API Key</p>\n"},{"key":"email","value":"<string>","description":"<p>The primary e-mail of learner</p>\n"},{"key":"productId","value":"<string>","description":"<p>The product Id of the course or package</p>\n","type":"text","uuid":"7869987c-32bc-44f1-a8aa-77973deee1c8"},{"key":"validityDate","value":"<string>","description":"<p>Validity date in format yyyy-mm-dd</p>\n","type":"text","uuid":"a3728d4b-32a9-4882-af70-4753eba41c37"}]},"url":"https://api.ongraphy.com/public/v1/learners/validity/update","description":"<p>Create Learner</p>\n","urlObject":{"path":["public","v1","learners","validity","update"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"b501fd5c-8f22-421d-b5ef-5ec7e90c78cb","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"(Required) application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"The primary e-mail of learner","key":"email","value":"john@graphy.com"},{"key":"productId","value":"67953fba56bf5778128d72ec","type":"text","uuid":"2e2ba6ed-c189-4adf-9a04-101dab48d86d"},{"key":"validityDate","value":"2025-03-15","type":"text","uuid":"0d456cbc-23e0-4915-9329-ca69ac3f9c68"}]},"url":"https://api.ongraphy.com/public/v1/learners/validity/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"1f322c27-cbe5-488b-b5ea-30e6a403b8a8"},{"name":"Learners","id":"1fae3de9-5ab1-44a6-8ea4-241f9bda8e96","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&courseInfo=<boolean>&query=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["public","v1","learners"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>To get course progress and enrollment information of the learner. Default value is false</p>\n","type":"text/plain"},"key":"courseInfo","value":"<boolean>"},{"description":{"content":"<p>Query Parameters to search users. For example, query={'email':'<a href=\"mailto:xyz@gmail.com\">xyz@gmail.com</a>'} returns learner with email equal to <a href=\"mailto:xyz@gmail.com\">xyz@gmail.com</a></p>\n","type":"text/plain"},"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"18e5596d-e447-4034-a293-822542ef1f73","name":"response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&courseInfo=<boolean>&query=<string>","host":["https://api.ongraphy.com"],"path":["public","v1","learners"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"skip","value":"<string>"},{"key":"limit","value":"<string>"},{"key":"courseInfo","value":"<boolean>"},{"key":"query","value":"<string>"}]}},"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c88384f2-2834-4810-85a3-416207330286","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&courseInfo=<boolean>&query=<string>","host":["https://api.ongraphy.com"],"path":["public","v1","learners"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"skip","value":"<string>"},{"key":"limit","value":"<string>"},{"key":"courseInfo","value":"<boolean>"},{"key":"query","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"email\": \"johndoe@spayee.com\",\n   \"id\": \"5ad47f19e4b06e123dd42181\",\n   \"name\": \"John Doe\",\n   \"mobile\": \"+9180XXXXXXXXX\",\n   \"active\": true,\n   \"created date\": \"2019-04-16T10:46:49.105Z\",\n   \"last login\": \"2020-03-16T11:46:44.372Z\"\n  }\n ],\n \"total\": 1,\n \"limit\": 10,\n \"skip\": 0\n}"}],"_postman_id":"1fae3de9-5ab1-44a6-8ea4-241f9bda8e96"},{"name":"Reset Password","id":"e4a44dee-6b26-44c6-9c05-3c1b4c871e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"type":"text","key":"mid","value":"<string>"},{"type":"text","key":"key","value":"<string>"},{"type":"text","key":"email","value":"<string>"},{"type":"text","key":"password","value":"<string>"}]},"url":"https://api.ongraphy.com/public/v1/learners/password/change","urlObject":{"path":["public","v1","learners","password","change"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"ab9d9ac4-a5f5-45a8-ae0d-57f4332da8e4","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"(Required) application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"The primary e-mail of learner","key":"email","value":"john@graphy.com"},{"key":"password","value":"*******","description":"New password.","type":"text","uuid":"2e2ba6ed-c189-4adf-9a04-101dab48d86d"}]},"url":"https://api.ongraphy.com/public/v1/learners/password/change"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"e4a44dee-6b26-44c6-9c05-3c1b4c871e27"}],"id":"412d114d-93dc-46b7-b20a-184be8940642","_postman_id":"412d114d-93dc-46b7-b20a-184be8940642","description":""},{"name":"products","item":[{"name":"{product Id}","item":[{"name":"Get Product by Id","id":"b3fe1bbf-c3da-4fc6-be90-3692b2167589","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/products/:productId?mid=<string>&key=<string>","description":"<p>Get Product by Id</p>\n","urlObject":{"path":["public","v1","products",":productId"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"}],"variable":[{"id":"39814eda-02db-46f6-9e42-31b88f43c7bd","description":{"content":"<p>(Required) Product Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"productId"}]}},"response":[{"id":"210c8f32-b264-48cb-940c-841eded94942","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/products/:productId?mid=<string>&key=<string>","host":["https://api.ongraphy.com"],"path":["public","v1","products",":productId"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"}],"variable":[{"key":"productId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"5e56483a0cf2f8e161c4301a\",\n \"title\": \"Sample Course\",\n \"instructor\": \"Spayee\",\n \"language\": \"\",\n \"created date\": \"2020-02-26T10:28:10.810Z\",\n \"modified date\": \"2020-03-15T07:09:02.043Z\",\n \"price\": 0,\n \"discounted price\": 0,\n \"items\": [\n  {\n   \"id\": \"5bf64a01e4b0276f1a241241\",\n   \"title\": \"Week 1\",\n   \"type\": \"heading\",\n   \"items\": [\n    {\n     \"id\": \"5bf64a01e4b0276f1a249894\",\n     \"title\": \"Chapter 1\",\n     \"type\": \"video\"\n    },\n    {\n     \"id\": \"5bf64a01e4b0276f1a2893423\",\n     \"title\": \"Chapter 1 Quiz\",\n     \"type\": \"quiz\"\n    }\n   ]\n  }\n ]\n}"}],"_postman_id":"b3fe1bbf-c3da-4fc6-be90-3692b2167589"},{"name":"Delete Product","id":"fbfc53ca-8a8a-43d7-b35b-656ee4b7d33c","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"<p>application/x-www-form-urlencoded</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"mid\": \"<string>\",\n    \"key\": \"<string>\"\n}"},"url":"https://api.ongraphy.com/public/v1/products/:productId/delete","description":"<p>Delete a course or package</p>\n","urlObject":{"path":["public","v1","products",":productId","delete"],"host":["https://api.ongraphy.com"],"query":[],"variable":[{"id":"6940e37a-bede-4185-a2d9-56bc33891066","description":{"content":"<p>(Required) Product Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"productId"}]}},"response":[{"id":"7d10257b-20ca-467c-a4da-f98d68630fd1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"application/x-www-form-urlencoded"}],"body":{"mode":"raw","raw":"{\n    \"mid\": \"<string>\",\n    \"key\": \"<string>\"\n}"},"url":{"raw":"https://api.ongraphy.com/public/v1/products/:productId/delete","host":["https://api.ongraphy.com"],"path":["public","v1","products",":productId","delete"],"variable":[{"key":"productId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"fbfc53ca-8a8a-43d7-b35b-656ee4b7d33c"}],"id":"c1fa6d19-a887-4df0-980a-7d9fcb453c73","_postman_id":"c1fa6d19-a887-4df0-980a-7d9fcb453c73","description":""},{"name":"Products","id":"6667b84d-66cc-49e2-8e3d-64f42eb092c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/products?mid=<string>&key=<string>&skip=<integer>&limit=<integer>&query=<string>","description":"<p>Get Products</p>\n","urlObject":{"path":["public","v1","products"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>Query Parameters to search products. For example, query={id:'5b94eba4e4b0a0dfbeaabe01'} returns courses with id equal to 5b94eba4e4b0a0dfbeaabe01\nNote : Query should be URL encoded.</p>\n","type":"text/plain"},"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"957579e2-e059-44a5-8165-b0103bb582ea","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v1/products?mid=<string>&key=<string>&skip=<integer>&limit=<integer>&query=<string>","host":["https://api.ongraphy.com"],"path":["public","v1","products"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"skip","value":"<integer>"},{"key":"limit","value":"<integer>"},{"key":"query","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"id\": \"5e56483a0cf2f8e161c4301a\",\n   \"title\": \"Sample Course\",\n   \"instructor\": \"Spayee\",\n   \"language\": \"\",\n   \"created date\": \"2020-02-26T10:28:10.810Z\",\n   \"modified date\": \"2020-03-15T07:09:02.043Z\",\n   \"price\": 0,\n   \"discounted price\": 0,\n   \"category\": [\n                \"category 1\",\n                \"category 2\"\n            ],\n    \"subCategory1\": [\n                \"sub category\"\n            ],\n    \"subCategory2\": [\n                \"sub category\"\n            ],                \n    \"tags\": [\n                \"tag 1\",\n                \"tag 2\"\n            ]\n  }\n ],\n \"total\": 18,\n \"limit\": 1,\n \"skip\": 0\n}"}],"_postman_id":"6667b84d-66cc-49e2-8e3d-64f42eb092c8"}],"id":"7f6a78b2-b4ae-41e0-8ea3-68014b071dfd","_postman_id":"7f6a78b2-b4ae-41e0-8ea3-68014b071dfd","description":""},{"name":"Assign","id":"184d2e53-1948-4a11-aa54-c5f5cacb9f9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"<p>application/x-www-form-urlencoded</p>\n"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"mid","value":"<string>","description":"<p>Merchant Id(mid)</p>\n"},{"key":"key","value":"<string>","description":"<p>API Key</p>\n"},{"key":"email","value":"<string>","description":"<p>Email of the learner to whom to assign the course or package.</p>\n"},{"key":"productId","value":"<string>","description":"<p>The product Id of the course or package</p>\n"},{"key":"countryCode","value":"<string>","description":"<p>IN|US</p>\n","type":"text"},{"key":"utmSource","value":"<string>","type":"text"},{"key":"utmContent","value":"<string>","type":"text"},{"key":"utmTerm","value":"<string>","type":"text"},{"key":"utmCampaign","value":"<string>","type":"text"},{"key":"utmMedium","value":"<string>","type":"text"},{"key":"eventId","value":"<string>","type":"text"},{"key":"extPG","value":"<string>","description":"<p>razorpay|stripe</p>\n","type":"text"},{"key":"extPaymentId","value":"<string>","type":"text"},{"key":"phone","value":"<string>","description":"<p>(Optional) Phone number of the learner to whom to assign the course or package.</p>\n","type":"text","uuid":"67894d26-622a-4f72-a0a7-9485dec221d1"}]},"url":"https://api.ongraphy.com/public/v1/assign","description":"<p>Enroll learner in a particular course or package.</p>\n","urlObject":{"path":["public","v1","assign"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"7233cef4-b9c2-42aa-8281-65bb20656cc7","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"Email of the learner to whom to assign the course or package.","key":"email","value":"john@spayee.com"},{"description":"The product Id of the course or package","key":"productId","value":"54183298923423940932049233024"},{"key":"countryCode","value":"IN","description":"Country code of product sold.","type":"text"},{"key":"utmSource","value":"utmSource","type":"text"},{"key":"utmContent","value":"utmContent","type":"text"},{"key":"utmTerm","value":"utmTerm","type":"text"},{"key":"utmCampaign","value":"utmCampaign","type":"text"},{"key":"utmMedium","value":"utmMedium","type":"text"},{"key":"eventId","value":"eventId","type":"text"},{"key":"extPG","value":"razorpay","type":"text"},{"key":"extPaymentId","value":"pay_vdjashUbbs","type":"text"},{"key":"phone","value":"+919999999999","description":"(Optional) Phone number of the learner to whom to assign the course or package.","type":"text","uuid":"145fa690-76cf-403e-9c2e-9dd6a5010a90"}]},"url":"https://api.spayee.com/public/v1/assign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"184d2e53-1948-4a11-aa54-c5f5cacb9f9d"},{"name":"Unassign","id":"78c58397-bbec-4630-a495-faa5118274e1","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"<p>application/x-www-form-urlencoded</p>\n"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"mid","value":"<string>","description":"<p>Merchant Id(mid)</p>\n"},{"key":"key","value":"<string>","description":"<p>API Key</p>\n"},{"key":"email","value":"<string>","description":"<p>Email of the learner to whom to unassign the course or package.</p>\n"},{"key":"productId","value":"<string>","description":"<p>The product Id of the course or package</p>\n"},{"key":"phone","value":"<string>","description":"<p>(Optional) Phone number of the learner to whom to unassign the course or package.</p>\n","type":"text","uuid":"9872f016-06be-4993-bfde-700182b142d7"}]},"url":"https://api.ongraphy.com/public/v1/unassign","description":"<p>Remove learner from a particular course or package.</p>\n","urlObject":{"path":["public","v1","unassign"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"3461ea80-4e56-4554-9a9a-d2012bfde751","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"<string>","description":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"Email of the learner to whom to unassign the course or package.","key":"email","value":"john@spayee.com"},{"description":"The product Id of the course or package","key":"productId","value":"54183298923423940932049233024"},{"key":"phone","value":"+919999999999","description":"(Optional) Phone number of the learner to whom to unassign the course or package.","type":"text","uuid":"1c2e3692-d5a5-4721-9200-112d820046ac"}]},"url":"https://api.ongraphy.com/public/v1/unassign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"}],"_postman_id":"78c58397-bbec-4630-a495-faa5118274e1"},{"name":"Get Quiz Reports","id":"8b862d6a-b80c-4fc5-a752-03ba3aec97c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/quizzes/{quizId}/reports?mid=<string>&key=<string>&date=<string>&skip=<integer>&limit=<integer>","description":"<p>Get Quiz Reports</p>\n","urlObject":{"path":["public","v1","quizzes","{quizId}","reports"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"date","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"8b862d6a-b80c-4fc5-a752-03ba3aec97c5"},{"name":"Get Transactions","id":"5c9d9f7f-82be-45d8-80cf-2f136a16b195","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/transactions?mid=<string>&key=<string>&skip=<integer>&limit=<integer>&startDate=<string>&endDate=<string>&status=<string>&channel=<string>&type=<string>","description":"<p>Get Transactions</p>\n","urlObject":{"path":["public","v1","transactions"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"},{"description":{"content":"<p>yyyy/MM/dd or yyyy/MM/ddThh:mm:ss</p>\n","type":"text/plain"},"key":"startDate","value":"<string>"},{"description":{"content":"<p>yyyy/MM/dd or yyyy/MM/ddThh:mm:ss</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"},{"description":{"content":"<p>initiated|success|refund</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>web|android|ios</p>\n","type":"text/plain"},"key":"channel","value":"<string>"},{"description":{"content":"<p>free|paid</p>\n","type":"text/plain"},"key":"type","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"5c9d9f7f-82be-45d8-80cf-2f136a16b195"},{"name":"Get Promocodes","id":"adabc10d-a140-4259-b941-2b93209eb712","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v1/promocodes?mid=<string>&key=<string>&skip=<integer>&limit=<integer>","description":"<p>Get Promocodes</p>\n","urlObject":{"path":["public","v1","promocodes"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<integer>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"adabc10d-a140-4259-b941-2b93209eb712"}],"id":"a282b360-00f4-4bed-9893-87abb54f2df5","_postman_id":"a282b360-00f4-4bed-9893-87abb54f2df5","description":""},{"name":"v2","item":[{"name":"learners","item":[{"name":"Get Learner by Id","id":"6321c3ae-66b0-4fbb-91d8-adf31799da9b","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v2/learners/:learnerId?mid=<string>&key=<string>&courseInfo=<boolean>","description":"<p>Get Learner by Id</p>\n","urlObject":{"path":["public","v2","learners",":learnerId"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"key":"courseInfo","value":"<boolean>"}],"variable":[{"id":"f1a61f60-4880-4a98-82e5-14b3c263d92b","description":{"content":"<p>(Required) Learner Id</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"learnerId"}]}},"response":[],"_postman_id":"6321c3ae-66b0-4fbb-91d8-adf31799da9b"}],"id":"1388bdb4-1d60-47be-b042-a49882e0da25","_postman_id":"1388bdb4-1d60-47be-b042-a49882e0da25","description":""},{"name":"Get Learners","id":"52cda3d9-91ac-49a1-b691-6187b4051d62","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/public/v2/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&courseInfo=<string>&query=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["public","v2","learners"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>To get course progress and enrollment information of the learner. Default value is false</p>\n","type":"text/plain"},"key":"courseInfo","value":"<string>"},{"description":{"content":"<p>Query Parameters to search users. For example, query={'email':'<a href=\"mailto:xyz@gmail.com\">xyz@gmail.com</a>'} returns learner with email equal to <a href=\"mailto:xyz@gmail.com\">xyz@gmail.com</a></p>\n","type":"text/plain"},"key":"query","value":"<string>"}],"variable":[]}},"response":[{"id":"05a5b8fe-b12c-4f8f-a087-c1a0bdc3f598","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v2/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&courseInfo=<string>&query=<string>","host":["https://api.ongraphy.com"],"path":["public","v2","learners"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"skip","value":"<string>"},{"key":"limit","value":"<string>"},{"key":"courseInfo","value":"<string>"},{"key":"query","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"email\": \"johndoe@spayee.com\",\n   \"id\": \"5ad47f19e4b06e123dd42181\",\n   \"name\": \"John Doe\",\n   \"mobile\": \"+9180XXXXXXXXX\",\n   \"active\": true,\n   \"created date\": \"2019-04-16T10:46:49.105Z\",\n   \"last login\": \"2020-03-16T11:46:44.372Z\"\n  }\n ],\n \"total\": 1,\n \"limit\": 10,\n \"skip\": 0\n}"}],"_postman_id":"52cda3d9-91ac-49a1-b691-6187b4051d62"}],"id":"821945f6-ac79-403a-a1bc-efcaf4d75259","_postman_id":"821945f6-ac79-403a-a1bc-efcaf4d75259","description":""},{"name":"v3","item":[{"name":"products","item":[{"name":"liveclasses","item":[{"name":"Get Learners for Live classes","id":"19a346db-95fd-4a4d-b5da-cf268db5061e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/liveclasses/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&liveClassIds=<string>","description":"<p>Get Learners for liveclass.</p>\n","urlObject":{"path":["t","api","public","v3","products","liveclasses","learners"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of live classes e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"liveClassIds","value":"<string>"}],"variable":[]}},"response":[{"id":"eb06e8f8-ec6c-4afc-be36-e7515989fc4b","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/public/v3/products/liveclasses/learners?mid=<string>&key=<string>&skip=<string>&limit=<string>&liveClassIds=<string>","host":["https://api.ongraphy.com"],"path":["public","v3","products","liveclasses","learners"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"liveClassIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"email\": \"johndoe@spayee.com\",\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"name\": \"John Doe\",\n            \"mobile\": \"+9180XXXXXXXXX\",\n            \"active\": true,\n            \"created date\": \"2019-04-16T10:46:49.105Z\",\n            \"last login\": \"2020-03-16T11:46:44.372Z\",\n            \"liveClassId\" : \"5d5dea8ae4b083d4d5ab9258\"\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"19a346db-95fd-4a4d-b5da-cf268db5061e"}],"id":"2cf08f49-2c01-4731-89e0-bc426ae45c35","_postman_id":"2cf08f49-2c01-4731-89e0-bc426ae45c35","description":""},{"name":"Get active learners for products","id":"f9aa5c1e-769d-4f6b-b678-52957d6fd330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/activelearners?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","activelearners"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"},{"description":{"content":"<p>(Required) Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"dateFrom","value":"<string>"},{"description":{"content":"<p>(Required) Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"dateTo","value":"<string>"}],"variable":[]}},"response":[{"id":"04607ed8-4412-429d-a789-5bb8a17625c9","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/activelearners?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","activelearners"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"productIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""},{"key":"dateFrom","value":"<string>","description":"(Required) Date (yyyy/MM/dd)"},{"key":"dateTo","value":"<string>","description":"(Required) Date (yyyy/MM/dd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"email\": \"johndoe@spayee.com\",\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"name\": \"John Doe\",\n            \"mobile\": \"+9180XXXXXXXXX\",\n            \"active\": true,\n            \"created date\": \"2019-04-16T10:46:49.105Z\",\n            \"last login\": \"2020-03-16T11:46:44.372Z\",\n            \"productId\" : \"58415074e4b0a28c13059e96\"\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"f9aa5c1e-769d-4f6b-b678-52957d6fd330"},{"name":"Get Course Progress Report","id":"6049c5f9-5861-427b-b29b-3a3631546098","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/courseprogressreports?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","courseprogressreports"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"}],"variable":[]}},"response":[{"id":"68e219c7-f513-4faf-bd90-3e6426c99896","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}/t/api/public/v3/products/courseprogressreports?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>","host":["{{baseUrl}"],"path":["t","api","public","v3","products","courseprogressreports"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"skip","value":"<string>"},{"key":"limit","value":"<string>"},{"key":"productIds","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"productId\": \"6115ece40cf27ca308ff8087\",\n            \"totalTimeSpent\": 33495,\n            \"averageCourseCompletion\": 34.42857142857143\n        },\n        {\n            \"productId\": \"611266040cf25ae4bf43315c\",\n            \"totalTimeSpent\": 49976,\n            \"averageCourseCompletion\": 59.375\n        }\n    ],\n    \"count\": 2,\n    \"skip\": 0,\n    \"limit\": 10\n}"}],"_postman_id":"6049c5f9-5861-427b-b29b-3a3631546098"},{"name":"Get Live classes for Products","id":"cb65bc40-bc8e-41ec-aeb0-aea4e4d23e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/liveclasses?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&createdDateFrom=<string>&createdDateTo=<string>&modifiedDateFrom=<string>&modifiedDateTo=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","liveclasses"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateTo","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateTo","value":"<string>"}],"variable":[]}},"response":[{"id":"5c39d925-b9f8-4533-8273-caa1fcbf7185","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/liveclasses?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","liveclasses"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"productIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""},{"key":"dateFrom","value":"<string>","description":"Date (yyyy/MM/dd)"},{"key":"dateTo","value":"<string>","description":"Date (yyyy/MM/dd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"title\": \"Live Class\",\n            \"startTime\": \"2019-04-16T10:46:49.105Z\",\n            \"endTime\" : \"2019-04-16T10:46:49.105Z\",\n            \"createdDate\": \"2019-08-22T01:06:18.333Z\",\n            \"modifiedDate\": \"2019-08-22T13:00:02.527Z\",\n            \"productIds\": [\"58415074e4b0a28c13059e96\"]\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"cb65bc40-bc8e-41ec-aeb0-aea4e4d23e3e"},{"name":"Get Live tests for Products","id":"029d93c5-7af7-4d86-be80-53e2350cc305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/livetests?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&createdDateFrom=<string>&createdDateTo=<string>&modifiedDateFrom=<string>&modifiedDateTo=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","livetests"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateTo","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateTo","value":"<string>"}],"variable":[]}},"response":[{"id":"d7ce5b52-0a9a-45e0-af9a-5069e04bf808","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/livetests?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","livetests"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"productIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""},{"key":"dateFrom","value":"<string>","description":"Date (yyyy/MM/dd)"},{"key":"dateTo","value":"<string>","description":"Date (yyyy/MM/dd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"title\": \"Live Test\",\n            \"startTime\": \"2019-04-16T10:46:49.105Z\",\n            \"endTime\" : \"2019-04-16T10:46:49.105Z\",\n            \"createdDate\": \"2019-08-22T01:06:18.333Z\",\n            \"modifiedDate\": \"2019-08-22T13:00:02.527Z\",\n            \"productIds\": [\"58415074e4b0a28c13059e96\"]\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"029d93c5-7af7-4d86-be80-53e2350cc305"},{"name":"Get Assignments for Products","id":"6cfb4c82-8db0-4abe-9af4-7feab4f6fafe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/assignments?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&createdDateFrom=<string>&createdDateTo=<string>&modifiedDateFrom=<string>&modifiedDateTo=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","assignments"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateTo","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateTo","value":"<string>"}],"variable":[]}},"response":[{"id":"80327c22-8203-41d3-8817-0aa7e99e38ae","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/assignments?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","assignments"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"productIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""},{"key":"dateFrom","value":"<string>","description":"Date (yyyy/MM/dd)"},{"key":"dateTo","value":"<string>","description":"Date (yyyy/MM/dd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"title\": \"Assignment\",\n            \"createdDate\": \"2019-08-22T01:06:18.333Z\",\n            \"modifiedDate\": \"2019-08-22T01:06:18.333Z\",\n            \"productIds\": [\"58415074e4b0a28c13059e96\"]\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"6cfb4c82-8db0-4abe-9af4-7feab4f6fafe"},{"name":"Get Quizzes for Products","id":"2d5ad679-befb-4f34-a073-cdb39c4353a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/quizzes?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&createdDateFrom=<string>&createdDateTo=<string>&modifiedDateFrom=<string>&modifiedDateTo=<string>","description":"<p>Get Learners</p>\n","urlObject":{"path":["t","api","public","v3","products","quizzes"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<string>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>(Required) Comma seprated ids of products e.g. \"58415074e4b0a28c13059e96,592c783ee4b070ef88f20d54\" or \"592c783ee4b070ef88f20d54\"</p>\n","type":"text/plain"},"key":"productIds","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"createdDateTo","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateFrom","value":"<string>"},{"description":{"content":"<p>Date (yyyy/MM/dd)</p>\n","type":"text/plain"},"key":"modifiedDateTo","value":"<string>"}],"variable":[]}},"response":[{"id":"8245ba06-21bc-40bc-af14-53b7fcec3c76","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/quizzes?mid=<string>&key=<string>&skip=<string>&limit=<string>&productIds=<string>&dateFrom=<string>&dateTo=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","quizzes"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<string>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<string>","description":"Amount of results (max: 100). Default value is 10"},{"key":"productIds","value":"<string>","description":"(Required) Comma seprated ids of courses e.g. \"123wwee,2334wd\" and \"123wwee\""},{"key":"dateFrom","value":"<string>","description":"Date (yyyy/MM/dd)"},{"key":"dateTo","value":"<string>","description":"Date (yyyy/MM/dd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5ad47f19e4b06e123dd42181\",\n            \"title\": \"Quiz\",\n            \"createdDate\": \"2019-08-22T01:06:18.333Z\",\n            \"modifiedDate\": \"2019-08-22T01:06:18.333Z\",\n            \"productIds\": [\"58415074e4b0a28c13059e96\"]\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 10,\n    \"skip\": 0\n}"}],"_postman_id":"2d5ad679-befb-4f34-a073-cdb39c4353a2"},{"name":"Refund Razorpay Transactions","id":"48041d42-009d-4bc5-8d32-14f461f59dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/razorpay/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","description":"<p>Refund razorpay transaction</p>\n","urlObject":{"path":["t","api","public","v3","products","razorpay","refund"],"host":["https://api.ongraphy.com"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}],"variable":[]}},"response":[{"id":"bbfb7f13-6582-4af9-8df5-723b1905f0ba","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/razorpay/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","razorpay","refund"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 200,\n    \"message\" : \"Success\"\n }"}],"_postman_id":"48041d42-009d-4bc5-8d32-14f461f59dd6"},{"name":"Refund Stripe Transactions","id":"6f768206-798b-4377-b071-1c39d88c3019","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/stripe/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","description":"<p>Refund Stripe transaction</p>\n","urlObject":{"path":["t","api","public","v3","products","stripe","refund"],"host":["https://api.ongraphy.com"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}],"variable":[]}},"response":[{"id":"f1d07574-062c-44c3-ab1e-7958081e61f9","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/stripe/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","stripe","refund"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 200,\n    \"message\" : \"Success\"\n }"}],"_postman_id":"6f768206-798b-4377-b071-1c39d88c3019"},{"name":"Refund Graphy PG Transactions","id":"f407db26-9ae1-438f-8683-b9298be026d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/graphypg/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","description":"<p>Refund Graphy PG Transactions</p>\n","urlObject":{"path":["t","api","public","v3","products","graphypg","refund"],"host":["https://api.ongraphy.com"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}],"variable":[]}},"response":[{"id":"8cad8648-69b7-43da-816c-46d106d5ac74","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/graphypg/refund?mid=<string>&key=<string>&paymentId=<string>&refundDescription=<string>&removeAccess=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","graphypg","refund"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"paymentId","value":"<string>"},{"key":"refundDescription","value":"<string>"},{"key":"removeAccess","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 200,\n    \"message\" : \"Success\"\n }"}],"_postman_id":"f407db26-9ae1-438f-8683-b9298be026d4"},{"name":"Get Live class attendees","id":"31554d7b-98ac-4e24-8b66-b3676ab67f92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/products/liveclass/attendees?mid=<string>&key=<string>&skip=<int>&limit=<int>&liveClassId=<string>","urlObject":{"path":["t","api","public","v3","products","liveclass","attendees"],"host":["https://api.ongraphy.com"],"query":[{"description":{"content":"<p>(Required) Merchant Id(mid)</p>\n","type":"text/plain"},"key":"mid","value":"<string>"},{"description":{"content":"<p>(Required) API Key</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Page to show. Default value is 0</p>\n","type":"text/plain"},"key":"skip","value":"<int>"},{"description":{"content":"<p>Amount of results (max: 100). Default value is 10</p>\n","type":"text/plain"},"key":"limit","value":"<int>"},{"description":{"content":"<p>(Required) Live class id</p>\n","type":"text/plain"},"key":"liveClassId","value":"<string>"}],"variable":[]}},"response":[{"id":"887c3697-9b12-4bfe-822c-a195840d2553","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/products/liveclass/attendees?mid=<string>&key=<string>&skip=<int>&limit=<int>&liveClassId=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","products","liveclass","attendees"],"query":[{"key":"mid","value":"<string>","description":"(Required) Merchant Id(mid)"},{"key":"key","value":"<string>","description":"(Required) API Key"},{"key":"skip","value":"<int>","description":"Page to show. Default value is 0"},{"key":"limit","value":"<int>","description":"Amount of results (max: 100). Default value is 10"},{"key":"liveClassId","value":"<string>","description":"(Required) Live class id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": <id> | string,\n            \"email\": <email> | string,\n            \"name\": <name> | string,\n            \"watchedOn\": <watchedOn> | date\n        }\n    ],\n    \"skip\": 0,\n    \"limit\": 10\n}"}],"_postman_id":"31554d7b-98ac-4e24-8b66-b3676ab67f92"}],"id":"bd462db2-86b4-4318-be3f-0f4f30bb1a72","_postman_id":"bd462db2-86b4-4318-be3f-0f4f30bb1a72","description":""},{"name":"learners","item":[{"name":"Reset learner device(s)","id":"9bf2277f-c641-4223-ba08-3b70c94c436f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/learners/reset-device?mid=<string>&key=<string>&email=<string>","description":"<p>Reset device(s) for learners</p>\n","urlObject":{"path":["t","api","public","v3","learners","reset-device"],"host":["https://api.ongraphy.com"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}],"variable":[]}},"response":[{"id":"46b29559-6eac-4ae1-915e-b7d93e5dc8e2","name":"ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/learners/reset-device?mid=<string>&key=<string>&email=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","learners","reset-device"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 200,\n    \"message\" : \"Success\"\n }"},{"id":"5c198d1e-56cb-45d4-8d65-42980e777bcc","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/learners/reset-device?mid=<string>&key=<string>&email=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","learners","reset-device"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 404,\n    \"message\" : \"Learner not found\"\n }"}],"_postman_id":"9bf2277f-c641-4223-ba08-3b70c94c436f"},{"name":"Update","id":"b912c6b2-7b6a-4222-9836-99bd9b4629fc","request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"<string>","description":"<p>(Required) application/x-www-form-urlencoded</p>\n"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"mid","value":"<string>","description":"<p>Merchant Id(mid)</p>\n"},{"key":"key","value":"<string>","description":"<p>API Key</p>\n"},{"key":"email","value":"<string>","description":"<p>The primary e-mail of learner</p>\n"},{"key":"name","value":"<string>","description":"<p>The name of the learner</p>\n"},{"key":"password","value":"<string>","description":"<p>Password of the learner. If not sent, account is created with random password</p>\n"},{"key":"mobile","value":"<string>","description":"<p>Mobile number of the learner with country code. For example, +917503411234</p>\n"},{"key":"sendEmail","value":"<boolean>","description":"<p>Send email to the learner with login information. The default value is true.</p>\n"},{"key":"customFields","value":"<string>","description":"<p>The other custom fields you want to save with the learners. eg. customFields={'Gender': 'F'}</p>\n"}]},"url":"https://api.ongraphy.com/t/api/public/v3/learners/update","description":"<p>Create Learner</p>\n","urlObject":{"path":["t","api","public","v3","learners","update"],"host":["https://api.ongraphy.com"],"query":[],"variable":[]}},"response":[{"id":"bb995674-f36e-48d8-926a-21094e412f8a","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"<string>","description":"(Required) application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"The primary e-mail of learner","key":"email","value":"john@spayee.com"},{"description":"The name of the learner","key":"name","value":"john"},{"key":"customFields","value":"{'Gender': 'F', 'Age' : \"18\"}","type":"text"}]},"url":"https://api.ongraphy.com/t/api/public/v3/learners/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"status\": \"success\"\n}"},{"id":"8329424d-58d3-443d-9826-b8d7bb66a78f","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"<string>","description":"(Required) application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Merchant Id(mid)","key":"mid","value":"XXX"},{"description":"API Key","key":"key","value":"XXX"},{"description":"The primary e-mail of learner","key":"email","value":"john@spayee.com"},{"description":"The name of the learner","key":"name","value":"john"},{"key":"customFields","value":"{'Gender': 'F'}","type":"text"}]},"url":"https://api.ongraphy.com/t/api/public/v3/learners/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 404,\n    \"message\" : \"Learner not found\"\n }"}],"_postman_id":"b912c6b2-7b6a-4222-9836-99bd9b4629fc"},{"name":"Reset iOS screenshot","id":"941056de-9e26-4d3f-b58f-82f513fb55fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"url":"https://api.ongraphy.com/t/api/public/v3/learners/reset/ios/screenshot?mid=<string>&key=<string>&email=<string>","description":"<p>Reset device(s) for learners</p>\n","urlObject":{"path":["t","api","public","v3","learners","reset","ios","screenshot"],"host":["https://api.ongraphy.com"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}],"variable":[]}},"response":[{"id":"d31cc439-bb19-4e5e-9c63-01990e9fcf54","name":"ok","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/learners/reset/ios/screenshot?mid=<string>&key=<string>&email=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","learners","reset","ios","screenshot"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 200,\n    \"message\" : \"Success\"\n }"},{"id":"41296304-aef8-4de0-a16d-fa965874e396","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ongraphy.com/t/api/public/v3/learners/reset/ios/screenshot?mid=<string>&key=<string>&email=<string>","host":["https://api.ongraphy.com"],"path":["t","api","public","v3","learners","reset","ios","screenshot"],"query":[{"key":"mid","value":"<string>"},{"key":"key","value":"<string>"},{"key":"email","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"code\" : 404,\n    \"message\" : \"Learner not found\"\n }"}],"_postman_id":"941056de-9e26-4d3f-b58f-82f513fb55fe"}],"id":"e6a4d68d-ed79-47bd-92e0-0967819f3eae","_postman_id":"e6a4d68d-ed79-47bd-92e0-0967819f3eae","description":""}],"id":"9a7b59db-3920-4439-a35a-461052bcf9c9","_postman_id":"9a7b59db-3920-4439-a35a-461052bcf9c9","description":""}],"id":"17a87b42-43b9-4bdc-bd7f-fd55dd7a74a7","_postman_id":"17a87b42-43b9-4bdc-bd7f-fd55dd7a74a7","description":""}],"event":[{"listen":"prerequest","script":{"id":"a5039b60-6bb5-4009-ac40-1aeffa832a7a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ffc77647-da40-4333-96ce-3739dc35ec6e","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.ongraphy.com","type":"string"}]}