POST SeedRequest/GetSeedRequests/{experimentOrGroupId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
experimentOrGroupId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SeedRequestName | Description | Type | Additional information |
---|---|---|---|
SeedRequestId | globally unique identifier |
None. |
|
ExperimentOrGroupId | globally unique identifier |
None. |
|
GroupRequest | boolean |
None. |
|
GEId | decimal number |
None. |
|
BrandId | decimal number |
None. |
|
SubProductCode | string |
None. |
|
TotalUnitsToReserve | integer |
None. |
|
BusinessUnitCode | string |
None. |
|
ApprovalStatusId | integer |
None. |
|
TransactionId | globally unique identifier |
None. |
|
RequestorName | string |
None. |
|
RequestDate | date |
None. |
|
ApproverName | string |
None. |
|
ApprovalDate | date |
None. |
|
ReasonForRejection | string |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ApprovalStatus | ApprovalStatus |
None. |
|
BusinessUnit | BusinessUnit |
None. |
|
SeedRequestArea | Collection of SeedRequestArea |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "SeedRequestId": "88ccbc51-582e-41a1-acd7-51bf9563b5f2", "ExperimentOrGroupId": "45a3301f-765f-42dc-a61f-374192ca482d", "GroupRequest": true, "GEId": 5.0, "BrandId": 6.0, "SubProductCode": "sample string 7", "TotalUnitsToReserve": 8, "BusinessUnitCode": "sample string 9", "ApprovalStatusId": 10, "TransactionId": "83cd71ab-bf40-4194-9b57-c805d649d274", "RequestorName": "sample string 11", "RequestDate": "2024-12-12T03:40:31.3554904+00:00", "ApproverName": "sample string 12", "ApprovalDate": "2024-12-12T03:40:31.3554904+00:00", "ReasonForRejection": "sample string 13", "AddName": "sample string 14", "AddDate": "2024-12-12T03:40:31.3554904+00:00", "LastMaintenanceName": "sample string 16", "LastMaintenanceDate": "2024-12-12T03:40:31.3554904+00:00", "SeedRequestArea": [ { "$id": "2", "SeedRequestAreaId": "0df658b6-ca7b-49fd-a2b4-0ca407de49c1", "DistrictCode": "samplestring1", "SeedRequest": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "4", "SeedRequestAreaId": "6bca98f9-bb8f-4080-b7b9-927e8f5ed6d1", "SeedRequestId": "88ccbc51-582e-41a1-acd7-51bf9563b5f2", "DistrictCode": "sample string 3", "SeedRequest": { "$ref": "1" }, "ChangeTracker": { "$id": "5", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "6", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "SeedRequestArea": [ { "$ref": "2" }, { "$ref": "4" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfSeedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <SeedRequest i:nil="true" /> <SeedRequest z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-12T03:40:31.3554904+00:00</AddDate> <AddName>sample string 14</AddName> <ApprovalDate>2024-12-12T03:40:31.3554904+00:00</ApprovalDate> <ApprovalStatus i:nil="true" /> <ApprovalStatusId>10</ApprovalStatusId> <ApproverName>sample string 12</ApproverName> <BrandId>6</BrandId> <BusinessUnit i:nil="true" /> <BusinessUnitCode>sample string 9</BusinessUnitCode> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>SeedRequestArea</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="SeedRequestArea"> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DistrictCode>samplestring1</DistrictCode> <SeedRequest z:Ref="i1" /> <SeedRequestAreaId>0df658b6-ca7b-49fd-a2b4-0ca407de49c1</SeedRequestAreaId> <SeedRequestId>00000000-0000-0000-0000-000000000000</SeedRequestId> </ObjectValue> <ObjectValue z:Id="i5" i:type="SeedRequestArea"> <ChangeTracker z:Id="i6"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DistrictCode>sample string 3</DistrictCode> <SeedRequest z:Ref="i1" /> <SeedRequestAreaId>6bca98f9-bb8f-4080-b7b9-927e8f5ed6d1</SeedRequestAreaId> <SeedRequestId>88ccbc51-582e-41a1-acd7-51bf9563b5f2</SeedRequestId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentOrGroupId>45a3301f-765f-42dc-a61f-374192ca482d</ExperimentOrGroupId> <GEId>5</GEId> <GroupRequest>true</GroupRequest> <LastMaintenanceDate>2024-12-12T03:40:31.3554904+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 16</LastMaintenanceName> <ReasonForRejection>sample string 13</ReasonForRejection> <RequestDate>2024-12-12T03:40:31.3554904+00:00</RequestDate> <RequestorName>sample string 11</RequestorName> <SeedRequestArea> <SeedRequestArea z:Ref="i3" /> <SeedRequestArea z:Ref="i5" /> </SeedRequestArea> <SeedRequestId>88ccbc51-582e-41a1-acd7-51bf9563b5f2</SeedRequestId> <SubProductCode>sample string 7</SubProductCode> <TotalUnitsToReserve>8</TotalUnitsToReserve> <TransactionId>83cd71ab-bf40-4194-9b57-c805d649d274</TransactionId> </SeedRequest> </ArrayOfSeedRequest>