-
Send book code in the book name API
/booknames?language_code=hin
Currently only book id is coming and the mapping from book code to book id is done using hard coded data it should be sent from the backend.
eg. book_code: "exo"
-
Remove language_id as its already in the outside json and is duplicated
see json below.
{
"language": {
"id": 58,
"code": "hin",
"name": "Hindi"
},
"bookNames": [
{
"id": 546,
"abbr": "निर्ग.",
"short": "निर्गमन",
"long": "निर्गमन",
"book_id": 2,
"language_id": 58
},
Send book code in the book name API
/booknames?language_code=hin
Currently only book id is coming and the mapping from book code to book id is done using hard coded data it should be sent from the backend.
eg. book_code: "exo"
Remove language_id as its already in the outside json and is duplicated
see json below.
{
"language": {
"id": 58,
"code": "hin",
"name": "Hindi"
},
"bookNames": [
{
"id": 546,
"abbr": "निर्ग.",
"short": "निर्गमन",
"long": "निर्गमन",
"book_id": 2,
"language_id": 58
},