[Invoice] - Rest Api Invoice Vue #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
host = devone.aplikasi.web.id/one-api-invoice/
get client dropdown autocomplete
POST http://{{host}}/invoice/Invoice/getClient
Content-Type: "application/json"
{
"keyword":"a",
"companyID":2,
"isSearch":"Y"
}
isSearch Y buat listing table, isSearch N buat form
get category dropdown autocomplete
POST http://{{host}}/invoice/Invoice/getCategory
Content-Type: "application/json"
{
"companyID":2,
"isSearch":"N"
}
hasil
api listing table
POST http://{{host}}/invoice/Invoice/search
Content-Type: "application/json"
{
"keyword":"",
"companyID":2,
"page":1,
"isLunas":"A",
"startDate":"2023-01-01",
"endDate":"2023-12-30"
}
hasil
get detail invoice
POST http://{{host}}/invoice/Invoice/getDetailInvoice
Content-Type: "application/json"
{
"invoiceID":3
}
hasil
login
POST http://{{host}}/invoice/Auth/login
Content-Type: "application/json"
{
"username":"admin",
"password":"admin123"
}
logout
POST http://{{host}}/invoice/Auth/logout
Content-Type: "application/json"
{
"M_UserID":"1"
}
change password
POST http://{{host}}/invoice/Auth/change_password
Content-Type: "application/json"
{
"M_UserID":"1",
"old_password":"admin123",
"new_password":"Andy1234",
"confirm_password":"Andy1234",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJNX1VzZXJJRCI6IjIiLCJNX1VzZXJuYW1lIjoiYW5keSIsIk1fQ29tcGFueUlEIjoiMSIsIk1fQ29tcGFueU5hbWUiOiJQVCBTYWRoYW5hIEFiaXlhc2EgU2FtcG9lcm5hIiwiaXAiOiIxNDkuMTEzLjEwMC4xMzEiLCJhZ2VudCI6InZzY29kZS1yZXN0Y2xpZW50In0.S0k0suRnmiZvX-7Y9mnq9uTVf8fJYrmVXe--2TOrPTE",
}