add generate po contract
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
@host = accone.aplikasi.web.id/one-api/mockup
|
||||
|
||||
### Generate PI cicilan langsung
|
||||
POST https://{{host}}/scheduler/PurchaseInvoiceInstallment/GenerateMonthlyInvoices
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"startDate": "2026-07-01",
|
||||
"endDate": "2026-07-31",
|
||||
"dryRun": "Y"
|
||||
}
|
||||
|
||||
### List kontrak eligible yang belum diproses
|
||||
POST https://{{host}}/scheduler/PurchaseInvoiceInstallment/ListEligibleContracts
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"startDate": "2026-07-01",
|
||||
"endDate": "2026-07-31"
|
||||
}
|
||||
|
||||
### Generate PI cicilan untuk 1 kontrak
|
||||
POST https://{{host}}/scheduler/PurchaseInvoiceInstallment/GenerateMonthlyInvoices
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"startDate": "2026-07-01",
|
||||
"endDate": "2026-07-31",
|
||||
"contractID": 123,
|
||||
"dryRun": "Y"
|
||||
}
|
||||
|
||||
### Panggil endpoint generate via cURL internal
|
||||
POST https://{{host}}/scheduler/PurchaseInvoiceInstallment/CurlGenerateMonthlyInvoices
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"baseUrl": "https://accone.aplikasi.web.id/one-api/index.php",
|
||||
"startDate": "2026-07-01",
|
||||
"endDate": "2026-07-31",
|
||||
"userID": 1,
|
||||
"dryRun": "Y"
|
||||
}
|
||||
|
||||
### Panggil endpoint generate via cURL internal untuk kontrak tertentu
|
||||
POST https://{{host}}/scheduler/PurchaseInvoiceInstallment/CurlGenerateMonthlyInvoices
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"baseUrl": "https://accone.aplikasi.web.id/one-api/index.php",
|
||||
"startDate": "2026-07-01",
|
||||
"endDate": "2026-07-31",
|
||||
"userID": 1,
|
||||
"contractID": 123,
|
||||
"dryRun": "N"
|
||||
}
|
||||
Reference in New Issue
Block a user