POST [https://www.commcarehq.org/a/[domain]/api/[version]/lookup_table_item/]
I am using your lookup_table_item
API for one of my clients. It successfully added the item to the lookup table with a status code 201, but it did not return anything. I need the id
as a response, which will save me time, as I plan to use it in my application.
{
"data_type_id": "bcf49791f7f04f09bd46262097e107f2",
"fields": {
"name": {
"field_list": [
{
"field_value": "MMR",
"properties": {"lang": "en"}
}
]
},
"price": {
"field_list": [
{
"field_value": "7",
"properties": {}
}
]
}
},
"id": "e8433b25e60c4e228b0c7a679af2847b",
"item_attributes": {},
"sort_key": 2
},
please solve my problem
thanks