GET AllocationApproved/GetAllocationApprovedDetails?AllocationNumber={AllocationNumber}&SalespersonID={SalespersonID}&LocationID={LocationID}
Returns a allocation/sales order details.
Request Information
URI Parameters
Name | Description | Type | Additional 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.
AgvAllocationApprovedDetailsName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many ApprovedDetails. |
string | |
ApprovedDetails |
JSON dictionary of ApprovedDetails. |
Collection of ApprovedDetail |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "ApprovedDetails": [ { "SalesOrderNumber": "sample string 1", "Quantity": 2.1, "Price": 3.1, "CustomerName": "sample string 4", "SalespersonID": "sample string 5", "SalesAllocationsUnitCost": 6.1, "ProdIDAlternate": "sample string 7" }, { "SalesOrderNumber": "sample string 1", "Quantity": 2.1, "Price": 3.1, "CustomerName": "sample string 4", "SalespersonID": "sample string 5", "SalesAllocationsUnitCost": 6.1, "ProdIDAlternate": "sample string 7" } ] }
application/xml, text/xml
Sample:
<AgvAllocationApprovedDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Allocation"> <ApprovedDetails> <ApprovedDetail> <CustomerName>sample string 4</CustomerName> <Price>3.1</Price> <ProdIDAlternate>sample string 7</ProdIDAlternate> <Quantity>2.1</Quantity> <SalesAllocationsUnitCost>6.1</SalesAllocationsUnitCost> <SalesOrderNumber>sample string 1</SalesOrderNumber> <SalespersonID>sample string 5</SalespersonID> </ApprovedDetail> <ApprovedDetail> <CustomerName>sample string 4</CustomerName> <Price>3.1</Price> <ProdIDAlternate>sample string 7</ProdIDAlternate> <Quantity>2.1</Quantity> <SalesAllocationsUnitCost>6.1</SalesAllocationsUnitCost> <SalesOrderNumber>sample string 1</SalesOrderNumber> <SalespersonID>sample string 5</SalespersonID> </ApprovedDetail> </ApprovedDetails> <Count>sample string 3</Count> <Message>sample string 2</Message> <Status>sample string 1</Status> </AgvAllocationApprovedDetails>