{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"6bac471b-7d78-4656-b615-806d373cbfd1","name":"Super Loan API","description":"Đây là tài liệu API của hệ thống cho vay\n\nQuery params:\n\npage: trang thứ mấy muốn lấy\n\nrpp: limit số dòng mỗi trang  \nVí dụ limit=5, page=1 là vào trang 1 lấy 5 dòng  \nsort: dạng json array \\[{key: string, type: string}\\] ví dụ \\[{\"key\":\"createAt\",\"type\":\"DESC\"}\\] nghĩa là: sort theo createAt, DESC là giảm dần. type có 2 dạng: DESC | ASC - tương ứng là giảm dần, tăng dần\n\nfilter: dạng json array \\[key: string, operator: equal | like | range, value: “string”\\].\n\noperator là phương thức của query, có 3 loại:\n\n- equal: tìm kiếm tuyệt đối, tức là value phải giống y hệt giá trị gốc, ví dụ \\[{\"key\":\"email\",\"operator\":\"equal\",\"value\":\"[22521405@gm.uit.edu.vn](https://mailto:22521405@gm.uit.edu.vn)\"}\\] nghĩa là tìm theo email có giá trị là [22521405@gm.uit.edu.vn](https://mailto:22521405@gm.uit.edu.vn)\n    \n- like: tìm kiếm tương đối, tức là chỉ cần hơi giống giá trị gốc là được, ví dụ: \\[{\"key\":\"name\",\"operator\":\"like\",\"value\":\"hà phú\"}\\] nghĩa là tìm theo name, nếu tên gốc là hà phú thịnh thì tìm hà phú cũng ra  \n    5000\n    \n- range: tìm trong khoảng từ = A -> = B, ví dụ: muốn tìm các nhân viên có lương >= 3000 và <= 5000 thì sẽ truyền \\[{\"key\":\"salary\",\"operator\":\"range\",\"value\":\"3000-5000\"}\\]\n    \n- greater_equal: tìm kết quả >= A, ví dụ múôn tìm nhân viên lương >= 3000 thì truyền \\[{\"key\":\"salary\",\"operator\":\"greater_equal\",\"value\":\"3000\"}\\]\n    \n- greater: tìm kết quả > A, ví dụ nhân viên luơng > 3000 thì truyền \\[{\"key\":\"salary\",\"operator\":\"greater\",\"value\":\"3000\"}\\]\n    \n- less_equal: tìm kết quả <= B, ví dụ múôn tìm nhân viên lương <= 5000 thì truyền \\[{\"key\":\"salary\",\"operator\":\"less_equal\",\"value\":\"5000\"}\\]\n    \n- less: tìm kết quả < B, ví dụ nhân viên luơng < 5000 thì truyền \\[{\"key\":\"salary\",\"operator\":\"less\",\"value\":\"5000\"}\\]\n    \n\nTrong trường hợp ví dụ muốn tìm >3000 và <= 5000, thì ta kết hợp như sau: \\[{\"key\":\"salary\",\"operator\":\"greater\",\"value\":\"3000\"},{\"key\":\"salary\",\"operator\":\"less_equal\",\"value\":\"5000\"}\\]\n\n- in: tìm kết quả mà có giá trị trong A | B | C, ví dụ muốn tìm khách hàng thuộc 1 trong 3 role là tiếp tân, khách hàng, kế toán thì sẽ truền là \\[{\"key\":\"role\",\"operator\":\"in\",\"value\":\"\\[\"TIEP_TAN\",\"KHACH_HANG\",\"KE_TOAN\"\\]\"}\\]","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"38470705","team":6502237,"collectionId":"6bac471b-7d78-4656-b615-806d373cbfd1","publishedId":"2sAXxV4pcH","public":true,"publicUrl":"https://documenter-api.postman.tech/view/38470705/2sAXxV4pcH","privateUrl":"https://go.postman.co/documentation/38470705-6bac471b-7d78-4656-b615-806d373cbfd1","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Tài liệu API cho hệ thống môi giới vay vốn"},{"name":"title","value":"Super Loan API Documentation"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2024-10-16T08:15:54.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Super Loan API Documentation","description":"Tài liệu API cho hệ thống môi giới vay vốn"},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"Testing (for fe dev)","id":"32fff7cb-f59b-4604-8a3d-3a1393a6606c","owner":"38470705","values":[{"key":"LOAN_SERVICE_URL","value":"http://152.42.232.101:9005/api/v1/loan-service","enabled":true,"type":"default"},{"key":"LOGIN_TOKEN","value":"","enabled":true,"type":"default"},{"key":"MEDIA_SERVICE_URL","value":"http://152.42.232.101:9005/api/v1/media-service","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/6191e6071da22b0b1e7ccf4e3801bb8148c6940dc9be7bcc5f00e8d1a7af20c1","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Testing (for fe dev)","value":"38470705-32fff7cb-f59b-4604-8a3d-3a1393a6606c"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sAXxV4pcH"}