GET LpTank/GetLpTankDeliverInfo?CustomerID={CustomerID}&TankNumber={TankNumber}&DeliveryDate={DeliveryDate}

Returns a list of Tank Deliveries.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
CustomerID

Customer ID to get the LpTankInfo for.

string

Required

TankNumber

Tank Number to get the LpTankInfo for.

string

Default value is string.Empty

DeliveryDate

Delivery Date to get the LpTankInfo for. (MM-DD-YYYY)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns a list of Tank Deliveries.

AgvLpTankDeliverInfo
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
Count

Count of how many LpTankDeliv JSON dictionaries.

string
LpTankDeliverInfoList

JSON dictionary of LpTankDeliv

Collection of clsLpTankDeliv

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "LpTankDeliverInfoList": [
    {
      "CustomerID": "sample string 2",
      "TankNumber": "sample string 3",
      "FillDate": "sample string 6",
      "DeliveryAmount": 7.1,
      "DeliveryGauge": 8.1,
      "PartialFill": true,
      "InTank": 20.1
    },
    {
      "CustomerID": "sample string 2",
      "TankNumber": "sample string 3",
      "FillDate": "sample string 6",
      "DeliveryAmount": 7.1,
      "DeliveryGauge": 8.1,
      "PartialFill": true,
      "InTank": 20.1
    }
  ]
}

application/xml, text/xml

Sample:
<AgvLpTankDeliverInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.LpTank">
  <LpTankDeliverInfoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI">
    <d2p1:clsLpTankDeliv>
      <d2p1:CustomerID>sample string 2</d2p1:CustomerID>
      <d2p1:DeliveryAmount>7.1</d2p1:DeliveryAmount>
      <d2p1:DeliveryGauge>8.1</d2p1:DeliveryGauge>
      <d2p1:FillDate>sample string 6</d2p1:FillDate>
      <d2p1:InTank>20.1</d2p1:InTank>
      <d2p1:PartialFill>true</d2p1:PartialFill>
      <d2p1:TankNumber>sample string 3</d2p1:TankNumber>
    </d2p1:clsLpTankDeliv>
    <d2p1:clsLpTankDeliv>
      <d2p1:CustomerID>sample string 2</d2p1:CustomerID>
      <d2p1:DeliveryAmount>7.1</d2p1:DeliveryAmount>
      <d2p1:DeliveryGauge>8.1</d2p1:DeliveryGauge>
      <d2p1:FillDate>sample string 6</d2p1:FillDate>
      <d2p1:InTank>20.1</d2p1:InTank>
      <d2p1:PartialFill>true</d2p1:PartialFill>
      <d2p1:TankNumber>sample string 3</d2p1:TankNumber>
    </d2p1:clsLpTankDeliv>
  </LpTankDeliverInfoList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvLpTankDeliverInfo>