|
|
@ -1,4 +1,4 @@ |
|
|
|
@token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hZHctYXBpLm9zcHJvLmlkXC9hcGlcL2xvZ2luIiwiaWF0IjoxNjc2OTY4ODM5LCJleHAiOjE2Nzc1NzM2MzksIm5iZiI6MTY3Njk2ODgzOSwianRpIjoiYW9jS3djZWYyaHRyQ2w1cCIsInN1YiI6MTI0NywicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.krJmIqfkqQ4Dh9mZye5gCQeB2-JjVf1t1B_GEwnIslQ |
|
|
|
@token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hZHctYXBpLm9zcHJvLmlkXC9hcGlcL2xvZ2luIiwiaWF0IjoxNjc2OTc2Mjc1LCJleHAiOjE2Nzc1ODEwNzUsIm5iZiI6MTY3Njk3NjI3NSwianRpIjoiQ1dMUFZOend6cHdZd0dDZyIsInN1YiI6MSwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.w0ZXoDAch3Hu8ziKBQTSTF5QH5SbaOhFsA__DHJp66A |
|
|
|
|
|
|
|
|
|
|
|
@hostname = https://adw-api.ospro.id/api |
|
|
|
@hostname = https://adw-api.ospro.id/api |
|
|
|
# @hostname = https://ospro-api.ospro.id/api |
|
|
|
# @hostname = https://ospro-api.ospro.id/api |
|
|
@ -15,8 +15,8 @@ POST {{hostname}}/login |
|
|
|
content-type: application/json |
|
|
|
content-type: application/json |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
"username": "demo", |
|
|
|
"username": "admin", |
|
|
|
"password": "demo123" |
|
|
|
"password": "1nt3gr4s14" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
###### Tools Req |
|
|
|
###### Tools Req |
|
|
@ -784,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 |
|
|
|
POST {{hostname}}/assign-material/ForReportActivityByMaterial |
|
|
|