Guest User

university_apis.txt

a guest
Mar 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. login
  2.  
  3. {
  4. "user_email" : "amity@gmail.com",
  5. "password" : "password"
  6. }
  7.  
  8.  
  9.  
  10. {
  11. "role": "university",
  12. "sub_role": "issuer",
  13.  
  14. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo"
  15.  
  16. ,
  17. "user_id": "asdf-asdf-asdf",
  18. "user_email": "amity@gmail.com",
  19. "is_temp_password": false,
  20. "status": true
  21. }
  22.  
  23.  
  24.  
  25. profile
  26.  
  27. {
  28. "user_id":"asdf-asdf-asdf",
  29. "user_email":"amity@gmail.com",
  30. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo"
  31. }
  32.  
  33.  
  34. {
  35. "uuid": "asdf-asdf-asdf",
  36. "name": "amity",
  37. "university_unique_number": "123456",
  38. "address": "address_univ",
  39. "status": true,
  40. "phone_number": "123456789",
  41. "established_on": "1990",
  42. "website": "website.com",
  43. "type": "autonomous",
  44. "affiliations": "affiliations",
  45. "accrediations": null,
  46. "logo": "itsInFile",
  47. "timestamp": "2019-03-15T13:22:40.857",
  48. "sub_role": "issuer"
  49. }
  50.  
  51.  
  52. get_colleges
  53.  
  54. {
  55. "user_id":"asdf-asdf-asdf",
  56. "user_email":"amity@gmail.com",
  57. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  58. "offset":0,
  59. "limit":1
  60. }
  61.  
  62. {
  63. "colleges_details": [
  64. {
  65. "uuid": "asdf-asdf-asdf-college",
  66. "university_id": "asdf-asdf-asdf",
  67. "name": "college_name_1",
  68. "address": "college_address",
  69. "phone_no": "321320",
  70. "college_unique_no": "21",
  71. "status": 1,
  72. "timestamp": "2019-03-15T13:22:40.888"
  73. }
  74. ],
  75. "status": true
  76. }
  77.  
  78.  
  79. get_cources
  80.  
  81. {
  82. "user_id":"asdf-asdf-asdf",
  83. "user_email":"amity@gmail.com",
  84. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  85. "limit":3,
  86. "offset":0
  87.  
  88. }
  89.  
  90.  
  91. {
  92. "cources_details": [
  93. {
  94. "cource_name": "btech"
  95. }
  96. ],
  97. "status": true
  98. }
  99.  
  100.  
  101. manager_unboard
  102.  
  103.  
  104.  
  105. {
  106. "user_id":"asdf-asdf-asdf",
  107. "user_email":"amity@gmail.com",
  108. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  109. "username":"2parishilan",
  110. "role":"manager",
  111. "new_email":"parishilanrayamajhi@gmail.com"
  112. }
  113.  
  114.  
  115.  
  116. {
  117. "msg": "done",
  118. "status": true
  119. }
  120.  
  121.  
  122.  
  123. get_unboarded_members
  124.  
  125.  
  126. {
  127. "user_id":"asdf-asdf-asdf",
  128. "user_email":"amity@gmail.com",
  129. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  130. "limit":15,
  131. "offset":0
  132. }
  133.  
  134.  
  135. {
  136. "unboarded_members": [
  137. {
  138. "uuid": "asdf-asdf-asdf",
  139. "username": "amity",
  140. "password": "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8",
  141. "email": "amity@gmail.com",
  142. "role_id": 1,
  143. "temp_password": 0,
  144. "status": 1,
  145. "timestamp": "2019-03-15T13:22:40.626",
  146. "id": 1,
  147. "role": "university",
  148. "sub_role": "issuer"
  149. },
  150. {
  151. "uuid": "asdf-asdf-asdf",
  152. "username": "2parishilan",
  153. "password": "5f4ada9e4afd73d28e9f52c2d290e090f18191fb2a2d79030aada9980dddf2f9",
  154. "email": "parishilanrayamajhi@gmail.com",
  155. "role_id": 2,
  156. "temp_password": 1,
  157. "status": 1,
  158. "timestamp": "2019-03-16T15:23:24.080",
  159. "id": 2,
  160. "role": "university",
  161. "sub_role": "manager"
  162. }
  163. ],
  164. "status": true
  165. }
  166.  
  167.  
  168. single_college_onboarding
  169.  
  170. {
  171. "user_email":"amity@gmail.com",
  172. "user_id":"asdf-asdf-asdf",
  173.  
  174. "college_name":"nepal_college-1",
  175. "email":"sicolu@getcoolmail.info",
  176. "phone":"9841360099",
  177. "college_unique_no":"nepal-3-123",
  178. "location":"kathmandu,Nepal",
  179. "college_user_name":"Parin",
  180. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo"
  181. }
  182.  
  183. {
  184. "status": true
  185. }
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. get_unboarded_members
  193.  
  194. {
  195. "user_id":"asdf-asdf-asdf",
  196. "user_email":"amity@gmail.com",
  197. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  198. "limit":5,
  199. "offset":0
  200.  
  201. }
  202.  
  203.  
  204. {
  205. "unboarded_members": [
  206. {
  207. "uuid": "asdf-asdf-asdf",
  208. "username": "amity",
  209. "password": "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8",
  210. "email": "amity@gmail.com",
  211. "role_id": 1,
  212. "temp_password": 0,
  213. "status": 1,
  214. "timestamp": "2019-03-15T13:22:40.626",
  215. "id": 1,
  216. "role": "university",
  217. "sub_role": "issuer"
  218. },
  219. {
  220. "uuid": "asdf-asdf-asdf",
  221. "username": "2parishilan",
  222. "password": "5f4ada9e4afd73d28e9f52c2d290e090f18191fb2a2d79030aada9980dddf2f9",
  223. "email": "parishilanrayamajhi@gmail.com",
  224. "role_id": 2,
  225. "temp_password": 1,
  226. "status": 1,
  227. "timestamp": "2019-03-16T15:23:24.080",
  228. "id": 2,
  229. "role": "university",
  230. "sub_role": "manager"
  231. }
  232. ],
  233. "status": true
  234. }
  235.  
  236.  
  237.  
  238. get_colleges
  239.  
  240.  
  241. {
  242. "user_id":"asdf-asdf-asdf",
  243. "user_email":"amity@gmail.com",
  244. "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInRpbWVzdGFtcCI6IjIwMTktMDMtMTYgMTU6MTY6MjEuNjk0MDQyIn0.eyJ1c2VyX2lkIjoiYXNkZi1hc2RmLWFzZGYiLCJlbWFpbCI6ImFtaXR5QGdtYWlsLmNvbSIsInJvbGUiOiJ1bml2ZXJzaXR5Iiwic3ViX3JvbGUiOiJpc3N1ZXIifQ._IqJR5LKZPSPEbprDCX83uHoDnglbdWLkKHyG4mYiCo",
  245. "limit":5,
  246. "offset":0
  247.  
  248. }
  249.  
  250.  
  251. {
  252. "colleges_details": [
  253. {
  254. "uuid": "asdf-asdf-asdf-college",
  255. "university_id": "asdf-asdf-asdf",
  256. "name": "college_name_1",
  257. "address": "college_address",
  258. "phone_no": "321320",
  259. "college_unique_no": "21",
  260. "status": 1,
  261. "timestamp": "2019-03-15T13:22:40.888"
  262. },
  263. {
  264. "uuid": "asdf-asdf-asdf-college-2",
  265. "university_id": "asdf-asdf-asdf",
  266. "name": "college_name_2",
  267. "address": "college_address",
  268. "phone_no": "321320",
  269. "college_unique_no": "22",
  270. "status": 1,
  271. "timestamp": "2019-03-15T13:22:40.903"
  272. },
  273. {
  274. "uuid": "27f8062208f2429e8857c1402cfd1a44",
  275. "university_id": "asdf-asdf-asdf",
  276. "name": "nepal_college-1",
  277. "address": "kathmandu,Nepal",
  278. "phone_no": "9841360099",
  279. "college_unique_no": "nepal-3-123",
  280. "status": 1,
  281. "timestamp": "2019-03-16T15:25:32.814"
  282. },
  283. {
  284. "uuid": "35903554c6824531b983d176245258b3",
  285. "university_id": "asdf-asdf-asdf",
  286. "name": "college_1_csv",
  287. "address": "kathmandu",
  288. "phone_no": "12312",
  289. "college_unique_no": "college_1_csv",
  290. "status": 1,
  291. "timestamp": "2019-03-16T15:30:57.055"
  292. },
  293. {
  294. "uuid": "2969cdcaea954e6ebbe42dbba0c0ea7f",
  295. "university_id": "asdf-asdf-asdf",
  296. "name": "college_2_csv",
  297. "address": "kathmandu",
  298. "phone_no": "12312",
  299. "college_unique_no": "college_2_csv",
  300. "status": 1,
  301. "timestamp": "2019-03-16T15:30:57.055"
  302. }
  303. ],
  304. "status": true
  305. }
Add Comment
Please, Sign In to add comment