GET CustomerBooking/GetCustomerBooking?CustID={CustID}

Returns a list of customer bookings.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
CustID

Cust id to get the booking values for

string

Required

Body Parameters

Response Information

Resource Description

Returns a list of customer bookings.

AgvCustomerBooking
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many CustomerBookings.

string
CustomerBookings

JSON dictionary of CustomerBookings.

Collection of CustomerBookings

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "CustomerBookings": [
    {
      "CustID": "sample string 1",
      "CustomerName": "sample string 2",
      "Number": "sample string 3",
      "BookDate": "sample string 4",
      "ExpirationDate": "sample string 5",
      "DeptID": "sample string 6",
      "ProdID": "sample string 7",
      "ProductName": "sample string 8",
      "AlternateProductId": "sample string 9",
      "OrderedQuantity": 10.1,
      "QuantityBalance": 11.1,
      "DollarsPerUnit": 12.1,
      "DownPerUnit": 13.1,
      "BookingDollarsValueLeft": 14.1,
      "ActualPrepayDollarsLeft": 15.1,
      "PaidStatus": "sample string 16"
    },
    {
      "CustID": "sample string 1",
      "CustomerName": "sample string 2",
      "Number": "sample string 3",
      "BookDate": "sample string 4",
      "ExpirationDate": "sample string 5",
      "DeptID": "sample string 6",
      "ProdID": "sample string 7",
      "ProductName": "sample string 8",
      "AlternateProductId": "sample string 9",
      "OrderedQuantity": 10.1,
      "QuantityBalance": 11.1,
      "DollarsPerUnit": 12.1,
      "DownPerUnit": 13.1,
      "BookingDollarsValueLeft": 14.1,
      "ActualPrepayDollarsLeft": 15.1,
      "PaidStatus": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvCustomerBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer">
  <Count>sample string 3</Count>
  <CustomerBookings>
    <CustomerBookings>
      <ActualPrepayDollarsLeft>15.1</ActualPrepayDollarsLeft>
      <AlternateProductId>sample string 9</AlternateProductId>
      <BookDate>sample string 4</BookDate>
      <BookingDollarsValueLeft>14.1</BookingDollarsValueLeft>
      <CustID>sample string 1</CustID>
      <CustomerName>sample string 2</CustomerName>
      <DeptID>sample string 6</DeptID>
      <DollarsPerUnit>12.1</DollarsPerUnit>
      <DownPerUnit>13.1</DownPerUnit>
      <ExpirationDate>sample string 5</ExpirationDate>
      <Number>sample string 3</Number>
      <OrderedQuantity>10.1</OrderedQuantity>
      <PaidStatus>sample string 16</PaidStatus>
      <ProdID>sample string 7</ProdID>
      <ProductName>sample string 8</ProductName>
      <QuantityBalance>11.1</QuantityBalance>
    </CustomerBookings>
    <CustomerBookings>
      <ActualPrepayDollarsLeft>15.1</ActualPrepayDollarsLeft>
      <AlternateProductId>sample string 9</AlternateProductId>
      <BookDate>sample string 4</BookDate>
      <BookingDollarsValueLeft>14.1</BookingDollarsValueLeft>
      <CustID>sample string 1</CustID>
      <CustomerName>sample string 2</CustomerName>
      <DeptID>sample string 6</DeptID>
      <DollarsPerUnit>12.1</DollarsPerUnit>
      <DownPerUnit>13.1</DownPerUnit>
      <ExpirationDate>sample string 5</ExpirationDate>
      <Number>sample string 3</Number>
      <OrderedQuantity>10.1</OrderedQuantity>
      <PaidStatus>sample string 16</PaidStatus>
      <ProdID>sample string 7</ProdID>
      <ProductName>sample string 8</ProductName>
      <QuantityBalance>11.1</QuantityBalance>
    </CustomerBookings>
  </CustomerBookings>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvCustomerBooking>