GET LpTank/GetLpTankInfo?CustomerID={CustomerID}&TankNumber={TankNumber}&LpTankGuid={LpTankGuid}&lastModifiedOnOrAfterUtc={lastModifiedOnOrAfterUtc}
Returns a list of Tanks. One of the parameters must be used.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
CustomerID |
Customer ID to get the LpTankInfo for |
string |
Default value is string.Empty |
TankNumber |
Tank Number to get the LpTankInfo for. If none provided, all of Customer's Tanks are returned. |
string |
Default value is string.Empty |
LpTankGuid |
LpTankGuid to get the LpTankInfo for |
globally unique identifier | |
lastModifiedOnOrAfterUtc |
Filter the LpTankInfo by the last modified date and time. Pagination is required if only using this filter (100 Maximum page size). |
date |
Body Parameters
Response Information
Resource Description
Returns a list of Tanks. One of the parameters must be used.
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 | |
ErrorList |
List of error messages of the API call. |
Collection of string | |
WarningList |
List of warning messages of the API call. |
Collection of 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", "ErrorList": [ "sample string 1", "sample string 2" ], "WarningList": [ "sample string 1", "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": 78.1, "Longitude": 79.1, "WillCall": true, "CustomerName": "sample string 81", "LastMonitorReadingPercentage": "sample string 82", "LastMonitorReadingTransmitterId": "sample string 83", "LastMonitorReadingDate": "sample string 84", "LpTankGuid": "0c710a8d-d8c8-4fd6-b38f-fcb3fdd61bd0", "LastModifiedUtc": "2025-01-18T05:05:12.8978363+00:00" }, { "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": 78.1, "Longitude": 79.1, "WillCall": true, "CustomerName": "sample string 81", "LastMonitorReadingPercentage": "sample string 82", "LastMonitorReadingTransmitterId": "sample string 83", "LastMonitorReadingDate": "sample string 84", "LpTankGuid": "0c710a8d-d8c8-4fd6-b38f-fcb3fdd61bd0", "LastModifiedUtc": "2025-01-18T05:05:12.8978363+00:00" } ] }
application/xml, text/xml
<AgvLpTankInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.LpTank"> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> <LpTankInfoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR"> <d2p1:clsLpTank> <d2p1:CustomerID>sample string 1</d2p1:CustomerID> <d2p1:CustomerName>sample string 81</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:LastModifiedUtc>2025-01-18T05:05:12.8978363+00:00</d2p1:LastModifiedUtc> <d2p1:LastMonitorReadingDate>sample string 84</d2p1:LastMonitorReadingDate> <d2p1:LastMonitorReadingPercentage>sample string 82</d2p1:LastMonitorReadingPercentage> <d2p1:LastMonitorReadingTransmitterId>sample string 83</d2p1:LastMonitorReadingTransmitterId> <d2p1:Latitude>78.1</d2p1:Latitude> <d2p1:Longitude>79.1</d2p1:Longitude> <d2p1:LpTankGuid>0c710a8d-d8c8-4fd6-b38f-fcb3fdd61bd0</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 81</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:LastModifiedUtc>2025-01-18T05:05:12.8978363+00:00</d2p1:LastModifiedUtc> <d2p1:LastMonitorReadingDate>sample string 84</d2p1:LastMonitorReadingDate> <d2p1:LastMonitorReadingPercentage>sample string 82</d2p1:LastMonitorReadingPercentage> <d2p1:LastMonitorReadingTransmitterId>sample string 83</d2p1:LastMonitorReadingTransmitterId> <d2p1:Latitude>78.1</d2p1:Latitude> <d2p1:Longitude>79.1</d2p1:Longitude> <d2p1:LpTankGuid>0c710a8d-d8c8-4fd6-b38f-fcb3fdd61bd0</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> <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WarningList> </AgvLpTankInfo>