Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

REST API location in version 2.0

Lennart Behr   ( User )

Commented 4 years ago

Hello,

I've now upgraded my Akaunting installation to version 2.0.2 but the API route seems to have moved.
With version 1.3 the API was located at:
http:///akaunting/index.php/api
However, the sending a GET request to said URL returns a 404 response.
Has someone already figured out where the API is located in version 2.0?

Thank you in advance,
L. Behr

Lennart Behr   ( User )

Commented 4 years ago

Update: I found the API and it is still at the same location, however api/customers seems to be missing??

Lennart Behr   ( User )

Commented 4 years ago

Solved.

In version 2.0 customers are now located under
/api/contacts/

Denis Dulici   ( Admin )

Commented 4 years ago

Hello Lennart,

Don't forget to add the contact type in your request like the following:

/api/contacts?search=type:customer

Otherwise, you get both vendors and customers.

Regards

Lennart Behr   ( User )

Commented 4 years ago

Yes, thank you for your advice.
Would really appreciate if you'd also check out
https://akaunting.com/forum/discussion/development/delete-method-not-working

Optically version 2.0 looks great so far.

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions