POST api/getVisitsbyid
get visit by id
Request Information
URI Parameters
None.
Body Parameters
{"id": 0}
input_data| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id number for row |
integer |
None. |
| user_id | integer |
None. |
|
| Move_Side |
left=0 rigth =1 |
integer |
None. |
| token | string |
None. |
|
| code | string |
None. |
|
| tickect_id | integer |
None. |
|
| message | string |
None. |
|
| page_number | integer |
None. |
|
| page_count_row | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"user_id": 2,
"Move_Side": 3,
"token": "sample string 4",
"code": "sample string 5",
"tickect_id": 6,
"message": "sample string 7",
"page_number": 8,
"page_count_row": 9
}
text/xml
Sample:
<input_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tickect_api"> <Move_Side>3</Move_Side> <code>sample string 5</code> <id>1</id> <message>sample string 7</message> <page_count_row>9</page_count_row> <page_number>8</page_number> <tickect_id>6</tickect_id> <token>sample string 4</token> <user_id>2</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/Tickect_api"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>