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": "f8567d8d-7f97-4649-9a28-6424d6953b62", "OrderNum": 8, "OrderDate": "2025-01-18T05:08:12.7610331+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "20a72837-9bc4-48f1-8099-7bf3af7ac18f", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "a6887968-8c33-4a9e-807f-fee031ab432c", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2025-01-18T05:08:12.7610331+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": "efa4684b-115b-4d2c-8257-98a29c869122", "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": "2025-01-18T05:08:12.7620298+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "a0c82e5f-c2b2-4d76-9dfd-85ce089ba35f", "LocationName": "sample string 43", "OfferExpiresDate": "2025-01-18T05:08:12.7620298+00:00", "PaymentDate": "2025-01-18T05:08:12.7620298+00:00", "CheckNumber": "sample string 44", "StartDate": "2025-01-18T05:08:12.7620298+00:00", "ExpirationDate": "2025-01-18T05:08:12.7620298+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "b7a951e2-bb2f-4fe1-a376-5ed0fa35d06e", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "2dbbb702-5d08-45a6-b822-1cf2ecc76b03", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "fbb7ca8d-9deb-4dfe-8c84-37a3ea028931", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "6998f989-b2f8-4b54-a9b4-2ad5442dc236", "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": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "fbb7ca8d-9deb-4dfe-8c84-37a3ea028931", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "6998f989-b2f8-4b54-a9b4-2ad5442dc236", "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": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "8ff39f13-af12-4186-a718-47860a42d441", "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": "8ff39f13-af12-4186-a718-47860a42d441", "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": "d9596d15-bd6e-43dc-904c-26cb456fa576", "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": "d9596d15-bd6e-43dc-904c-26cb456fa576", "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": "f8567d8d-7f97-4649-9a28-6424d6953b62", "OrderNum": 8, "OrderDate": "2025-01-18T05:08:12.7610331+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "20a72837-9bc4-48f1-8099-7bf3af7ac18f", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "a6887968-8c33-4a9e-807f-fee031ab432c", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2025-01-18T05:08:12.7610331+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": "efa4684b-115b-4d2c-8257-98a29c869122", "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": "2025-01-18T05:08:12.7620298+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "a0c82e5f-c2b2-4d76-9dfd-85ce089ba35f", "LocationName": "sample string 43", "OfferExpiresDate": "2025-01-18T05:08:12.7620298+00:00", "PaymentDate": "2025-01-18T05:08:12.7620298+00:00", "CheckNumber": "sample string 44", "StartDate": "2025-01-18T05:08:12.7620298+00:00", "ExpirationDate": "2025-01-18T05:08:12.7620298+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "b7a951e2-bb2f-4fe1-a376-5ed0fa35d06e", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "2dbbb702-5d08-45a6-b822-1cf2ecc76b03", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "fbb7ca8d-9deb-4dfe-8c84-37a3ea028931", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "6998f989-b2f8-4b54-a9b4-2ad5442dc236", "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": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "fbb7ca8d-9deb-4dfe-8c84-37a3ea028931", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "6998f989-b2f8-4b54-a9b4-2ad5442dc236", "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": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "001c8c7b-568e-4011-972a-b93c9b5ea49c", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "9cae04c0-aa6c-4ec5-9a05-e6e32077d917", "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": "4d938709-00b7-4ae0-b708-10baa6521a85", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "8ff39f13-af12-4186-a718-47860a42d441", "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": "8ff39f13-af12-4186-a718-47860a42d441", "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": "d9596d15-bd6e-43dc-904c-26cb456fa576", "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": "d9596d15-bd6e-43dc-904c-26cb456fa576", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 } ] } ] }