POST api/getcategorydetails
get category details by id_category
Request Information
URI Parameters
None.
Body Parameters
{"id_category":""}
input_data| Name | Description | Type | Additional information |
|---|---|---|---|
| id_branch | integer |
None. |
|
| id_category | integer |
None. |
|
| lang_id | integer |
None. |
|
| c | integer |
None. |
|
| user_id | integer |
None. |
|
| page_number | integer |
None. |
|
| page_count_row | integer |
None. |
|
| start_dare | date |
None. |
|
| end_dare | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id_branch": 1,
"id_category": 2,
"lang_id": 3,
"c": 4,
"user_id": 5,
"page_number": 6,
"page_count_row": 7,
"start_dare": "2025-12-11T05:46:07.0863216+03:00",
"end_dare": "2025-12-11T05:46:07.0863216+03:00"
}
text/xml
Sample:
<input_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restaurant_api"> <c>4</c> <end_dare>2025-12-11T05:46:07.0863216+03:00</end_dare> <id_branch>1</id_branch> <id_category>2</id_category> <lang_id>3</lang_id> <page_count_row>7</page_count_row> <page_number>6</page_number> <start_dare>2025-12-11T05:46:07.0863216+03:00</start_dare> <user_id>5</user_id> </input_data>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
{"data" [],"rowcount": 1,"status": true,"msg_error": ""}
outdata| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DataTable |
None. |
|
| rowcount |
if get data then return count row else return the id row affected |
integer |
None. |
| status | boolean |
None. |
|
| msg_error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": null,
"rowcount": 1,
"status": true,
"msg_error": "sample string 3"
}
text/xml
Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restaurant_api"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>