DELETE LpTank/DeleteTank?lpTankGuid={lpTankGuid}

Delete a Tank The GUID of the Tank to be deleted.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
lpTankGuid

globally unique identifier

Required

Body Parameters

Response Information

Resource Description

Delete a Tank The GUID of the Tank to be deleted.

AgvLpTankInfo
NameDescriptionTypeAdditional 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

Sample:
{
  "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": "50498e48-726e-41c0-9969-ab08ae65c530",
      "LastModifiedUtc": "2025-08-23T07:38:52.840384+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": "50498e48-726e-41c0-9969-ab08ae65c530",
      "LastModifiedUtc": "2025-08-23T07:38:52.840384+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<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-08-23T07:38:52.840384+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>50498e48-726e-41c0-9969-ab08ae65c530</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-08-23T07:38:52.840384+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>50498e48-726e-41c0-9969-ab08ae65c530</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>