POST ProductList/GetAllAvailableToSellByCropAndYear
Request Information
URI Parameters
None.
Body Parameters
GetAllAvailableToSellByCropAndYearInputName | 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:
<ProductListController.GetAllAvailableToSellByCropAndYearInput 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> </ProductListController.GetAllAvailableToSellByCropAndYearInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductListName | Description | Type | Additional information |
---|---|---|---|
GEId | decimal number |
None. |
|
Name | string |
None. |
|
ProductTechnologySegment | string |
None. |
|
ProductLineId | string |
None. |
|
ProductLineName | string |
None. |
|
BrandId | decimal number |
None. |
|
BaseGenetics | string |
None. |
|
TechnologySegment | string |
None. |
|
PlatformRelativeMaturity | decimal number |
None. |
|
EndUse | string |
None. |
|
CommercialStatus | string |
None. |
|
ActiveStatusFlag | string |
None. |
|
MarketGroupCode | string |
None. |
|
NA_RSTAGE | string |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "GEId": 1.0, "Name": "sample string 2", "ProductTechnologySegment": "sample string 3", "ProductLineId": "sample string 4", "ProductLineName": "sample string 5", "BrandId": 6.0, "BaseGenetics": "sample string 7", "TechnologySegment": "sample string 8", "PlatformRelativeMaturity": 1.0, "EndUse": "sample string 9", "CommercialStatus": "sample string 10", "ActiveStatusFlag": "sample string 11", "MarketGroupCode": "sample string 12", "NA_RSTAGE": "sample string 13", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfProductList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ProductList z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ActiveStatusFlag>sample string 11</ActiveStatusFlag> <BaseGenetics>sample string 7</BaseGenetics> <BrandId>6</BrandId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CommercialStatus>sample string 10</CommercialStatus> <EndUse>sample string 9</EndUse> <GEId>1</GEId> <MarketGroupCode>sample string 12</MarketGroupCode> <NA_RSTAGE>sample string 13</NA_RSTAGE> <Name>sample string 2</Name> <PlatformRelativeMaturity>1</PlatformRelativeMaturity> <ProductLineId>sample string 4</ProductLineId> <ProductLineName>sample string 5</ProductLineName> <ProductTechnologySegment>sample string 3</ProductTechnologySegment> <TechnologySegment>sample string 8</TechnologySegment> </ProductList> <ProductList z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfProductList>