{ "openapi":"3.0.1", "info":{ "title":"Webservice iProcurement", "description":"Webservice integrasi iProc", "version":"2.0" }, "servers":[ { "url":"https://ws-eproc-staging.pelni.co.id/iproc_ws/swagger" } ], "paths":{ "/ldap":{ "post":{ "tags":["HRM"], "description":"Login via LDAP", "operationId": "getloginldap", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "data":{ "properties":{ "useraccount" : { "type" : "string" }, "password" : { "type" : "string" } } }, }, "required":[ token, useraccount, password ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/get_pegawai":{ "post":{ "tags":["HRM"], "description":"Login via LDAP", "operationId": "get_pegawai", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "last_modified":{ "type":"string" } }, "required":[ token, last_modified ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/get_unit_kerja":{ "post":{ "tags":["HRM"], "description":"Get Unit Kerja", "operationId": "get_unit_kerja", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "last_modified":{ "type":"string" } }, "required":[ token, last_modified ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/get_jabatan":{ "post":{ "tags":["HRM"], "description":"Get Jabatan", "operationId": "get_jabatan_hrm", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "last_modified":{ "type":"string" } }, "required":[ token, last_modified ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/send_umkm_padi":{ "post":{ "tags":["PaDi UMKM"], "description":"Mengirim data UMKM ke PADI", "operationId": "send_umkm_padi", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "umkm":{ "type":"array", "items" :{ "properties": { "bumnid" : { "type" : "string" }, "uid" : { "type" : "string" }, "nama_umkm" : { "type" : "string" }, "kategori_usaha" : { "type" : "string" }, "jenis_kegiatan_usaha" : { "type" : "string" }, "alamat" : { "type" : "string" }, "blok_no_kav" : { "type" : "string" }, "kode_pos" : { "type" : "string" }, "kota" : { "type" : "string" }, "provinsi" : { "type" : "string" }, "no_telp" : { "type" : "string" }, "hp" : { "type" : "string" }, "email" : { "type" : "string" }, "npwp" : { "type" : "string" }, "nama_bank" : { "type" : "string" }, "country_bank" : { "type" : "string" }, "no_rekening" : { "type" : "string" }, "nama_pemilik_rekening" : { "type" : "string" }, "longitude" : { "type" : "string" }, "latitude" : { "type" : "string" }, "umkm_classification" : { "type" : "string" }, "total_project" : { "type" : "number" }, "total_revenue" : { "type" : "number" }, "ontime_rate" : { "type" : "string" }, "average_rating" : { "type" : "string" } } } }, }, "required":[ token, last_modified ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/send_transaksi_padi":{ "post":{ "tags":["PaDi UMKM"], "description":"Mengirim data transaski UMKM ke PADI", "operationId": "send_transaksi_umkm", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "transaction":{ "type":"array", "items" : { "properties": { "tanggal_transaksi" : { "type" : "string" }, "transaksi_id" : { "type" : "string" }, "bumn_id" : { "type" : "string" }, "nama_project" : { "type" : "string" }, "kategori_project" : { "type" : "string" }, "total_nilai_project" : { "type" : "string" }, "tipe_nilai_project" : { "type" : "string" }, "kategori_umkm" : { "type" : "string" }, "uid_umkm" : { "type" : "string" }, "nama_umkm" : { "type" : "string" }, "target_penyelesaian" : { "type" : "string" }, "tanggal_order_placement" : { "type" : "string" }, "tanggal_confirmation" : { "type" : "string" }, "tanggal_delivery" : { "type" : "string" }, "tanggal_invoice" : { "type" : "string" }, "total_cycle_time" : { "type" : "string" }, "category_delivery_time" : { "type" : "string" }, "rating" : { "type" : "string" }, "feedback" : { "type" : "string" }, "deskripsi_project" : { "type" : "string" } } } }, }, "required":[ token, last_modified ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/get_oum_siparsel":{ "post":{ "tags":["Siparsel"], "description":"Get Uom Siparsel", "operationId": "get_uom_siparsel", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "last_update":{ "type":"string" } }, "required":[ token, last_update ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/get_item_siparsel":{ "post":{ "tags":["Siparsel"], "description":"Get Item Siparsel", "operationId": "get_item_siparsel", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "last_update":{ "type":"string" } }, "required":[ token, last_update ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/update_status_siparsel":{ "post":{ "tags":["Siparsel"], "description":"Mengupdate status kirim siparsel", "operationId": "update_status_siparsel", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "data":{ "type":"array", "items" :{ "properties":{ "no_pr" : { "type" : "string" }, "no_po" : { "type" : "string" }, "status" : { "type" : "string" }, } } }, }, "required":[ token ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/budgeting/send":{ "post":{ "tags":["Budgeting"], "description":"Menerima data budgeting", "operationId": "send_budgeting", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "data":{ "type":"array", "items" : { "properties": { "kode_unit" : { "type" : "string" }, "nama_unit" : { "type" : "string" }, "kode_anggaran" : { "type" : "string" }, "coa" : { "type" : "string" }, "ket_coa" : { "type" : "string" }, "nominal" : { "type" : "number" }, "tahun" : { "type" : "string" } } } }, }, "required":[ token ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/templateitem/send":{ "post":{ "tags":["Siparsel"], "description":"Menerima data template item.", "operationId": "send_budgeting", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "nama_template":{ "type":"string" }, "deskripsi_template":{ "type":"string" }, "code_template":{ "type":"string" }, "pr_siparsel":{ "type":"string" }, "status":{ "type":"string" }, "tanggal_pembuatan":{ "type":"string" }, "kode_unit":{ "type":"string" }, "item":{ "type":"array", "items" : { "properties": { "line_id" : { "type" : "integer" }, "item_code_siparsel" : { "type" : "string" }, "deskripsi_item" : { "type" : "string" }, "uom" : { "type" : "string" }, "ppn" : { "type" : "string" }, "jenis" : { "type" : "string" }, "jumlah" : { "type" : "number" }, "tanggal_pembuatan_item" : { "type" : "string" }, "harga" : { "type" : "number" }, "kode_delivery_point" : { "type" : "string" } } } }, }, "required":[ token ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/send_data_perikatan":{ "post":{ "tags":["Perikatan Hukum"], "description":"Mengerim data dokumen", "operationId": "send_perikatan", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "data":{ "properties": { "nama_pekerjaan" : { "type" : "string" }, "deskripsi_pekerjaan" : { "type" : "string" }, "nominal" : { "type" : "number" }, "detail_pekerjaan":{ "type":"array", "items" : { "properties": { "perikatan_template_d_kode" : { "type" : "string" }, "perikatan_template_url" : { "type" : "string" } } } }, } }, }, "required":[ token ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "/request/pengadaan":{ "post":{ "tags":["Pengadaan"], "description":"Data Pengadaan", "operationId": "get_pengadaan", "requestBody":{ "description":"Required *", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "token":{ "type":"string" }, "no_rfq":{ "type":"string" }, "status":{ "type":"string" }, "modified_date":{ "type":"string" }, }, "required":[ token ], }, } } }, "responses":{ "200":{ "description":"Success" }, "400":{ "description":"Failed" } } }, }, "components":{ "securitySchemes":{ "basic":{ "type":"https", "scheme":"basic" } } } } }