@token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODQ0NFwvYXBpXC9sb2dpbiIsImlhdCI6MTY3NjI5MTQwNiwiZXhwIjoxNjc2ODk2MjA2LCJuYmYiOjE2NzYyOTE0MDYsImp0aSI6IkNNRVNGMEcwVzVNQlRLenoiLCJzdWIiOjEyNDcsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.ZV2ncAf6H61vnK7fmg-bMfeqBTcxm0aFE5zs_4tor8g # @hostname = https://adw-api.ospro.id/api # @hostname = https://ospro-api.ospro.id/api # @hostname = https://api-iu.ospro.id/api # @hostname = https://api-staging-adw.ospro.id/api @hostname = http://localhost:8444/api # @hostname = http://103.73.125.81:8444/api # @hostname = http://localhost:8444/adw-ba/api ###### login POST {{hostname}}/login # Authorization: Bearer xxx # X-REQUEST-TYPE: GraphQL 1123150023 content-type: application/json { "username": "demo", "password": "demo123" } ###### Tools Req ### add POST {{hostname}}/req-tools/add Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvb3Nwcm8tYXBpLm9zcHJvLmlkXC9hcGlcL2xvZ2luIiwiaWF0IjoxNjUyODYzNzM4LCJleHAiOjE2NTI5NTAxMzgsIm5iZiI6MTY1Mjg2MzczOCwianRpIjoia2ZwNnhwc0ZZZ0dFNEtGSSIsInN1YiI6MSwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.f7a0M-GKYgacXtaEmZJUs2UOPFXaigEwGu8OfZ117kI content-type: application/json { "asset_type": "Alat Berat 1", "asset_name": "Beco", "required_date":"2021-12-16", "qty": 10, "uom": "Kg", "description": "test Data", "created_by":"admin", "proyek_id":1 } ### update PUT {{hostname}}/req-tools/update/3 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "qty": 332, } ### search POST {{hostname}}/req-tools/search Authorization: Bearer {{token}} content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"asset_type", "logic_operator":"like", "value":"", "operator":"AND" }, { "name":"status", "logic_operator":"<>", "value":"receipt to site", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ### delete DELETE {{hostname}}/req-tools/delete/13 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ###### Menu ### add POST {{hostname}}/menu/add Authorization: {{token}} content-type: application/json { "alias_name": "Alat Berat 1", "icon": "#", "name":"2021-12-16", "parent_id": 23, "sequence": 100, "url": "test Data" } ### update PUT {{hostname}}/req-tools/update/3 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "qty": 332, } ### search POST {{hostname}}/menu/search Authorization: Bearer {{token}} content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"name", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[ { "name":"m_menu", "column_join":"parent_id", "column_results":["name"], } ], "orders":{ "columns":[ "id" ], "ascending":false } } ### delete DELETE {{hostname}}/req-tools/delete/13 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ###### Material Req ### add POST {{hostname}}/request-material/add Authorization: Bearer {{token}} content-type: application/json { "description": "Lempengan Besi", "required_date": "2022-05-04", "qty": "1000", "uom": "Lembar", "fom_date": "2022-05-04", "proyek_id": 29, "price":10 } ### update PUT {{hostname}}/request-material/update/20 Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvb3Nwcm8tYXBpLm9zcHJvLmlkXC9hcGlcL2xvZ2luIiwiaWF0IjoxNjQyMTE1NjQyLCJleHAiOjE2NDIyMDIwNDIsIm5iZiI6MTY0MjExNTY0MiwianRpIjoiVWt1UjRnZjVUMHQ5YXRQWSIsInN1YiI6MSwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.ftCrSs5v7GxqxW64ZcfZn40Opxom5YoFcDMMF1TvWrk Content-Type: application/x-www-form-urlencoded Accept: application/json { "description": "Pebble", "fom_date": "2022-01-12T09:59:26.190Z", "id": 20, "po_date": null, "pr_date": null, "qty": "10", "qty_received": "100", "received_date": null, "required_date": "2022-01-12T09:59:07.739Z", "status": "fom", "uom": "kg" } ### search POST {{hostname}}/request-material/search Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"description", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ### delete DELETE {{hostname}}/request-material/delete/2 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ###### Human Resource ### add POST {{hostname}}/human-resource/add Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "role_id" : 1, "username" : "ibnu", "password" : "test", "name" : "ibnu", "phone_number" : "083823134569", "email" : "ibnu@gmail.com", "address" : "gria pesona madani", "ktp_number" : "3212141105950004", "employee_type" : "freelance" } ### update PUT {{hostname}}/human-resource/update/8 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "address" : "gria pesona madani 1" } ### delete DELETE {{hostname}}/human-resource/delete/8 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ### search POST {{hostname}}/human-resource/search Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"name", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ###### Material Resource ### add POST {{hostname}}/material-resource/add Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "id": 3, "name": "Batangan Besi", "uom": "truck", "unit_price": 500000, "description": "Pasir", "qty": 1000 } ### update PUT {{hostname}}/material-resource/update/5 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "uom" : "Batang" } ### delete DELETE {{hostname}}/material-resource/delete/5 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ### search POST {{hostname}}/material-resource/search Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"name", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ###### Tools Resource ### add POST {{hostname}}/tools-resource/add Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "name": "Excavator Belco", "description": "Excavator Belco", "uom":"unit", "qty": "100", "asset_type": "Alat Berat" } ### update PUT {{hostname}}/tools-resource/update/5 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "name" : "Excavator Kobelco" } ### delete DELETE {{hostname}}/tools-resource/delete/5 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json ### search POST {{hostname}}/tools-resource/search Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"name", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ###### Project ### list GET {{hostname}}/project/list Authorization: Bearer {{token}} content-type: application/json ### add POST {{hostname}}/project/add Authorization: Bearer {{token}} content-type: application/json { "nama": "Excavator Belco", "keterangan": "Excavator Belco", "mulai_proyek":"2022/01/11", "akhir_proyek": "2022/05/11" } ### update PUT {{hostname}}/project/update/5 Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "name" : "Excavator Kobelco" } ### delete DELETE {{hostname}}/project/delete/19 Authorization: Bearer {{token}} content-type: application/json ### search POST {{hostname}}/tools-resource/search Authorization: Bearer dFWBXe6qQQm_s4DyH68yVt:APA91bFTms-pjqm-9OkugufLF2yjtOTJZQBlVxY8FC5iYq3owmWzGZtlPSSHholMeUxeE0TRQ6pFfEKvy5xRHnufPu4dJNiY-2gRGHKch6o4iWU9gp3GDHQ7sm-ySsE9keCMKzmQ11aM content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"name", "logic_operator":"like", "value":"", "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "id" ], "ascending":false } } ### dashboard GET {{hostname}}/project/dashboard/47 Authorization: Bearer {{token}} content-type: application/json ###### Divisi ### list GET {{hostname}}/divisi/list Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvb3Nwcm8tYXBpLm9zcHJvLmlkXC9hcGlcL2xvZ2luIiwiaWF0IjoxNjQxNDYwNDcyLCJleHAiOjE2NDE0NjQwNzIsIm5iZiI6MTY0MTQ2MDQ3MiwianRpIjoiRjRxYmJ3U25YcEw0OXN0QyIsInN1YiI6MSwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.CLm_ZOEW5GCyGJuIcRNIRD8m1XxIeSCH60QK2HxF8d0 content-type: application/json ###### Activity ### get data by id version GET {{hostname}}/activity/33/29/get Authorization: Bearer {{token}} content-type: application/json ###### Rate Sallary ### list GET {{hostname}}/project-role/list Authorization: Bearer {{token}} content-type: application/json ###### Rate Sallary ### list GET {{hostname}}/rate-sallary/list Authorization: Bearer {{token}} content-type: application/json ### add POST {{hostname}}/rate-sallary/add Authorization: Bearer {{token}} content-type: application/json { "project_role_id" : 4, "cost" : 2000, "type_rate" : "UMR Jatim" } ### update PUT {{hostname}}/rate-sallary/update/{id} Authorization: Bearer {{token}} content-type: application/json { "project_role_id" : 4, "cost" : 2000, "type_rate" : "UMR Jatim" } ### delete POST {{hostname}}/rate-sallary/delete/{id} Authorization: Bearer {{token}} content-type: application/json { "project_role_id" : 4, "cost" : 2000, "type_rate" : "UMR Jatim" } ### search POST {{hostname}}/dashboard/percentage-planning-actual Authorization: Bearer {{token}} content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[ { "name":"proyek_id", "logic_operator":"in", "value":[7,6,4], "operator":"AND" }, { "name":"version_gantt_id", "logic_operator":"=", "value":3, "operator":"AND" } ], "joins":[], "orders":{ "columns":[ "proyek_id" ], "ascending":true } } ### POST {{hostname}}/dashboard/cost-planning-actual Authorization: Bearer {{token}} content-type: application/json { "project_id" : [11] } ### POST {{hostname}}/dashboard/percentage-planning-actual Authorization: Bearer {{token}} content-type: application/json { "project_id" : [11] } ###### project participants ### add POST {{hostname}}/project-participants/add Authorization: Bearer {{token}} content-type: application/json { "proyek_id" : 11, "tittle" : "investor", "name" : "ibnu" } # get('/project-participants/edit/{id}', 'ProjectParticipantsController@edit'); ### update # PUT {{hostname}}//project-participants/update/11 # POST {{hostname}}/project-participants/search # DELETE {{hostname}}/project-participants/delete/{id} # GET {{hostname}}/project-participants/list ### GET {{hostname}}/project-participants/list Authorization: Bearer {{token}} content-type: application/json ### GET {{hostname}}/project-participants/proyek_id/11 Authorization: Bearer {{token}} content-type: application/json ### DELETE {{hostname}}/project-participants/delete/1 Authorization: Bearer {{token}} content-type: application/json ### DELETE {{hostname}}/project-participants/delete-by-proyek/7 Authorization: Bearer {{token}} content-type: application/json ###### project-approval POST {{hostname}}/project-approval/add Authorization: Bearer {{token}} content-type: application/json { "proyek_id" : 7, "tittle" : "investor", "name" : "koko", "date_approval" : "2022/01/21" } ### get {{hostname}}/project-approval/edit/{id} put {{hostname}}/project-approval/update/{id} post {{hostname}}/project-approval/search delete {{hostname}}/project-approval/delete/{id} get {{hostname}}/project-approval/list ###### project-milestone post {{hostname}}/project-milestone/add Authorization: Bearer {{token}} content-type: application/json { "proyek_id" : 7, "status" : "Build 2. Finish eksekusi", "due_date" : "2022/01/21", "deadline" : "2022/01/21" } ### get {{hostname}}/project-milestone/edit/{id} put {{hostname}}/project-milestone/update/{id} post {{hostname}}/project-milestone/search delete {{hostname}}/project-milestone/delete/{id} get {{hostname}}/project-milestone/list get {{hostname}}/project-milestone/select ### GET {{hostname}}/template-gantt/get-tree/3 Authorization: Bearer {{token}} content-type: application/json ### POST {{hostname}}/folder-document-proyek/add Authorization: Bearer {{token}} content-type: application/json { "proyek_id": "12", "name_folder": "test 1", "parent_id" : 1 } ### GET {{hostname}}/folder-document-proyek/list Authorization: Bearer {{token}} content-type: application/json ### GET {{hostname}}/folder-document-proyek/get-tree/12 Authorization: Bearer {{token}} content-type: application/json ### POST {{hostname}}/human-resource/select Authorization: Bearer {{token}} content-type: application/json { "idact" : "362", "idProyek": "11" } ### POST https://ospro-api.ospro.id/api/dashboard/status-proyek Authorization: Bearer {{token}} content-type: application/json { "project_id": [11] } ### POST {{hostname}}/activity/get-percentage Authorization: Bearer {{token}} content-type: application/json { "project_id": [11] } ### POST {{hostname}}/activity/get-curva-s Authorization: Bearer {{token}} content-type: application/json { "project_id": [47], "period": "week" } ### POST {{hostname}}/dashboard/curva-s Authorization: Bearer {{token}} content-type: application/json { "project_id": [15] } ### POST {{hostname}}/presence/search Authorization: Bearer {{token}} content-type: application/json { "paging":{ "start":0, "length":10 }, "columns":[], "joins": [ { "name": "m_users", "column_join": "user_id", "column_results": [ "name", "ktp_number" ] } ], "orders":{ "columns":[ "id" ], "ascending":true } } ### POST {{hostname}}/assign-material/ForReportActivityByMaterial Authorization: Bearer {{token}} content-type: application/json { "idact": 387 } ###### GET {{hostname}}/presence/clockinout/262 Authorization: Bearer {{token}} content-type: application/json ###### POST {{hostname}}/presence/add Authorization: Bearer {{token}} content-type: application/json { "clock_in_lat": -6.16678379060529, "clock_in_lng": 106.9175039866567, "clock_time": "2023-02-10T14:48:17+07:00", "type": "in", "user_id": 1247 } ###### POST {{hostname}}/presence/add Authorization: Bearer {{token}} content-type: application/json { "clock_in_lat": -1.4264273154149407, "clock_in_lng": 113.98530036945851, "clock_time": "2023-02-13T16:40:17+07:00", "type": "in", "user_id": 1 } ###### # POST {{hostname}}/ GET {{hostname}}/assign-material/datatablesForReportActivity?draw=2&columns[0][data]=material_name&columns[0][name]=material_name&columns[0][searchable]=true&columns[0][orderable]=true&columns[0][search][value]=&columns[0][search][regex]=false&columns[1][data]=type&columns[1][name]=type&columns[1][searchable]=true&columns[1][orderable]=true&columns[1][search][value]=&columns[1][search][regex]=false&columns[2][data]=qty_planning&columns[2][name]=&columns[2][searchable]=true&columns[2][orderable]=true&columns[2][search][value]=&columns[2][search][regex]=false&columns[3][data]=qty_sum&columns[3][name]=&columns[3][searchable]=true&columns[3][orderable]=true&columns[3][search][value]=&columns[3][search][regex]=false&columns[4][data]=uom&columns[4][name]=uom&columns[4][searchable]=true&columns[4][orderable]=true&columns[4][search][value]=&columns[4][search][regex]=false&columns[5][data]=action&columns[5][name]=action&columns[5][searchable]=true&columns[5][orderable]=true&columns[5][search][value]=&columns[5][search][regex]=false&order[0][column]=0&order[0][dir]=asc&start=0&length=10&search[value]=&search[regex]=false&idact=2511&_=1675418553660 Authorization: Bearer {{token}} content-type: application/json ###### GET {{hostname}}/dashboard/get-total-project-per-schedule-health Authorization: Bearer {{token}} content-type: application/json ###### GET {{hostname}}/dashboard/get-detail-expenditure Authorization: Bearer {{token}} content-type: application/json ###### GET {{hostname}}/presence/bulk-update-location Authorization: Bearer {{token}} content-type: application/json ##### GET https://nominatim.oslogdev.com/reverse?lat=-6.2622811&lon=106.7881746&format=json ###### POST {{hostname}}/waypoint/add Authorization: Bearer {{token}} content-type: application/json { "user_id": 1247, "lat": -6.2622811, "lng": 106.7881746, "wptime": "2023-02-07T10:40:17+07:00", "speed": 0, "angle": 0, "satelite": 0 } ###### POST {{hostname}}/map-monitoring/search Authorization: Bearer {{token}} content-type: application/json { "project_id" : [1, 2, 3] } ###### POST {{hostname}}/waypoint/add-bulk Authorization: Bearer {{token}} content-type: application/json { "wp_records": [ { "user_id": 1247, "lon": 106.88702067952579, "lat": -6.193331793510694, "wptime": "2023-02-07T10:40:17+07:00", "speed": 0, "angle": 0, "satelite": 0, "datesend": "2023-02-07T10:40:17+07:00" }, { "user_id": 1247, "lon": 106.88731982052337, "lat": -6.1933255977790225, "wptime": "2023-02-07T10:41:17+07:00", "speed": 0, "angle": 0, "satelite": 0, "datesend": "2023-02-07T10:41:17+07:00" }, { "user_id": 1247, "lon": 106.88765896352822, "lat": -6.193328086924183, "wptime": "2023-02-07T10:42:17+07:00", "speed": 0, "angle": 0, "satelite": 0, "datesend": "2023-02-07T10:42:17+07:00" }, { "user_id": 1247, "lon": 106.88812637133634, "lat": -6.1933373805197505, "wptime": "2023-02-07T10:43:17+07:00", "speed": 0, "angle": 0, "satelite": 0, "datesend": "2023-02-07T10:43:17+07:00" }, { "user_id": 1247, "lon": 106.88867721532353, "lat": -6.1933448515770095, "wptime": "2023-02-07T10:44:17+07:00", "speed": 0, "angle": 0, "satelite": 0, "datesend": "2023-02-07T10:44:17+07:00" } ] } ##### POST {{hostname}}/map-monitoring/search Authorization: Bearer {{token}} content-type: application/json { "time_from": "2023-02-10 00:00:00", "time_to": "2023-02-10 23:59:00", } # { # "columns": [ # { # "logic_operator": "range", # "name": "created_at", # "operator": "AND", # "value": "2023-02-10 00:00:00", # "value1": "2023-02-10 23:59:00" # } # ], # "joins": [ # { # "column_join": "user_id", # "column_results": [ # "username", "name" # ], # "name": "m_users" # } # ], # "orders": { # "ascending": false, # "columns": [ # "created_at" # ] # }, # "paging": { # "length": 25, # "start": 0 # } # }