POST api/smtSrv/SendRequest
Request Information
URI Parameters
None.
Body Parameters
requestData| Name | Description | Type | Additional information |
|---|---|---|---|
| Floorno | integer |
None. |
|
| Roomno | integer |
None. |
|
| requstLst | Collection of Request |
None. |
Request Formats
application/json, text/json
Sample:
{
"requstLst": [
{
"usercode": 1,
"bufid": 2,
"count": 3,
"note": "sample string 4"
},
{
"usercode": 1,
"bufid": 2,
"count": 3,
"note": "sample string 4"
}
],
"Floorno": 1,
"Roomno": 2
}
application/xml, text/xml
Sample:
<requestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/srv">
<Floorno>1</Floorno>
<Roomno>2</Roomno>
<requstLst>
<Request>
<bufid>2</bufid>
<count>3</count>
<note>sample string 4</note>
<usercode>1</usercode>
</Request>
<Request>
<bufid>2</bufid>
<count>3</count>
<note>sample string 4</note>
<usercode>1</usercode>
</Request>
</requstLst>
</requestData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>