POST SeedRequest/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "SeedRequestId": "982475cd-9a34-48fe-b741-9352685a37d7", "ExperimentOrGroupId": "e8787a63-2045-4771-b4c3-1e6e47ab4bd3", "GroupRequest": true, "GEId": 5.0, "BrandId": 6.0, "SubProductCode": "sample string 7", "TotalUnitsToReserve": 8, "BusinessUnitCode": "sample string 9", "ApprovalStatusId": 10, "TransactionId": "dbee979c-7674-4407-8a2b-d625756eed85", "RequestorName": "sample string 11", "RequestDate": "2024-12-08T16:18:06.6049475+00:00", "ApproverName": "sample string 12", "ApprovalDate": "2024-12-08T16:18:06.6049475+00:00", "ReasonForRejection": "sample string 13", "AddName": "sample string 14", "AddDate": "2024-12-08T16:18:06.6049475+00:00", "LastMaintenanceName": "sample string 16", "LastMaintenanceDate": "2024-12-08T16:18:06.6049475+00:00", "SeedRequestArea": [ { "$id": "2", "SeedRequestAreaId": "997890fa-a02a-4ad3-8c04-eba92626898b", "DistrictCode": "samplestring1", "SeedRequest": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "4", "SeedRequestAreaId": "36188563-3820-4bca-bb89-66130fcd8b5c", "SeedRequestId": "982475cd-9a34-48fe-b741-9352685a37d7", "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-08T16:18:06.6049475+00:00</AddDate> <AddName>sample string 14</AddName> <ApprovalDate>2024-12-08T16:18:06.6049475+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>997890fa-a02a-4ad3-8c04-eba92626898b</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>36188563-3820-4bca-bb89-66130fcd8b5c</SeedRequestAreaId> <SeedRequestId>982475cd-9a34-48fe-b741-9352685a37d7</SeedRequestId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentOrGroupId>e8787a63-2045-4771-b4c3-1e6e47ab4bd3</ExperimentOrGroupId> <GEId>5</GEId> <GroupRequest>true</GroupRequest> <LastMaintenanceDate>2024-12-08T16:18:06.6049475+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 16</LastMaintenanceName> <ReasonForRejection>sample string 13</ReasonForRejection> <RequestDate>2024-12-08T16:18:06.6049475+00:00</RequestDate> <RequestorName>sample string 11</RequestorName> <SeedRequestArea> <SeedRequestArea z:Ref="i3" /> <SeedRequestArea z:Ref="i5" /> </SeedRequestArea> <SeedRequestId>982475cd-9a34-48fe-b741-9352685a37d7</SeedRequestId> <SubProductCode>sample string 7</SubProductCode> <TotalUnitsToReserve>8</TotalUnitsToReserve> <TransactionId>dbee979c-7674-4407-8a2b-d625756eed85</TransactionId> </SeedRequest> </ArrayOfSeedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "ceae67a7-a556-4ceb-9168-19d3fedd3e5f", "ExperimentOrGroupId": "75f958d8-462c-4fe9-a72a-72dcd7ac26a6", "GroupRequest": true, "GEId": 5.0, "BrandId": 6.0, "SubProductCode": "sample string 7", "TotalUnitsToReserve": 8, "BusinessUnitCode": "sample string 9", "ApprovalStatusId": 10, "TransactionId": "cbed425b-ce7a-4c8a-ab9b-047af4bf2b1e", "RequestorName": "sample string 11", "RequestDate": "2024-12-08T16:18:06.624982+00:00", "ApproverName": "sample string 12", "ApprovalDate": "2024-12-08T16:18:06.624982+00:00", "ReasonForRejection": "sample string 13", "AddName": "sample string 14", "AddDate": "2024-12-08T16:18:06.624982+00:00", "LastMaintenanceName": "sample string 16", "LastMaintenanceDate": "2024-12-08T16:18:06.624982+00:00", "SeedRequestArea": [ { "$id": "2", "SeedRequestAreaId": "0dd9430d-c814-422e-af0c-6c4984025c04", "DistrictCode": "samplestring1", "SeedRequest": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "4", "SeedRequestAreaId": "18f861dc-22c4-4c7c-b383-ffc45033a7f4", "SeedRequestId": "ceae67a7-a556-4ceb-9168-19d3fedd3e5f", "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-08T16:18:06.624982+00:00</AddDate> <AddName>sample string 14</AddName> <ApprovalDate>2024-12-08T16:18:06.624982+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>0dd9430d-c814-422e-af0c-6c4984025c04</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>18f861dc-22c4-4c7c-b383-ffc45033a7f4</SeedRequestAreaId> <SeedRequestId>ceae67a7-a556-4ceb-9168-19d3fedd3e5f</SeedRequestId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentOrGroupId>75f958d8-462c-4fe9-a72a-72dcd7ac26a6</ExperimentOrGroupId> <GEId>5</GEId> <GroupRequest>true</GroupRequest> <LastMaintenanceDate>2024-12-08T16:18:06.624982+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 16</LastMaintenanceName> <ReasonForRejection>sample string 13</ReasonForRejection> <RequestDate>2024-12-08T16:18:06.624982+00:00</RequestDate> <RequestorName>sample string 11</RequestorName> <SeedRequestArea> <SeedRequestArea z:Ref="i3" /> <SeedRequestArea z:Ref="i5" /> </SeedRequestArea> <SeedRequestId>ceae67a7-a556-4ceb-9168-19d3fedd3e5f</SeedRequestId> <SubProductCode>sample string 7</SubProductCode> <TotalUnitsToReserve>8</TotalUnitsToReserve> <TransactionId>cbed425b-ce7a-4c8a-ab9b-047af4bf2b1e</TransactionId> </SeedRequest> </ArrayOfSeedRequest>