PUT LpTank/PutTank
Update a Tank
Request Information
URI Parameters
Body Parameters
clsLpTankPut| Name | Description | Type | Additional Information |
|---|---|---|---|
| NewSN |
New Serial Number. Only use if you are changing the SN. |
string |
Max length: 20 |
| SN |
Tank Serial Number |
string |
Max length: 20 |
| LpTankGUID |
Lp Tank Guid |
globally unique identifier | |
| Size |
Tank Size |
decimal number | |
| Desc |
Tank Description |
string |
Max length: 80 |
| LastFillDate |
Tank Last Fill Date |
date | |
| Owner |
Tank Owner |
string |
Max length: 30 |
| Route |
Tank Route |
string |
Max length: 20 |
| Region |
Tank Region |
string |
Max length: 20 |
| TankAddr |
Tank Address |
string |
Max length: 40 |
| TankCity |
Tank City |
string |
Max length: 30 |
| TankState |
Tank State Abbreviation |
string |
Max length: 2 |
| TankZip |
Tank Zip Code |
string |
Max length: 10 |
| PropaneProductDeptID |
Propane Product Department ID |
string |
Max length: 6 |
| PropaneProductProdID |
Propane Product Product ID |
string |
Max length: 10 |
| RentFeeProductDeptID |
Rental Fee Product Department ID |
string |
Max length: 6 |
| RentFeeProductProdID |
Rental Fee Product Product ID |
string |
Max length: 10 |
| DirectionsNotes |
Directions and Notes |
string | |
| BillingComments |
Billing Comments |
string |
Max length: 80 |
| TankLat |
Tank Latitude |
decimal number |
Max of 6 decimal places Range: inclusive between -90 and 90 |
| TankLon |
Tank Longitude |
decimal number |
Max of 6 decimal places Range: inclusive between -180 and 180 |
| MaintDT1 |
User Defined Date Field #1 |
date | |
| MaintDT2 |
User Defined Date Field #2 |
date | |
| MaintDT3 |
User Defined Date Field #3 |
date | |
| MaintDT4 |
User Defined Date Field #4 |
date | |
| EQcycle |
Equal Billing Cycle |
string |
Max length: 10 |
| EQdeptId |
Equal Billing Department Id |
string |
Max length: 6 |
| EQProdId |
Equal Billing Product Id |
string |
Max length: 10 |
| EQAmount |
Equal Billing Amount |
decimal number | |
| UdYn1 |
User Defined Checkbox Field #1 |
boolean | |
| UdYn2 |
User Defined Checkbox Field #2 |
boolean | |
| UdYn3 |
User Defined Checkbox Field #3 |
boolean | |
| UdYn4 |
User Defined Checkbox Field #4 |
boolean | |
| UdText1 |
User Defined Textbox Field #1 |
string |
Max length: 30 |
| UdText2 |
User Defined Textbox Field #2 |
string |
Max length: 30 |
| UdText3 |
User Defined Textbox Field #3 |
string |
Max length: 30 |
| UdText4 |
User Defined Textbox Field #4 |
string |
Max length: 30 |
| LastDelAmt |
Last Delivery Amount |
decimal number | |
| LastDelGauge |
Last Delivery Gauge |
decimal number | |
| LastTruckTick |
Last Delivery Truck Ticket |
string |
Max length: 20 |
| UseFactor2 |
Auxilary Usage Factor |
decimal number | |
| Location |
Location |
string |
Max length: 6 |
| Terms |
Terms |
string |
Max length: 15 |
| Driver |
Delivery Driver |
string |
Max length: 6 |
| RLType |
Rent / Lease Type |
string |
Max length: 1 |
| RLCycle |
Rent / Lease Cycle |
string |
Max length: 10 |
| RLAmount |
Rent / Lease Amount |
decimal number | |
| RLTerms |
Rent / Lease Terms |
string |
Max length: 15 |
| RLBeginDate |
Rent / Lease Begin Date |
date | |
| RLEndDate |
Rent / Lease End Date |
date | |
| RLLeaseAmt |
Rent / Lease Amount |
decimal number | |
| RLLeasePayments |
Rent / Lease Payments |
decimal number | |
| RLNetLeaseBal |
Rent / Lease Net Lease Balance |
decimal number | |
| RLBuyoutAmt |
Rent / Lease Buyout Amount |
decimal number | |
| RLTankCost |
Rent / Lease Tank Cost |
decimal number | |
| RLDepreciationAmt |
Rent / Lease Depreciation Amount |
decimal number | |
| RLAccumDep |
Rent / Lease Accumulated Depreciation |
decimal number | |
| RLTankValue |
Rent / Lease Tank Value |
decimal number | |
| KFactor |
K-Factor |
decimal number | |
| UpdateKFactor |
Update K Factor |
boolean | |
| StateTaxCode |
State Tax Code |
string |
Max length: 15 |
| AdjTaxCode |
Adjusted Tax Code |
string |
Max length: 15 |
| RLStateTaxCode |
Rent / Lease State Tax Code |
string |
Max length: 15 |
| RLAdjTaxCode |
Rent / Lease Adjusted Tax Code |
string |
Max length: 15 |
| MFSchedule |
Motor Fuel Schedule |
string |
Max length: 25 |
| MFTaxType |
Motor Fuel Tax Type |
string |
Max length: 25 |
| MFModeOfTrans |
Motor Fuel Mode of Transportation |
string |
Max length: 10 |
| MFDestCity |
Motor Fuel Destination City |
string |
Max length: 25 |
| MFDestState |
Motor Fuel Destination State |
string |
Max length: 2 |
| FWTaxGroup |
FW Tax Group |
string |
Max length: 4 |
| Inactive |
Inactive |
boolean | |
| SalespersonID |
Salesperson ID |
string |
Max length: 15 |
| SiteID |
Site ID |
string |
Max length: 3 |
| RouteTopPriority |
Route Optimization - First Stop |
boolean | |
| TankStatus |
Tank Status - "ScheduledDelivery", "CalendarDays", or "WillCall" accepted |
string | |
| GasLeakDate |
Tank Gas Leak Date |
string |
Format must be MM/dd/yyyy |
| GasCheckDate |
Tank Gas Check Date |
string |
Format must be MM/dd/yyyy |
| CustID |
Customer ID of Tank |
string |
Max length: 6 |
| EnergyBillingSplits |
List of Energy Billing Splits. If included, ALL previous Energy Billing Splits will be cleared. |
Collection of clsLpTankSp | |
| RentalBillingSplits |
List of Rental Billing Splits. If included, ALL previous Rental Billing Splits will be cleared. |
Collection of clsLPTankSpRent | |
| TankAttributes |
List of Tank Attributes. If included, ALL previous Tank Attributes will be cleared. |
Collection of clsLPTankAttributes | |
| TankCalendarDays |
List of Tank Calendar Days. If included, ALL previous Tank Calendar Days will be cleared. |
Collection of clsLPTankCalendarDays | |
| TankClasses |
List of Tank Classes. If included, ALL previous Tank Classes will be cleared. |
Collection of clsLpTankClass | |
| TankRegulators |
List of Tank Regulators. An empty list [] will not clear the existing regulators from the tank. The DeleteMe property must be set to true to remove a regulator. |
Collection of ClsLpTankRegEdit |
Request Formats
application/json, text/json
{
"NewSN": "sample string 4",
"SN": "sample string 5",
"LpTankGUID": "8cb10063-edfb-4f35-855f-aae20aab2cf1",
"Size": 1.1,
"Desc": "sample string 6",
"LastFillDate": "2025-11-06T00:55:06.530782+00:00",
"Owner": "sample string 7",
"Route": "sample string 8",
"Region": "sample string 9",
"TankAddr": "sample string 10",
"TankCity": "sample string 11",
"TankState": "sample string 12",
"TankZip": "sample string 13",
"PropaneProductDeptID": "sample string 14",
"PropaneProductProdID": "sample string 15",
"RentFeeProductDeptID": "sample string 16",
"RentFeeProductProdID": "sample string 17",
"DirectionsNotes": "sample string 18",
"BillingComments": "sample string 19",
"TankLat": 1.1,
"TankLon": 1.1,
"MaintDT1": "2025-11-06T00:55:06.5327859+00:00",
"MaintDT2": "2025-11-06T00:55:06.5327859+00:00",
"MaintDT3": "2025-11-06T00:55:06.5327859+00:00",
"MaintDT4": "2025-11-06T00:55:06.5327859+00:00",
"EQcycle": "sample string 20",
"EQdeptId": "sample string 21",
"EQProdId": "sample string 22",
"EQAmount": 1.1,
"UdYn1": true,
"UdYn2": true,
"UdYn3": true,
"UdYn4": true,
"UdText1": "sample string 23",
"UdText2": "sample string 24",
"UdText3": "sample string 25",
"UdText4": "sample string 26",
"LastDelAmt": 1.1,
"LastDelGauge": 1.1,
"LastTruckTick": "sample string 27",
"UseFactor2": 1.1,
"Location": "sample string 28",
"Terms": "sample string 29",
"Driver": "sample string 30",
"RLType": "sample string 31",
"RLCycle": "sample string 32",
"RLAmount": 1.1,
"RLTerms": "sample string 33",
"RLBeginDate": "2025-11-06T00:55:06.5327859+00:00",
"RLEndDate": "2025-11-06T00:55:06.5327859+00:00",
"RLLeaseAmt": 1.1,
"RLLeasePayments": 1.1,
"RLNetLeaseBal": 1.1,
"RLBuyoutAmt": 1.1,
"RLTankCost": 1.1,
"RLDepreciationAmt": 1.1,
"RLAccumDep": 1.1,
"RLTankValue": 1.1,
"KFactor": 1.1,
"UpdateKFactor": true,
"StateTaxCode": "sample string 34",
"AdjTaxCode": "sample string 35",
"RLStateTaxCode": "sample string 36",
"RLAdjTaxCode": "sample string 37",
"MFSchedule": "sample string 38",
"MFTaxType": "sample string 39",
"MFModeOfTrans": "sample string 40",
"MFDestCity": "sample string 41",
"MFDestState": "sample string 42",
"FWTaxGroup": "sample string 43",
"Inactive": true,
"SalespersonID": "sample string 44",
"SiteID": "sample string 45",
"RouteTopPriority": true,
"TankStatus": "sample string 46",
"GasLeakDate": "sample string 47",
"GasCheckDate": "sample string 48",
"CustID": "sample string 49",
"EnergyBillingSplits": [
{
"Spcustid": "sample string 3",
"Sppercent": 4.1
},
{
"Spcustid": "sample string 3",
"Sppercent": 4.1
}
],
"RentalBillingSplits": [
{
"SPCustID": "sample string 3",
"SPPercent": "0"
},
{
"SPCustID": "sample string 3",
"SPPercent": "0"
}
],
"TankAttributes": [
{
"AttributeValue": "sample string 4",
"CrossRef": "sample string 5"
},
{
"AttributeValue": "sample string 4",
"CrossRef": "sample string 5"
}
],
"TankCalendarDays": [
{
"StartMonth": "sample string 3",
"StartDay": "sample string 4",
"EndMonth": "sample string 5",
"EndDay": "sample string 6",
"DeliveryInterval": 7
},
{
"StartMonth": "sample string 3",
"StartDay": "sample string 4",
"EndMonth": "sample string 5",
"EndDay": "sample string 6",
"DeliveryInterval": 7
}
],
"TankClasses": [
{
"ClassName": "sample string 4"
},
{
"ClassName": "sample string 4"
}
],
"TankRegulators": [
{
"DeleteMe": true,
"RegulatorID": "sample string 9"
},
{
"DeleteMe": true,
"RegulatorID": "sample string 9"
}
]
}
application/xml, text/xml
<clsLpTankPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI">
<AdjTaxCode>sample string 35</AdjTaxCode>
<BillingComments>sample string 19</BillingComments>
<CustID>sample string 49</CustID>
<Desc>sample string 6</Desc>
<DirectionsNotes>sample string 18</DirectionsNotes>
<Driver>sample string 30</Driver>
<EQAmount>1.1</EQAmount>
<EQProdId>sample string 22</EQProdId>
<EQcycle>sample string 20</EQcycle>
<EQdeptId>sample string 21</EQdeptId>
<EnergyBillingSplits xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR">
<d2p1:clsLpTankSp>
<d2p1:Spcustid>sample string 3</d2p1:Spcustid>
<d2p1:Sppercent>4.1</d2p1:Sppercent>
</d2p1:clsLpTankSp>
<d2p1:clsLpTankSp>
<d2p1:Spcustid>sample string 3</d2p1:Spcustid>
<d2p1:Sppercent>4.1</d2p1:Sppercent>
</d2p1:clsLpTankSp>
</EnergyBillingSplits>
<FWTaxGroup>sample string 43</FWTaxGroup>
<GasCheckDate>sample string 48</GasCheckDate>
<GasLeakDate>sample string 47</GasLeakDate>
<Inactive>true</Inactive>
<KFactor>1.1</KFactor>
<LastDelAmt>1.1</LastDelAmt>
<LastDelGauge>1.1</LastDelGauge>
<LastFillDate>2025-11-06T00:55:06.530782+00:00</LastFillDate>
<LastTruckTick>sample string 27</LastTruckTick>
<Location>sample string 28</Location>
<LpTankGUID>8cb10063-edfb-4f35-855f-aae20aab2cf1</LpTankGUID>
<MFDestCity>sample string 41</MFDestCity>
<MFDestState>sample string 42</MFDestState>
<MFModeOfTrans>sample string 40</MFModeOfTrans>
<MFSchedule>sample string 38</MFSchedule>
<MFTaxType>sample string 39</MFTaxType>
<MaintDT1>2025-11-06T00:55:06.5327859+00:00</MaintDT1>
<MaintDT2>2025-11-06T00:55:06.5327859+00:00</MaintDT2>
<MaintDT3>2025-11-06T00:55:06.5327859+00:00</MaintDT3>
<MaintDT4>2025-11-06T00:55:06.5327859+00:00</MaintDT4>
<NewSN>sample string 4</NewSN>
<Owner>sample string 7</Owner>
<PropaneProductDeptID>sample string 14</PropaneProductDeptID>
<PropaneProductProdID>sample string 15</PropaneProductProdID>
<RLAccumDep>1.1</RLAccumDep>
<RLAdjTaxCode>sample string 37</RLAdjTaxCode>
<RLAmount>1.1</RLAmount>
<RLBeginDate>2025-11-06T00:55:06.5327859+00:00</RLBeginDate>
<RLBuyoutAmt>1.1</RLBuyoutAmt>
<RLCycle>sample string 32</RLCycle>
<RLDepreciationAmt>1.1</RLDepreciationAmt>
<RLEndDate>2025-11-06T00:55:06.5327859+00:00</RLEndDate>
<RLLeaseAmt>1.1</RLLeaseAmt>
<RLLeasePayments>1.1</RLLeasePayments>
<RLNetLeaseBal>1.1</RLNetLeaseBal>
<RLStateTaxCode>sample string 36</RLStateTaxCode>
<RLTankCost>1.1</RLTankCost>
<RLTankValue>1.1</RLTankValue>
<RLTerms>sample string 33</RLTerms>
<RLType>sample string 31</RLType>
<Region>sample string 9</Region>
<RentFeeProductDeptID>sample string 16</RentFeeProductDeptID>
<RentFeeProductProdID>sample string 17</RentFeeProductProdID>
<RentalBillingSplits xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR">
<d2p1:clsLPTankSpRent>
<d2p1:SPCustID>sample string 3</d2p1:SPCustID>
<d2p1:SPPercent>0</d2p1:SPPercent>
</d2p1:clsLPTankSpRent>
<d2p1:clsLPTankSpRent>
<d2p1:SPCustID>sample string 3</d2p1:SPCustID>
<d2p1:SPPercent>0</d2p1:SPPercent>
</d2p1:clsLPTankSpRent>
</RentalBillingSplits>
<Route>sample string 8</Route>
<RouteTopPriority>true</RouteTopPriority>
<SN>sample string 5</SN>
<SalespersonID>sample string 44</SalespersonID>
<SiteID>sample string 45</SiteID>
<Size>1.1</Size>
<StateTaxCode>sample string 34</StateTaxCode>
<TankAddr>sample string 10</TankAddr>
<TankAttributes xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR">
<d2p1:clsLPTankAttributes>
<d2p1:AttributeValue>sample string 4</d2p1:AttributeValue>
<d2p1:CrossRef>sample string 5</d2p1:CrossRef>
</d2p1:clsLPTankAttributes>
<d2p1:clsLPTankAttributes>
<d2p1:AttributeValue>sample string 4</d2p1:AttributeValue>
<d2p1:CrossRef>sample string 5</d2p1:CrossRef>
</d2p1:clsLPTankAttributes>
</TankAttributes>
<TankCalendarDays xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR">
<d2p1:clsLPTankCalendarDays>
<d2p1:DeliveryInterval>7</d2p1:DeliveryInterval>
<d2p1:EndDay>sample string 6</d2p1:EndDay>
<d2p1:EndMonth>sample string 5</d2p1:EndMonth>
<d2p1:StartDay>sample string 4</d2p1:StartDay>
<d2p1:StartMonth>sample string 3</d2p1:StartMonth>
</d2p1:clsLPTankCalendarDays>
<d2p1:clsLPTankCalendarDays>
<d2p1:DeliveryInterval>7</d2p1:DeliveryInterval>
<d2p1:EndDay>sample string 6</d2p1:EndDay>
<d2p1:EndMonth>sample string 5</d2p1:EndMonth>
<d2p1:StartDay>sample string 4</d2p1:StartDay>
<d2p1:StartMonth>sample string 3</d2p1:StartMonth>
</d2p1:clsLPTankCalendarDays>
</TankCalendarDays>
<TankCity>sample string 11</TankCity>
<TankClasses xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AR">
<d2p1:clsLpTankClass>
<d2p1:ClassName>sample string 4</d2p1:ClassName>
</d2p1:clsLpTankClass>
<d2p1:clsLpTankClass>
<d2p1:ClassName>sample string 4</d2p1:ClassName>
</d2p1:clsLpTankClass>
</TankClasses>
<TankLat>1.1</TankLat>
<TankLon>1.1</TankLon>
<TankRegulators>
<ClsLpTankRegEdit>
<RegulatorID>sample string 9</RegulatorID>
</ClsLpTankRegEdit>
<ClsLpTankRegEdit>
<RegulatorID>sample string 9</RegulatorID>
</ClsLpTankRegEdit>
</TankRegulators>
<TankState>sample string 12</TankState>
<TankStatus>sample string 46</TankStatus>
<TankZip>sample string 13</TankZip>
<Terms>sample string 29</Terms>
<UdText1>sample string 23</UdText1>
<UdText2>sample string 24</UdText2>
<UdText3>sample string 25</UdText3>
<UdText4>sample string 26</UdText4>
<UdYn1>true</UdYn1>
<UdYn2>true</UdYn2>
<UdYn3>true</UdYn3>
<UdYn4>true</UdYn4>
<UpdateKFactor>true</UpdateKFactor>
<UseFactor2>1.1</UseFactor2>
</clsLpTankPut>
application/x-www-form-urlencoded
Response Information
Resource Description
Update a Tank
AgvLpTank| Name | 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 |
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"
]
}
application/xml, text/xml
<AgvLpTank 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>
<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>
</AgvLpTank>