GET LpTank/GetLpTankInfo?CustomerID={CustomerID}&TankNumber={TankNumber}&LpTankGuid={LpTankGuid}
Returns a list of Tanks.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
CustomerID |
Customer ID to get the LpTankInfo for. CustomerID, TankNumber, or LpTankGuid is required. |
string |
Default value is string.Empty |
TankNumber |
Tank Number to get the LpTankInfo for. If none provided, all of Customer's Tanks are returned. CustomerID, TankNumber, or LpTankGuid is required. |
string |
Default value is string.Empty |
LpTankGuid |
LpTankGuid to get the LpTankInfo for. CustomerID, TankNumber, or LpTankGuid is required. |
globally unique identifier |
Body Parameters
Response Information
Resource Description
Returns a list of Tanks.
AgvLpTankInfoName | Description | Type | Additional Information |
---|---|---|---|
Status |
0 = Success.` 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
Count |
Count of how many LpTank JSON dictionaries. |
string | |
LpTankInfoList |
JSON dictionary of LpTank |
Collection of clsLpTank |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "2", "LpTankInfoList": [ { "CustomerID": "sample string 1", "TankNumber": "sample string 2", "TankSize": 3.1, "TankDescription": "sample string 4", "Owner": "sample string 6", "DeliveryAddress": "sample string 9", "DeliveryCity": "sample string 10", "DeliveryState": "sample string 11", "DeliveryZip": "sample string 12", "TankUsableCapacity": 41.1, "InActive": true, "Latitude": 80.1, "Longitude": 81.1, "WillCall": true, "CustomerName": "sample string 84", "LastMonitorReadingPercentage": "sample string 85", "LastMonitorReadingTransmitterId": "sample string 86", "LastMonitorReadingDate": "sample string 87", "LpTankGuid": "70b19e6d-9499-40bb-8822-1a49778e75b1" }, { "CustomerID": "sample string 1", "TankNumber": "sample string 2", "TankSize": 3.1, "TankDescription": "sample string 4", "Owner": "sample string 6", "DeliveryAddress": "sample string 9", "DeliveryCity": "sample string 10", "DeliveryState": "sample string 11", "DeliveryZip": "sample string 12", "TankUsableCapacity": 41.1, "InActive": true, "Latitude": 80.1, "Longitude": 81.1, "WillCall": true, "CustomerName": "sample string 84", "LastMonitorReadingPercentage": "sample string 85", "LastMonitorReadingTransmitterId": "sample string 86", "LastMonitorReadingDate": "sample string 87", "LpTankGuid": "70b19e6d-9499-40bb-8822-1a49778e75b1" } ] }
application/xml, text/xml
<AgvLpTankInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.LpTank"> <LpTankInfoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR"> <d2p1:clsLpTank> <d2p1:CustomerID>sample string 1</d2p1:CustomerID> <d2p1:CustomerName>sample string 84</d2p1:CustomerName> <d2p1:DeliveryAddress>sample string 9</d2p1:DeliveryAddress> <d2p1:DeliveryCity>sample string 10</d2p1:DeliveryCity> <d2p1:DeliveryState>sample string 11</d2p1:DeliveryState> <d2p1:DeliveryZip>sample string 12</d2p1:DeliveryZip> <d2p1:InActive>true</d2p1:InActive> <d2p1:LastMonitorReadingDate>sample string 87</d2p1:LastMonitorReadingDate> <d2p1:LastMonitorReadingPercentage>sample string 85</d2p1:LastMonitorReadingPercentage> <d2p1:LastMonitorReadingTransmitterId>sample string 86</d2p1:LastMonitorReadingTransmitterId> <d2p1:Latitude>80.1</d2p1:Latitude> <d2p1:Longitude>81.1</d2p1:Longitude> <d2p1:LpTankGuid>70b19e6d-9499-40bb-8822-1a49778e75b1</d2p1:LpTankGuid> <d2p1:Owner>sample string 6</d2p1:Owner> <d2p1:TankDescription>sample string 4</d2p1:TankDescription> <d2p1:TankNumber>sample string 2</d2p1:TankNumber> <d2p1:TankSize>3.1</d2p1:TankSize> <d2p1:TankUsableCapacity>41.1</d2p1:TankUsableCapacity> <d2p1:WillCall>true</d2p1:WillCall> </d2p1:clsLpTank> <d2p1:clsLpTank> <d2p1:CustomerID>sample string 1</d2p1:CustomerID> <d2p1:CustomerName>sample string 84</d2p1:CustomerName> <d2p1:DeliveryAddress>sample string 9</d2p1:DeliveryAddress> <d2p1:DeliveryCity>sample string 10</d2p1:DeliveryCity> <d2p1:DeliveryState>sample string 11</d2p1:DeliveryState> <d2p1:DeliveryZip>sample string 12</d2p1:DeliveryZip> <d2p1:InActive>true</d2p1:InActive> <d2p1:LastMonitorReadingDate>sample string 87</d2p1:LastMonitorReadingDate> <d2p1:LastMonitorReadingPercentage>sample string 85</d2p1:LastMonitorReadingPercentage> <d2p1:LastMonitorReadingTransmitterId>sample string 86</d2p1:LastMonitorReadingTransmitterId> <d2p1:Latitude>80.1</d2p1:Latitude> <d2p1:Longitude>81.1</d2p1:Longitude> <d2p1:LpTankGuid>70b19e6d-9499-40bb-8822-1a49778e75b1</d2p1:LpTankGuid> <d2p1:Owner>sample string 6</d2p1:Owner> <d2p1:TankDescription>sample string 4</d2p1:TankDescription> <d2p1:TankNumber>sample string 2</d2p1:TankNumber> <d2p1:TankSize>3.1</d2p1:TankSize> <d2p1:TankUsableCapacity>41.1</d2p1:TankUsableCapacity> <d2p1:WillCall>true</d2p1:WillCall> </d2p1:clsLpTank> </LpTankInfoList> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvLpTankInfo>