How to get json response from wordpress site
I am developing an android application. I don't know anything about Wordpress database or how to get data from a website. I googled for how to get data from wordpress database which I need to know, I could get json response from JSON API
wordpress plugin . but it's hard for me to understand.
I am using Wordpress bakery theme.
I just want to know how I can get the json response from this site. And where is the product data on this website in the database.
for example: product, categories, etc. etc.
The expected answer is something like this
{"Category":[{"ProductSubGroupCategoryCode":"PSG03","ProductGroupCategoryCode":"PG01","Description":"WRAPS"
,"CHello SirreatedBy":"101","CreatedDate":"\/Date(1486116932060)\/","ModifiedBy":null,"ModifiedDate":null}]},
{"SubCategory":[{"ProductID":"01","Description":"VEG BURGER","ReferanceID":"VEG BURGER","UOM":"EA","AlterUOM":"EA",
"ProductGroupCategoryCode":"PG01","ProductSubGroupCategoryCode":"PSG01","TaxCategoryCode":"","TaxCode":"VAT5","BuyPrice":100,
"AttributeCode":"PA01","BasicPrice":190.48,"TaxRate":5.00,"SalesPrice":200.00,"ProductImage":null,"CurrentStock":10,
"PlantCode":"PC01","StoreLocationCode":"S01","DisplayOnPOS":true,"POSDisplayOrder":0,"CreatedBy":"101",
"CreatedDate":"\/Date(1486446663333)\/","ModifiedBy":"101","ModifiedDate":"\/Date(1486447253063)\/"}
Edit:
I tried with WP REST API which I came up with, when I use this link it gives me a response with id 1 http://localhost/mysite/wp-json/wp/v2/posts/1
. when when i tried with other post ids it gives me an empty answer.
FYI I got post id for this specific post from wordpress_posts
wordpress database table
source to share