I want to register banks Adjustments through api v1 in epicor version 10.2.300.30.
So far I have been able to enhance the registration of the new group
[POST] [/BankAdjEntries]
https://ad/ERPTest/api/v1/Erp.BO.BankAdjEntrySvc/BankAdjEntries
Response Code 201
But when trying to perform the register of the new Adjustment, it tells me the following.
[POST] [/BankTrans]
https://ad/ERPTest/api/v1/Erp.BO.BankAdjEntrySvc/BankTrans
Response Body
`{ "HttpStatus": 400, "ReasonPhrase": "REST API Exception","ErrorMessage": "Use
**GetNewBankTran1**
method to get new BankTran record.","ErrorType": "Ice.Common.BusinessObjectException",`
but when dealing with GetNewBankTran1
method, I see that the answer it returns is (200), which indicates that it can only modify an existing record (or I am wrong ?)
[POST] [/GetNewBankTran1]
https://ad/ERPTest/api/v1/Erp.BO.BankAdjEntrySvc/GetNewBankTran1
Response Code
200
so no error but , not record is registered to DB.
I hope someone can give me an idea of what I am doing wrong and / or I am overlooking to be able to make this record
Thanks in advance.