POST AvailableSubProduct/ValidateSave_2
Request Information
URI Parameters
None.
Body Parameters
Collection of AvailableSubProduct| Name | Description | Type | Additional information | 
|---|---|---|---|
| Country | string | None. | |
| Year | integer | None. | |
| Season | integer | None. | |
| Code | string | None. | |
| ProductLineCode | string | None. | |
| PackagingId | string | None. | |
| PackagingName | string | None. | |
| TreatmentId | string | None. | |
| TreatmentName | string | None. | |
| IsValidForCompetitors | boolean | None. | |
| IsValidForPioneer | boolean | None. | |
| IsValidForLocal | boolean | None. | |
| LastMaintenanceName | string | None. | |
| LastMaintenanceDate | date | None. | |
| ChangeTracker | ObjectChangeTracker | None. | |
| Description | string | None. | |
| TreatmentRate | string | None. | |
| TreatmentRateId | string | None. | |
| Fungicide | string | None. | |
| FungicideId | string | None. | |
| SeedTreatment | string | None. | |
| SeedTreatmentId | string | None. | |
| SeedTreatmentCategory | string | None. | |
| SeedTreatmentCategoryId | string | None. | |
| IsChecked | boolean | None. | 
Request Formats
application/json, text/json
            Sample:
        
[
  {
    "$id": "1",
    "Country": "sample string 1",
    "Year": 2,
    "Season": 3,
    "Code": "sample string 4",
    "ProductLineCode": "sample string 5",
    "PackagingId": "sample string 6",
    "PackagingName": "sample string 7",
    "TreatmentId": "sample string 8",
    "TreatmentName": "sample string 9",
    "IsValidForCompetitors": true,
    "IsValidForPioneer": true,
    "IsValidForLocal": true,
    "LastMaintenanceName": "sample string 13",
    "LastMaintenanceDate": "2025-10-30T07:32:25.795312+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    },
    "Description": "sample string 9, sample string 7 (sample string 4)",
    "TreatmentRate": "sample string 15",
    "TreatmentRateId": "sample string 16",
    "Fungicide": "sample string 17",
    "FungicideId": "sample string 18",
    "SeedTreatment": "sample string 19",
    "SeedTreatmentId": "sample string 20",
    "SeedTreatmentCategory": "sample string 21",
    "SeedTreatmentCategoryId": "sample string 22",
    "IsChecked": true
  },
  {
    "$ref": "1"
  }
]
        application/xml
            Sample:
    
        Sample not available.
text/xml
            Sample:
    
        Sample not available.
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
ValidationReturn| Name | Description | Type | Additional information | 
|---|---|---|---|
| IsValid | boolean | None. | |
| Message | string | None. | |
| Caption | string | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Message": "sample string 1",
  "Caption": "sample string 2"
}
        application/xml, text/xml
            Sample:
<ValidationReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model.Custom"> <Caption>sample string 2</Caption> <Message>sample string 1</Message> </ValidationReturn>