GET AllocationOffered/GetAllocationOfferedDetails?AllocationNumber={AllocationNumber}&SalespersonID={SalespersonID}&LocationID={LocationID}

Returns a allocation/sales order details.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
AllocationNumber

Allocation number of the allocation to return the sales order details for.

string

Required

SalespersonID

Salesperson ID setup in the Settings window of the app. (optional)

string

Default value is string.Empty

LocationID

Location ID logged into. (optional)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns a allocation/sales order details.

AgvAllocationOfferedDetails
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many OfferedDetails.

string
OfferedDetails

JSON dictionary of OfferedDetails.

Collection of OfferedDetail

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "OfferedDetails": [
    {
      "SalesOrderNumber": "sample string 1",
      "Quantity": 2.1,
      "Price": 3.1,
      "CustomerName": "sample string 4",
      "OfferExpires": "sample string 5",
      "SalespersonID": "sample string 6",
      "SalesAllocationsUnitCost": 7.1,
      "ProdIDAlternate": "sample string 8"
    },
    {
      "SalesOrderNumber": "sample string 1",
      "Quantity": 2.1,
      "Price": 3.1,
      "CustomerName": "sample string 4",
      "OfferExpires": "sample string 5",
      "SalespersonID": "sample string 6",
      "SalesAllocationsUnitCost": 7.1,
      "ProdIDAlternate": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvAllocationOfferedDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Allocation">
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <OfferedDetails>
    <OfferedDetail>
      <CustomerName>sample string 4</CustomerName>
      <OfferExpires>sample string 5</OfferExpires>
      <Price>3.1</Price>
      <ProdIDAlternate>sample string 8</ProdIDAlternate>
      <Quantity>2.1</Quantity>
      <SalesAllocationsUnitCost>7.1</SalesAllocationsUnitCost>
      <SalesOrderNumber>sample string 1</SalesOrderNumber>
      <SalespersonID>sample string 6</SalespersonID>
    </OfferedDetail>
    <OfferedDetail>
      <CustomerName>sample string 4</CustomerName>
      <OfferExpires>sample string 5</OfferExpires>
      <Price>3.1</Price>
      <ProdIDAlternate>sample string 8</ProdIDAlternate>
      <Quantity>2.1</Quantity>
      <SalesAllocationsUnitCost>7.1</SalesAllocationsUnitCost>
      <SalesOrderNumber>sample string 1</SalesOrderNumber>
      <SalespersonID>sample string 6</SalespersonID>
    </OfferedDetail>
  </OfferedDetails>
  <Status>sample string 1</Status>
</AgvAllocationOfferedDetails>