POST Brand/GetBrandsWithProductsByCrop/{cropId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cropId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Brand| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandId | decimal number |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| AddName | string |
None. |
|
| AddDate | date |
None. |
|
| LastMaintenanceName | string |
None. |
|
| LastMaintenanceDate | date |
None. |
|
| ExperimentFactorProduct | Collection of ExperimentFactorProduct |
None. |
|
| ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[
null,
{
"$id": "1",
"BrandId": 1.0,
"Code": "sample string 2",
"Name": "sample string 3",
"AddName": "sample string 4",
"AddDate": "2025-10-28T01:58:11.8897363+00:00",
"LastMaintenanceName": "sample string 6",
"LastMaintenanceDate": "2025-10-28T01:58:11.8897363+00:00",
"ExperimentFactorProduct": [
{
"$id": "2",
"ExperimentFactorProductId": "b5cdeb4f-9c97-449a-a657-2d61d4a583c0",
"ExperimentFactorId": "6702a4d5-9fc3-4072-926b-03101de0f84c",
"BrandId": 1.0,
"GEId": 4.0,
"SortOrder": 5,
"AddName": "sample string 6",
"AddDate": "2025-10-28T01:58:11.8897363+00:00",
"LastMaintenanceName": "sample string 8",
"LastMaintenanceDate": "2025-10-28T01:58:11.8897363+00:00",
"SubProductCode": "sample string 10",
"NumberReservedUnits": 1,
"TotalNumberUnitsAllProduct": 1,
"StripSeedLocallySourced": true,
"Brand": {
"$ref": "1"
},
"StripValue": [
{
"$id": "3",
"StripValueId": "8209bc94-f8a8-46e8-82dd-2f6931355c75",
"StripId": "5b7c2f15-a2b2-490c-a3bf-406660152fa6",
"ExperimentFactorId": "0928127b-7c69-420b-9730-a8dfc78a0d1a",
"ExperimentFactorValueId": "a92e3f99-75ed-4714-9c68-a69b8bb1b5ad",
"ExperimentFactorProductId": "b5cdeb4f-9c97-449a-a657-2d61d4a583c0",
"SortOrder": 4,
"AddName": "sample string 5",
"AddDate": "2025-10-28T01:58:11.9053774+00:00",
"LastMaintenanceName": "sample string 7",
"LastMaintenanceDate": "2025-10-28T01:58:11.9053774+00:00",
"ExperimentFactorValue": {
"$id": "4",
"ExperimentFactorValueId": "a92e3f99-75ed-4714-9c68-a69b8bb1b5ad",
"ExperimentFactorId": "0928127b-7c69-420b-9730-a8dfc78a0d1a",
"SortOrder": 3,
"Value": 1.1,
"ShortValue": "sample string 4",
"AddName": "sample string 5",
"AddDate": "2025-10-28T01:58:11.9053774+00:00",
"LastMaintenanceName": "sample string 7",
"LastMaintenanceDate": "2025-10-28T01:58:11.9053774+00:00",
"ExperimentFactor": {
"$id": "5",
"ExperimentFactorId": "0928127b-7c69-420b-9730-a8dfc78a0d1a",
"ExperimentId": "c02582c9-b246-4041-a50b-3a71d5e82f04",
"SortOrder": 3,
"TraitId": 4,
"FieldLayout": "sample string 5",
"AddName": "sample string 6",
"AddDate": "2025-10-28T01:58:11.8897363+00:00",
"LastMaintenanceName": "sample string 8",
"LastMaintenanceDate": "2025-10-28T01:58:11.8897363+00:00",
"ExperimentFactorValue": [
{
"$ref": "4"
}
],
"ExperimentFactorProduct": [],
"StripValue": [
{
"$ref": "3"
}
],
"ChangeTracker": {
"$id": "6",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"ExperimentFactorValue": [
{
"$ref": "4"
}
],
"StripValue": [
{
"$ref": "3"
}
]
}
}
},
"StripValue": [
{
"$ref": "3"
}
],
"ChangeTracker": {
"$id": "7",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"StripValue": [
{
"$ref": "3"
}
]
}
}
},
"ExperimentFactor": {
"$ref": "5"
},
"ExperimentFactorProduct": {
"$ref": "2"
},
"ChangeTracker": {
"$id": "8",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {}
}
}
],
"ChangeTracker": {
"$id": "9",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"StripValue": [
{
"$ref": "3"
}
]
}
}
}
],
"ChangeTracker": {
"$id": "10",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {},
"OriginalValues": {},
"ExtendedProperties": {},
"ObjectsAddedToCollectionProperties": {
"ExperimentFactorProduct": [
{
"$ref": "2"
}
]
}
}
}
]
application/xml, text/xml
Sample:
<ArrayOfBrand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
<Brand i:nil="true" />
<Brand z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<AddDate>2025-10-28T01:58:11.8897363+00:00</AddDate>
<AddName>sample string 4</AddName>
<BrandId>1</BrandId>
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentFactorProduct</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i3" i:type="ExperimentFactorProduct">
<AddDate>2025-10-28T01:58:11.8897363+00:00</AddDate>
<AddName>sample string 6</AddName>
<Brand z:Ref="i1" />
<BrandId>1</BrandId>
<ChangeTracker z:Id="i4">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>StripValue</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i5" i:type="StripValue">
<AddDate>2025-10-28T01:58:11.9053774+00:00</AddDate>
<AddName>sample string 5</AddName>
<ChangeTracker z:Id="i6">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties />
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<ExperimentFactor z:Id="i7">
<AddDate>2025-10-28T01:58:11.8897363+00:00</AddDate>
<AddName>sample string 6</AddName>
<ChangeTracker z:Id="i8">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>ExperimentFactorValue</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Id="i9" i:type="ExperimentFactorValue">
<AddDate>2025-10-28T01:58:11.9053774+00:00</AddDate>
<AddName>sample string 5</AddName>
<ChangeTracker z:Id="i10">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties>
<AddedObjectsForProperty>
<CollectionPropertyName>StripValue</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Ref="i5" />
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<ExperimentFactor z:Ref="i7" />
<ExperimentFactorId>0928127b-7c69-420b-9730-a8dfc78a0d1a</ExperimentFactorId>
<ExperimentFactorValueId>a92e3f99-75ed-4714-9c68-a69b8bb1b5ad</ExperimentFactorValueId>
<LastMaintenanceDate>2025-10-28T01:58:11.9053774+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 7</LastMaintenanceName>
<ShortValue>sample string 4</ShortValue>
<SortOrder>3</SortOrder>
<StripValue>
<StripValue z:Ref="i5" />
</StripValue>
<Value>1.1</Value>
</ObjectValue>
</AddedObjects>
</AddedObjectsForProperty>
<AddedObjectsForProperty>
<CollectionPropertyName>StripValue</CollectionPropertyName>
<AddedObjects>
<ObjectValue z:Ref="i5" />
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<Experiment i:nil="true" />
<ExperimentFactorId>0928127b-7c69-420b-9730-a8dfc78a0d1a</ExperimentFactorId>
<ExperimentFactorProduct />
<ExperimentFactorValue>
<ExperimentFactorValue z:Ref="i9" />
</ExperimentFactorValue>
<ExperimentId>c02582c9-b246-4041-a50b-3a71d5e82f04</ExperimentId>
<FieldLayout>sample string 5</FieldLayout>
<LastMaintenanceDate>2025-10-28T01:58:11.8897363+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 8</LastMaintenanceName>
<SortOrder>3</SortOrder>
<StripValue>
<StripValue z:Ref="i5" />
</StripValue>
<TraitId>4</TraitId>
</ExperimentFactor>
<ExperimentFactorId>0928127b-7c69-420b-9730-a8dfc78a0d1a</ExperimentFactorId>
<ExperimentFactorProduct z:Ref="i3" />
<ExperimentFactorProductId>b5cdeb4f-9c97-449a-a657-2d61d4a583c0</ExperimentFactorProductId>
<ExperimentFactorValue z:Ref="i9" />
<ExperimentFactorValueId>a92e3f99-75ed-4714-9c68-a69b8bb1b5ad</ExperimentFactorValueId>
<LastMaintenanceDate>2025-10-28T01:58:11.9053774+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 7</LastMaintenanceName>
<SortOrder>4</SortOrder>
<Strip i:nil="true" />
<StripId>5b7c2f15-a2b2-490c-a3bf-406660152fa6</StripId>
<StripValueId>8209bc94-f8a8-46e8-82dd-2f6931355c75</StripValueId>
</ObjectValue>
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<ExperimentFactor i:nil="true" />
<ExperimentFactorId>6702a4d5-9fc3-4072-926b-03101de0f84c</ExperimentFactorId>
<ExperimentFactorProductId>b5cdeb4f-9c97-449a-a657-2d61d4a583c0</ExperimentFactorProductId>
<GEId>4</GEId>
<LastMaintenanceDate>2025-10-28T01:58:11.8897363+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 8</LastMaintenanceName>
<NumberReservedUnits>1</NumberReservedUnits>
<SortOrder>5</SortOrder>
<StripSeedLocallySourced>true</StripSeedLocallySourced>
<StripValue>
<StripValue z:Ref="i5" />
</StripValue>
<SubProductCode>sample string 10</SubProductCode>
<TotalNumberUnitsAllProduct>1</TotalNumberUnitsAllProduct>
</ObjectValue>
</AddedObjects>
</AddedObjectsForProperty>
</ObjectsAddedToCollectionProperties>
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<Code>sample string 2</Code>
<ExperimentFactorProduct>
<ExperimentFactorProduct z:Ref="i3" />
</ExperimentFactorProduct>
<LastMaintenanceDate>2025-10-28T01:58:11.8897363+00:00</LastMaintenanceDate>
<LastMaintenanceName>sample string 6</LastMaintenanceName>
<Name>sample string 3</Name>
</Brand>
</ArrayOfBrand>