POST api/sendnetmessage
send netmessage
Request Information
URI Parameters
None.
Body Parameters
{"id":"","action":""}
netdata| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| action | string |
None. |
|
| target | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"action": "sample string 2",
"target": "sample string 3"
}
text/xml
Sample:
<netdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tickect_api"> <action>sample string 2</action> <id>1</id> <target>sample string 3</target> </netdata>
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>