GET Seed/GetDealerOrder?locationId={locationId}&vendorId={vendorId}
Returns the supplier's dealer order combined with grower orders.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| locationId |
Location ID. |
string |
Required |
| vendorId |
Vendor ID. |
string |
Required |
Body Parameters
Response Information
Resource Description
Returns the supplier's dealer order combined with grower orders.
AgvDealerOrder| Name | Description | Type | Additional 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 | |
| ErrorList |
List of errors from the API |
Collection of string | |
| WarningList |
List of warnings from the API |
Collection of string | |
| Count |
Count of how many Products are returned |
string | |
| Data |
List of Dealer order rows |
Collection of DealerOrderRow |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"Count": "2",
"Data": [
{
"Gtin": "sample string 1",
"DepartmentId": "sample string 2",
"ProductId": "sample string 3",
"Variety": "sample string 4",
"ProductDescription": "sample string 5",
"QuantityOnGrowerOrder": 6.1,
"QuantityOnDealerOrder": 7.1,
"LongShort": 1.0,
"Position": 2,
"ShippedQuantity": 8.1,
"Uncommitted": 9.1,
"GrowerOrderRows": [
{
"DepartmentId": "sample string 1",
"ProductId": "sample string 2",
"ProductDescription": "sample string 3",
"QuantityOnGrowerOrder": 4.1
},
{
"DepartmentId": "sample string 1",
"ProductId": "sample string 2",
"ProductDescription": "sample string 3",
"QuantityOnGrowerOrder": 4.1
}
]
},
{
"Gtin": "sample string 1",
"DepartmentId": "sample string 2",
"ProductId": "sample string 3",
"Variety": "sample string 4",
"ProductDescription": "sample string 5",
"QuantityOnGrowerOrder": 6.1,
"QuantityOnDealerOrder": 7.1,
"LongShort": 1.0,
"Position": 2,
"ShippedQuantity": 8.1,
"Uncommitted": 9.1,
"GrowerOrderRows": [
{
"DepartmentId": "sample string 1",
"ProductId": "sample string 2",
"ProductDescription": "sample string 3",
"QuantityOnGrowerOrder": 4.1
},
{
"DepartmentId": "sample string 1",
"ProductId": "sample string 2",
"ProductDescription": "sample string 3",
"QuantityOnGrowerOrder": 4.1
}
]
}
]
}