DELETE SalesOrderV2/DeleteSalesOrderV2?salesOrderGuid={salesOrderGuid}
Deletes a Sales Order.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
salesOrderGuid |
Sales Order unique identifier to delete. |
globally unique identifier |
Required |
Body Parameters
Response Information
Resource Description
Deletes a Sales Order.
AgvSalesOrderV2Name | 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 error messages of the API call. |
Collection of string | |
Count |
Number of results returned. |
string | |
SalesOrders |
List of Properties and Values returned for each Sales Order that matches the request. |
Collection of ClsSalesOrder |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "Count": "2", "SalesOrders": [ { "SalesOrderGUID": "cd913754-e388-4051-8197-6a960573a2d4", "OrderNum": 8, "OrderDate": "2024-11-21T09:30:01.9629971+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "fae57327-8d22-4efb-b08e-34245b8da529", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "9cde3808-3dca-4a26-b8a4-5faa930f1fca", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2024-11-21T09:30:01.9629971+00:00", "PickupOrDeliver": 0, "PickupOrDeliverAsString": "Pickup", "Status": 0, "StatusAsString": "Offered", "ShipVia": "sample string 17", "ShipTo": "sample string 18", "County": "sample string 19", "Territory": "sample string 20", "ControlNum": "sample string 21", "SalespersonId": "sample string 22", "SalespersonFirstName": "sample string 23", "SalespersonLastName": "sample string 24", "SalespersonName": "sample string 23 sample string 24", "CropId": "sample string 25", "CropGuid": "e9ad146b-9960-4685-b2f9-1ed30a09db52", "CustPo": "sample string 26", "AuthAgent": "sample string 27", "AaRelatedHow": "sample string 28", "AaAddr1": "sample string 29", "AaAddr2": "sample string 30", "AaCity": "sample string 31", "AaState": "sample string 32", "AaZip": "sample string 33", "CustomApplied": true, "AddComments": "sample string 35", "Acres": 36.1, "UnitType": 0, "UnitTypeAsString": "A", "FedPermit": "sample string 37", "FedPermitExpDate": "2024-11-21T09:30:01.9639966+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "4aaf9cab-490e-4b2a-949e-c19770ea6323", "LocationName": "sample string 43", "OfferExpiresDate": "2024-11-21T09:30:01.9639966+00:00", "PaymentDate": "2024-11-21T09:30:01.9639966+00:00", "CheckNumber": "sample string 44", "StartDate": "2024-11-21T09:30:01.9639966+00:00", "ExpirationDate": "2024-11-21T09:30:01.9639966+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "decb74e1-d6c8-4327-896d-256a88ca10ee", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "6c3e4d0e-75eb-4bb1-b1ab-c11c56fde389", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "53b798bd-57bf-4d50-b679-ede199a60b45", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "acb1434a-7fac-4e55-918d-96ecda49a6c8", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "53b798bd-57bf-4d50-b679-ede199a60b45", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "acb1434a-7fac-4e55-918d-96ecda49a6c8", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "3dd9b6b4-29c9-410d-9527-4c624db00ce9", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 }, { "SalesOrderApplicationGUID": "3dd9b6b4-29c9-410d-9527-4c624db00ce9", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 } ], "Discounts": [ { "SalesOrderDiscountGUID": "5ff5a34a-9b37-482b-9676-4654fc6878e0", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 }, { "SalesOrderDiscountGUID": "5ff5a34a-9b37-482b-9676-4654fc6878e0", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 } ] }, { "SalesOrderGUID": "cd913754-e388-4051-8197-6a960573a2d4", "OrderNum": 8, "OrderDate": "2024-11-21T09:30:01.9629971+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "fae57327-8d22-4efb-b08e-34245b8da529", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "9cde3808-3dca-4a26-b8a4-5faa930f1fca", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2024-11-21T09:30:01.9629971+00:00", "PickupOrDeliver": 0, "PickupOrDeliverAsString": "Pickup", "Status": 0, "StatusAsString": "Offered", "ShipVia": "sample string 17", "ShipTo": "sample string 18", "County": "sample string 19", "Territory": "sample string 20", "ControlNum": "sample string 21", "SalespersonId": "sample string 22", "SalespersonFirstName": "sample string 23", "SalespersonLastName": "sample string 24", "SalespersonName": "sample string 23 sample string 24", "CropId": "sample string 25", "CropGuid": "e9ad146b-9960-4685-b2f9-1ed30a09db52", "CustPo": "sample string 26", "AuthAgent": "sample string 27", "AaRelatedHow": "sample string 28", "AaAddr1": "sample string 29", "AaAddr2": "sample string 30", "AaCity": "sample string 31", "AaState": "sample string 32", "AaZip": "sample string 33", "CustomApplied": true, "AddComments": "sample string 35", "Acres": 36.1, "UnitType": 0, "UnitTypeAsString": "A", "FedPermit": "sample string 37", "FedPermitExpDate": "2024-11-21T09:30:01.9639966+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "4aaf9cab-490e-4b2a-949e-c19770ea6323", "LocationName": "sample string 43", "OfferExpiresDate": "2024-11-21T09:30:01.9639966+00:00", "PaymentDate": "2024-11-21T09:30:01.9639966+00:00", "CheckNumber": "sample string 44", "StartDate": "2024-11-21T09:30:01.9639966+00:00", "ExpirationDate": "2024-11-21T09:30:01.9639966+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "decb74e1-d6c8-4327-896d-256a88ca10ee", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "6c3e4d0e-75eb-4bb1-b1ab-c11c56fde389", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "53b798bd-57bf-4d50-b679-ede199a60b45", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "acb1434a-7fac-4e55-918d-96ecda49a6c8", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "53b798bd-57bf-4d50-b679-ede199a60b45", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "acb1434a-7fac-4e55-918d-96ecda49a6c8", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "46c2118a-0db4-447b-950d-9fc639e3514d", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "f07cbf4e-3429-4f8e-a6b9-a5d411c12d3f", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "0c1a5190-6e24-4a5c-be07-8b074309eef3", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "3dd9b6b4-29c9-410d-9527-4c624db00ce9", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 }, { "SalesOrderApplicationGUID": "3dd9b6b4-29c9-410d-9527-4c624db00ce9", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 } ], "Discounts": [ { "SalesOrderDiscountGUID": "5ff5a34a-9b37-482b-9676-4654fc6878e0", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 }, { "SalesOrderDiscountGUID": "5ff5a34a-9b37-482b-9676-4654fc6878e0", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 } ] } ] }