POST AvailableToSell/GetByYearAndCrop
Request Information
URI Parameters
None.
Body Parameters
GetByYearAndCropInputName | Description | Type | Additional information |
---|---|---|---|
year | integer |
None. |
|
productLineCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "year": 1, "productLineCode": "sample string 2" }
application/xml, text/xml
Sample:
<AvailableToSellController.GetByYearAndCropInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <productLineCode>sample string 2</productLineCode> <year>1</year> </AvailableToSellController.GetByYearAndCropInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AvailableToSellName | Description | Type | Additional information |
---|---|---|---|
Country | string |
None. |
|
Year | integer |
None. |
|
Season | integer |
None. |
|
ProductLineCode | string |
None. |
|
GEId | decimal number |
None. |
|
BrandId | decimal number |
None. |
|
LocalName | string |
None. |
|
LocalRStage | string |
None. |
|
FromFIS | boolean |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Country": "sample string 1", "Year": 2, "Season": 3, "ProductLineCode": "sample string 4", "GEId": 5.0, "BrandId": 6.0, "LocalName": "sample string 7", "LocalRStage": "sample string 8", "FromFIS": true, "LastMaintenanceName": "sample string 10", "LastMaintenanceDate": "2024-12-09T01:50:44.8909836+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfAvailableToSell xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <AvailableToSell z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <BrandId>6</BrandId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Country>sample string 1</Country> <FromFIS>true</FromFIS> <GEId>5</GEId> <LastMaintenanceDate>2024-12-09T01:50:44.8909836+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 10</LastMaintenanceName> <LocalName>sample string 7</LocalName> <LocalRStage>sample string 8</LocalRStage> <ProductLineCode>sample string 4</ProductLineCode> <Season>3</Season> <Year>2</Year> </AvailableToSell> <AvailableToSell z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfAvailableToSell>