add: inventaris item coa mapping API
This commit is contained in:
@@ -56,3 +56,58 @@ Content-Type: application/json
|
||||
"token": {{token}},
|
||||
"M_InventarisCoaMappingID": 1
|
||||
}
|
||||
|
||||
###
|
||||
// create inventaris item coa mapping
|
||||
POST https://{{host}}/map/InventarisCoaMapping/createInvItemCoaMapping/
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"token": {{token}},
|
||||
"M_ItemID": 10,
|
||||
"CoaInventarisID": 201,
|
||||
"CoaHutangID": 202,
|
||||
"CoaPembelianID": 203,
|
||||
"CoaBebanPenyusutanID": 204,
|
||||
"CoaAkumulasiPenyusutanID": 205,
|
||||
"CoaLabaPelepasanID": 206,
|
||||
"CoaRugiPelepasanID": 207
|
||||
}
|
||||
|
||||
###
|
||||
// get inventaris item coa mapping by ID
|
||||
POST https://{{host}}/map/InventarisCoaMapping/getInvItemCoaMapping/
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"token": {{token}},
|
||||
"M_InventarisItemCoaMappingID": 1
|
||||
}
|
||||
|
||||
###
|
||||
// edit inventaris item coa mapping
|
||||
POST https://{{host}}/map/InventarisCoaMapping/editInvItemCoaMapping/
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"token": {{token}},
|
||||
"M_InventarisItemCoaMappingID": 1,
|
||||
"M_ItemID": 11,
|
||||
"CoaInventarisID": 301,
|
||||
"CoaHutangID": 302,
|
||||
"CoaPembelianID": 303,
|
||||
"CoaBebanPenyusutanID": 304,
|
||||
"CoaAkumulasiPenyusutanID": 305,
|
||||
"CoaLabaPelepasanID": 306,
|
||||
"CoaRugiPelepasanID": 307
|
||||
}
|
||||
|
||||
###
|
||||
// delete inventaris item coa mapping
|
||||
POST https://{{host}}/map/InventarisCoaMapping/deleteInvItemCoaMapping/
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"token": {{token}},
|
||||
"M_InventarisItemCoaMappingID": 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user