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]
}
###
GET https://adw-api.ospro.id/api/request-material/get-material-integration?name=c
Authorization: Bearer {{token}}
content-type: application/json
###
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": [
"username",
"name"
]
}
],
"orders":{
"columns":[
"id"
],
"ascending":true
}
}
###
POST {{hostname}}/report-k3/search
Authorization: Bearer {{token}}
content-type: application/json
{
"paging": {
"start": 0,
"length": 10
},
"filter_columns": [
{
"name": "name",
"value": "",
"table_name": "m_users"
}
],
"columns": [
{
"name": "report_date",
"logic_operator": "range",
"value": "2023-02-21 00:00:00",
"value1": "2023-02-21 23:59:59",
"operator": "AND"
},
{
"name": "name",
"logic_operator": "ilike",
"value": "",
"operator": "AND",
"table_name": "m_users"
},
{
"name": "proyek_id",
"logic_operator": "in",
"value": [
80,
79,
78,
76,
75,
74,
73,
72,
71,
66,
64,
63,
62,
58,
57,
49,
48,
47,
37,
31
]
}
],
"joins": [
{
"name": "m_users",
"column_join": "user_id",
"column_results": [
"name"
]
},
{
"name": "m_proyek",
"column_join": "proyek_id",
"column_results": [
"nama"
]
}
],
"orders": {
"columns": [
"id"
],
"ascending": false
},
"child_data": {
"table_name": "t_report_k3_detail",
"column_table": "report_k3_id",
"column_name": "id"
}
}
###
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-16T14: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" : [75, 76, 78]
}
######
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
# }
# }
<<<<<<< HEAD
GET /stock_master?name=SEARCH
######
GET {{hostname}}/request-material/get-material-integration
Authorization: Bearer {{token}}
content-type: application/json
######
POST {{hostname}}/presence/reportk3
Authorization: Bearer {{token}}
content-type: application/json
{
"time" : "2023-02-16T14:48:17+07:00", // untuk report date, time_clockin/out