|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
@token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODQ0NFwvYXBpXC9sb2dpbiIsImlhdCI6MTY3NzQ3NzIzMSwiZXhwIjoxNjc4MDgyMDMxLCJuYmYiOjE2Nzc0NzcyMzEsImp0aSI6ImR5WWhRY3ZIbUJEcmFKMG0iLCJzdWIiOjEsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.9zT6CBbQholzIdQ9ZBDoxMvrR-PKvIYkGzdNB6bim0Y |
|
|
|
|
|
|
|
|
|
# @hostname = https://adw-api.ospro.id/api |
|
|
|
|
@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://localhost:8444/api |
|
|
|
|
# @hostname = http://103.73.125.81:8444/api |
|
|
|
|
# @hostname = http://localhost:8444/adw-ba/api |
|
|
|
|
# @hostname = http://localhost:8444/adw-backend/api |
|
|
|
|
|
|
|
|
|
###### login |
|
|
|
|
POST {{hostname}}/login |
|
|
|
@ -749,6 +749,10 @@ 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 |
|
|
|
@ -766,8 +770,8 @@ content-type: application/json
|
|
|
|
|
"name": "m_users", |
|
|
|
|
"column_join": "user_id", |
|
|
|
|
"column_results": [ |
|
|
|
|
"name", |
|
|
|
|
"ktp_number" |
|
|
|
|
"username", |
|
|
|
|
"name" |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
@ -780,6 +784,95 @@ content-type: application/json
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### |
|
|
|
|
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 |
|
|
|
@ -974,6 +1067,7 @@ content-type: application/json
|
|
|
|
|
# } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
GET /stock_master?name=SEARCH |
|
|
|
|
|
|
|
|
|
###### |
|
|
|
@ -1008,4 +1102,12 @@ content-type: application/json
|
|
|
|
|
}] |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
======= |
|
|
|
|
### get image |
|
|
|
|
# GET {{hostname}}/image/106/presensi |
|
|
|
|
GET {{hostname}}/image/1634/report_activity |
|
|
|
|
Authorization: Bearer {{token}} |
|
|
|
|
content-type: application/json |
|
|
|
|
|
|
|
|
|
>>>>>>> e18d0c3c5b06faa60a69b484259ec0102546422f |
|
|
|
|