POST AvailableSubProduct/GetByCountrySeason
Request Information
URI Parameters
None.
Body Parameters
GetByCountrySeasonInputName | Description | Type | Additional information |
---|---|---|---|
cropId | integer |
None. |
|
year | integer |
None. |
|
country | string |
None. |
|
season | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "cropId": 1, "year": 2, "country": "sample string 3", "season": 4 }
application/xml, text/xml
Sample:
<AvailableSubProductController.GetByCountrySeasonInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <country>sample string 3</country> <cropId>1</cropId> <season>4</season> <year>2</year> </AvailableSubProductController.GetByCountrySeasonInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AvailableSubProductName | 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. |
Response 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": "2024-12-12T02:37:50.5207419+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.