POST SeedRequest/ValidateSave_2
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": "4d231204-91f4-4422-b968-271ba1112cb7", "ExperimentOrGroupId": "a7a1b30b-2d70-4ac0-88d6-12e834553140", "GroupRequest": true, "GEId": 5.0, "BrandId": 6.0, "SubProductCode": "sample string 7", "TotalUnitsToReserve": 8, "BusinessUnitCode": "sample string 9", "ApprovalStatusId": 10, "TransactionId": "9f69f087-a911-45ba-915d-e514f562adaf", "RequestorName": "sample string 11", "RequestDate": "2024-12-06T01:18:48.1947999+00:00", "ApproverName": "sample string 12", "ApprovalDate": "2024-12-06T01:18:48.1947999+00:00", "ReasonForRejection": "sample string 13", "AddName": "sample string 14", "AddDate": "2024-12-06T01:18:48.1947999+00:00", "LastMaintenanceName": "sample string 16", "LastMaintenanceDate": "2024-12-06T01:18:48.1947999+00:00", "SeedRequestArea": [ { "$id": "2", "SeedRequestAreaId": "30bc3fb2-5644-4360-9601-7ad88d865ae3", "DistrictCode": "samplestring1", "SeedRequest": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "4", "SeedRequestAreaId": "490c49f8-d583-4bbf-b968-c75e765c739d", "SeedRequestId": "4d231204-91f4-4422-b968-271ba1112cb7", "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-06T01:18:48.1947999+00:00</AddDate> <AddName>sample string 14</AddName> <ApprovalDate>2024-12-06T01:18:48.1947999+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>30bc3fb2-5644-4360-9601-7ad88d865ae3</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>490c49f8-d583-4bbf-b968-c75e765c739d</SeedRequestAreaId> <SeedRequestId>4d231204-91f4-4422-b968-271ba1112cb7</SeedRequestId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentOrGroupId>a7a1b30b-2d70-4ac0-88d6-12e834553140</ExperimentOrGroupId> <GEId>5</GEId> <GroupRequest>true</GroupRequest> <LastMaintenanceDate>2024-12-06T01:18:48.1947999+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 16</LastMaintenanceName> <ReasonForRejection>sample string 13</ReasonForRejection> <RequestDate>2024-12-06T01:18:48.1947999+00:00</RequestDate> <RequestorName>sample string 11</RequestorName> <SeedRequestArea> <SeedRequestArea z:Ref="i3" /> <SeedRequestArea z:Ref="i5" /> </SeedRequestArea> <SeedRequestId>4d231204-91f4-4422-b968-271ba1112cb7</SeedRequestId> <SubProductCode>sample string 7</SubProductCode> <TotalUnitsToReserve>8</TotalUnitsToReserve> <TransactionId>9f69f087-a911-45ba-915d-e514f562adaf</TransactionId> </SeedRequest> </ArrayOfSeedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>