{"info":{"_postman_id":"bbea6907-7565-48da-b1f2-a39a5b0fbf41","name":"Request Public API","description":"<html><head></head><body><p>External APIs for Base Request</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1345096","collectionId":"bbea6907-7565-48da-b1f2-a39a5b0fbf41","publishedId":"SzzheyWQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-15T01:50:03.000Z"},"item":[{"name":"Group","item":[{"name":"Get detail of group request by ID","id":"6c56a704-a6a1-4f5f-8569-3cf2614edf11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"id","value":"11","description":"<p>REQUIRED, id of the group</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/group/get","description":"<p>Get specific group by ID</p>\n","urlObject":{"protocol":"https","path":["extapi","v1","group","get"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c56a704-a6a1-4f5f-8569-3cf2614edf11"},{"name":"List all groups","id":"c977a7eb-a523-423c-a0b4-7de557dadbdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","type":"text","value":"{{request_access_token}}"},{"description":"<p>Optional, page_id</p>\n","key":"page","type":"text","value":"0"}]},"url":"https://request.{{domain}}/extapi/v1/group/list","description":"<p>Get list of all groups</p>\n","urlObject":{"protocol":"https","path":["extapi","v1","group","list"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c977a7eb-a523-423c-a0b4-7de557dadbdd"}],"id":"e2554e07-ed28-48e3-a2b4-be5bc9a273b8","_postman_id":"e2554e07-ed28-48e3-a2b4-be5bc9a273b8","description":""},{"name":"Request","item":[{"name":"Direct","item":[{"name":"Create a new request by direct group","id":"4f7e0265-ed7e-4915-a704-ca800687fa08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"username","value":"kien","description":"<p>required, username of creator</p>\n","type":"text"},{"key":"name","value":"Đề xuất cung cấp thiết bị cho newbie","description":"<p>required, name of request</p>\n","type":"text"},{"key":"approvers","value":"hung","description":"<p>requied</p>\n","type":"text"},{"key":"followers","value":"anhtran caonguyen datkhuc tienle trangpham","description":"<p>optional</p>\n","type":"text"},{"key":"content","value":"Team Product có thành viên mới, đề xuất cung cấp thêm các thiết bị làm việc","description":"<p>optional</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/direct/create","urlObject":{"protocol":"https","path":["extapi","v1","request","direct","create"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f7e0265-ed7e-4915-a704-ca800687fa08"}],"id":"2def2087-b8bb-4991-bd1b-26d39b03d802","_postman_id":"2def2087-b8bb-4991-bd1b-26d39b03d802","description":""},{"name":"Post","item":[{"name":"Get posts of request","id":"c726a6d3-f68e-40b6-a792-3b5bdac3f8f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"id","value":"206","description":"<p>required, id of request</p>\n","type":"text"},{"key":"last_id","value":"17","description":"<p>optional, default is for loading the newest posts, another for loading comments older than post with 'last_id' </p>\n<p>API support get 10 posts in each API request</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/post/load","urlObject":{"protocol":"https","path":["extapi","v1","request","post","load"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c726a6d3-f68e-40b6-a792-3b5bdac3f8f7"}],"id":"df6ae5d2-13b9-429b-a97d-5b9e2399acf5","_postman_id":"df6ae5d2-13b9-429b-a97d-5b9e2399acf5","description":""},{"name":"Comment","item":[{"name":"Get comments of post","id":"19318c25-e2a6-4f07-a88c-07d9eef7b70a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"hid","value":"MjQzLnBvc3Rzt","description":"<p>required, hid of a post in request</p>\n","type":"text"},{"key":"method","value":"prev","description":"<p>optional, default is 'page', supported values 'page', 'prev'</p>\n","type":"text"},{"key":"position","value":"16","description":"<p>optional, default is 0, depends on method params</p>\n<p>if method is \"prev\", it will load comments that is older than comment with \"position\" id</p>\n<p>if method is \"page\", it will load comments in page with order \"position\", we have 10 comments each page</p>\n<p>API support get 10 comments in each API request</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/comment/load","urlObject":{"protocol":"https","path":["extapi","v1","request","comment","load"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19318c25-e2a6-4f07-a88c-07d9eef7b70a"}],"id":"d6aa0705-f80f-4b26-acd2-7c4d3a92cf47","_postman_id":"d6aa0705-f80f-4b26-acd2-7c4d3a92cf47","description":""},{"name":"Get detail of request by ID","id":"fba53890-5b85-4e1f-97e7-810c4538a825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"id","value":"6","description":"<p>REQUIRED, id of the request</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/get","description":"<p>Get specific request by ID</p>\n","urlObject":{"protocol":"https","path":["extapi","v1","request","get"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fba53890-5b85-4e1f-97e7-810c4538a825"},{"name":"List all requests in system","id":"31f97486-5a93-40d4-a0ed-14529bbecbc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"group","value":"11","description":"<p>Optional, query on group_id (\"direct\" with direct group)</p>\n","type":"text"},{"key":"status","value":"","description":"<p>Optional, status value (pending, approved, rejected, overdue)</p>\n","type":"text"},{"key":"users","value":"admin,hungkien","description":"<p>Optional, query on assigned users (list usernames)</p>\n","type":"text"},{"key":"q","value":"","description":"<p>Optional, query string by name</p>\n","type":"text"},{"key":"created_from","value":"22/11/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"created_to","value":"22/12/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"deadline_from","value":"22/11/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"deadline_to","value":"22/12/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"finish_from","value":"22/11/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"finish_to","value":"22/12/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"updated_from","value":"22/12/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"updated_to","value":"22/12/2020","description":"<p>format dd/mm/YYYY</p>\n","type":"text"},{"key":"page","value":"0","description":"<p>Optional, page_id</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/list","description":"<p>Get list of all requests in system</p>\n","urlObject":{"protocol":"https","path":["extapi","v1","request","list"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"31f97486-5a93-40d4-a0ed-14529bbecbc9"},{"name":"Create a new request by custom group","id":"48f09028-19f6-45d4-adee-31f9a3192bf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"username","value":"tienle","description":"<p>required, username of creator</p>\n","type":"text"},{"key":"group_id","value":"4","description":"<p>required, id of group</p>\n","type":"text"},{"key":"name","value":"Thanh toán hóa đơn thiết bị làm việc cho product","description":"<p>required, name of request</p>\n","type":"text"},{"key":"direct_managers","value":"hung","description":"<p>required if group request require direct managers</p>\n","type":"text"},{"key":"followers","value":"trangpham haphuong","description":"<p>optional</p>\n","type":"text"},{"key":"content","value":"Thanh toán chi phí mua và lắp đặt các thiết bị mới cho team Product","description":"<p>optional, description of request</p>\n","type":"text"},{"key":"custom_so_luong_thiet_bi","value":"5","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_danh_sach_thiet_bi","value":"Màn hình Dell Ultrasharp U2422, Màn hình Dell P2319, PC Dell, PC Asus","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_tong_chi_phi","value":"36000000","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_thoi_gian_quyet_toan-date","value":"23/10/2021","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_thoi_gian_quyet_toan-time","value":"12:00","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_don_vi_cung_cap","value":"Phong Vũ Store","description":"<p>required or not by group setting</p>\n","type":"text"},{"key":"custom_ma_hoa_don","value":"8736492663","description":"<p>required or not by group setting</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/create","urlObject":{"protocol":"https","path":["extapi","v1","request","create"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"48f09028-19f6-45d4-adee-31f9a3192bf6"},{"name":"Get detail request with custom table","id":"09dea51f-f644-4b60-accc-9499c041750c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text"},{"key":"id","value":"460762","description":"<p>Required, request id</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/custom.table","urlObject":{"protocol":"https","path":["extapi","v1","request","custom.table"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09dea51f-f644-4b60-accc-9499c041750c"},{"name":"Add follower to request","id":"b51a06c6-bf99-4485-9c59-b9e13da35918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{request_access_token}}","type":"text","description":"<p>REQUIRED, Là 1 token được tạo riêng cho từng app với từng system\nAccess token được lấy từ Base Account</p>\n"},{"key":"id","value":"229454","description":"<p>REQUIRED, ID của đề xuất (mã đề xuất)</p>\n","type":"text"},{"key":"username","value":"maipham","description":"<p>REQUIRED, Username của người add follower\nPhân quyền thao tác phụ thuộc vào Advanced settings của request group</p>\n","type":"text"},{"key":"followers","value":"linhdan minhchau","description":"<p>REQUIRED, Username của (những) người được add follower\nCách nhau bằng dấu phẩy hoặc dấu cách Giới hạn add 20 users trong 1 lần call API</p>\n","type":"text"}]},"url":"https://request.{{domain}}/extapi/v1/request/add.follower","description":"<p>Get specific request by ID</p>\n","urlObject":{"protocol":"https","path":["extapi","v1","request","add.follower"],"host":["request","{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b51a06c6-bf99-4485-9c59-b9e13da35918"}],"id":"668794e3-c060-4792-ac02-de0c9b99264c","_postman_id":"668794e3-c060-4792-ac02-de0c9b99264c","description":""}],"event":[{"listen":"prerequest","script":{"id":"0bc19845-65a5-4f99-b29c-5f338f30e42c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d527c377-0515-469c-81a1-d90e7709ce2b","type":"text/javascript","exec":[""]}}]}