GET ProductQuote/GetProductQuoteList?custId={custId}&deptId={deptId}&prodId={prodId}
Returns a listing of product quotes containg the ProductName, Number, Price, and QuoteDate.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
custId |
Customer ID or GUID to get the product quotes for. (optional) |
string |
Default value is string.Empty |
deptId |
Department ID to get the product quotes for. (optional) |
string |
Default value is string.Empty |
prodId |
Product ID or GUID to get the product quotes for. (optional) |
string |
Default value is string.Empty |
Body Parameters
Response Information
Resource Description
Returns a listing of product quotes containg the ProductName, Number, Price, and QuoteDate.
AgvProductQuoteListName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many Product Quotes JSON Objects. |
string | |
ProductQuotes |
JSON dictionary of ClsCustQuote. |
Collection of clsCustQuote |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "2", "ProductQuotes": [ { "UniqueID": 3, "Number": "0", "CustomerID": "sample string 6", "CustomerGUID": "sample string 7", "QuoteDate": "sample string 8", "ExpirationDate": "sample string 9", "DepartmentID": "sample string 10", "ProductID": "sample string 11", "ProductGUID": "sample string 12", "ProductName": "sample string 13", "Price": 14.1, "QuoteType": "sample string 15", "QuoteTerms": "sample string 16", "Comment": "sample string 17", "CompanyWideYN": true, "SalespersonID": "sample string 19" }, { "UniqueID": 3, "Number": "0", "CustomerID": "sample string 6", "CustomerGUID": "sample string 7", "QuoteDate": "sample string 8", "ExpirationDate": "sample string 9", "DepartmentID": "sample string 10", "ProductID": "sample string 11", "ProductGUID": "sample string 12", "ProductName": "sample string 13", "Price": 14.1, "QuoteType": "sample string 15", "QuoteTerms": "sample string 16", "Comment": "sample string 17", "CompanyWideYN": true, "SalespersonID": "sample string 19" } ] }
application/xml, text/xml
Sample:
<AgvProductQuoteList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Product"> <Message>sample string 2</Message> <ProductQuotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI"> <d2p1:CustQuote> <d2p1:Comment>sample string 17</d2p1:Comment> <d2p1:CompanyWideYN>true</d2p1:CompanyWideYN> <d2p1:CustomerGUID>sample string 7</d2p1:CustomerGUID> <d2p1:CustomerID>sample string 6</d2p1:CustomerID> <d2p1:DepartmentID>sample string 10</d2p1:DepartmentID> <d2p1:ExpirationDate>sample string 9</d2p1:ExpirationDate> <d2p1:Number>0</d2p1:Number> <d2p1:Price>14.1</d2p1:Price> <d2p1:ProductGUID>sample string 12</d2p1:ProductGUID> <d2p1:ProductID>sample string 11</d2p1:ProductID> <d2p1:ProductName>sample string 13</d2p1:ProductName> <d2p1:QuoteDate>sample string 8</d2p1:QuoteDate> <d2p1:QuoteTerms>sample string 16</d2p1:QuoteTerms> <d2p1:QuoteType>sample string 15</d2p1:QuoteType> <d2p1:SalespersonID>sample string 19</d2p1:SalespersonID> <d2p1:UniqueID>3</d2p1:UniqueID> </d2p1:CustQuote> <d2p1:CustQuote> <d2p1:Comment>sample string 17</d2p1:Comment> <d2p1:CompanyWideYN>true</d2p1:CompanyWideYN> <d2p1:CustomerGUID>sample string 7</d2p1:CustomerGUID> <d2p1:CustomerID>sample string 6</d2p1:CustomerID> <d2p1:DepartmentID>sample string 10</d2p1:DepartmentID> <d2p1:ExpirationDate>sample string 9</d2p1:ExpirationDate> <d2p1:Number>0</d2p1:Number> <d2p1:Price>14.1</d2p1:Price> <d2p1:ProductGUID>sample string 12</d2p1:ProductGUID> <d2p1:ProductID>sample string 11</d2p1:ProductID> <d2p1:ProductName>sample string 13</d2p1:ProductName> <d2p1:QuoteDate>sample string 8</d2p1:QuoteDate> <d2p1:QuoteTerms>sample string 16</d2p1:QuoteTerms> <d2p1:QuoteType>sample string 15</d2p1:QuoteType> <d2p1:SalespersonID>sample string 19</d2p1:SalespersonID> <d2p1:UniqueID>3</d2p1:UniqueID> </d2p1:CustQuote> </ProductQuotes> <Status>sample string 1</Status> </AgvProductQuoteList>