POST api/LPA/SendGateControlCommand
Request Information
URI Parameters
None.
Body Parameters
LPAGateControlRequestMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| vehicleNo | string |
None. |
|
| userId | integer |
None. |
|
| command | string |
None. |
|
| source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"vehicleNo": "sample string 1",
"userId": 2,
"command": "sample string 3",
"source": "sample string 4"
}
application/xml, text/xml
Sample:
<LPAGateControlRequestMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA"> <command>sample string 3</command> <source>sample string 4</source> <userId>2</userId> <vehicleNo>sample string 1</vehicleNo> </LPAGateControlRequestMDL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | string |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": "sample string 4",
"status": 5,
"TotalCount": 6
}
application/xml, text/xml
Sample:
<ServiceResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices"> <Data>sample string 4</Data> <Description>sample string 2</Description> <Message>sample string 1</Message> <Result>true</Result> <TotalCount>6</TotalCount> <status>5</status> </ServiceResultOfstring>