GET ApprovalStatus/Base/All
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ApprovalStatusName | Description | Type | Additional information |
---|---|---|---|
ApprovalStatusId | integer |
None. |
|
Description | string |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
SeedRequest | Collection of SeedRequest |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ApprovalStatusId": 1, "Description": "sample string 2", "LastMaintenanceName": "sample string 3", "LastMaintenanceDate": "2024-12-22T10:22:35.6703073+00:00", "SeedRequest": [ { "$id": "2", "SeedRequestId": "0b7139ea-0ea8-4568-aaa9-04866d696ec5", "ExperimentOrGroupId": "e1ea795e-2de9-4fe6-9d89-7459640b4d02", "GroupRequest": true, "GEId": 5.0, "BrandId": 6.0, "SubProductCode": "sample string 7", "TotalUnitsToReserve": 8, "BusinessUnitCode": "sample string 9", "ApprovalStatusId": 1, "TransactionId": "5a924f2b-ee31-4645-9dd3-91ac79a02180", "RequestorName": "sample string 11", "RequestDate": "2024-12-22T10:22:35.7004386+00:00", "ApproverName": "sample string 12", "ApprovalDate": "2024-12-22T10:22:35.7004386+00:00", "ReasonForRejection": "sample string 13", "AddName": "sample string 14", "AddDate": "2024-12-22T10:22:35.7004386+00:00", "LastMaintenanceName": "sample string 16", "LastMaintenanceDate": "2024-12-22T10:22:35.7004386+00:00", "ApprovalStatus": { "$ref": "1" }, "SeedRequestArea": [ { "$id": "3", "SeedRequestAreaId": "cd8f5981-03cd-4891-87de-3dd50fb31ea6", "DistrictCode": "samplestring1", "SeedRequest": { "$ref": "2" }, "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$id": "5", "SeedRequestAreaId": "9a70d77c-d635-48c2-a88e-9768ffdfa93b", "SeedRequestId": "0b7139ea-0ea8-4568-aaa9-04866d696ec5", "DistrictCode": "sample string 3", "SeedRequest": { "$ref": "2" }, "ChangeTracker": { "$id": "6", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "7", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "SeedRequestArea": [ { "$ref": "3" }, { "$ref": "5" } ] } } } ], "ChangeTracker": { "$id": "8", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "SeedRequest": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfApprovalStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ApprovalStatus i:nil="true" /> <ApprovalStatus z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ApprovalStatusId>1</ApprovalStatusId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>SeedRequest</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="SeedRequest"> <AddDate>2024-12-22T10:22:35.7004386+00:00</AddDate> <AddName>sample string 14</AddName> <ApprovalDate>2024-12-22T10:22:35.7004386+00:00</ApprovalDate> <ApprovalStatus z:Ref="i1" /> <ApprovalStatusId>1</ApprovalStatusId> <ApproverName>sample string 12</ApproverName> <BrandId>6</BrandId> <BusinessUnit i:nil="true" /> <BusinessUnitCode>sample string 9</BusinessUnitCode> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>SeedRequestArea</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i5" i:type="SeedRequestArea"> <ChangeTracker z:Id="i6"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DistrictCode>samplestring1</DistrictCode> <SeedRequest z:Ref="i3" /> <SeedRequestAreaId>cd8f5981-03cd-4891-87de-3dd50fb31ea6</SeedRequestAreaId> <SeedRequestId>00000000-0000-0000-0000-000000000000</SeedRequestId> </ObjectValue> <ObjectValue z:Id="i7" i:type="SeedRequestArea"> <ChangeTracker z:Id="i8"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DistrictCode>sample string 3</DistrictCode> <SeedRequest z:Ref="i3" /> <SeedRequestAreaId>9a70d77c-d635-48c2-a88e-9768ffdfa93b</SeedRequestAreaId> <SeedRequestId>0b7139ea-0ea8-4568-aaa9-04866d696ec5</SeedRequestId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentOrGroupId>e1ea795e-2de9-4fe6-9d89-7459640b4d02</ExperimentOrGroupId> <GEId>5</GEId> <GroupRequest>true</GroupRequest> <LastMaintenanceDate>2024-12-22T10:22:35.7004386+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 16</LastMaintenanceName> <ReasonForRejection>sample string 13</ReasonForRejection> <RequestDate>2024-12-22T10:22:35.7004386+00:00</RequestDate> <RequestorName>sample string 11</RequestorName> <SeedRequestArea> <SeedRequestArea z:Ref="i5" /> <SeedRequestArea z:Ref="i7" /> </SeedRequestArea> <SeedRequestId>0b7139ea-0ea8-4568-aaa9-04866d696ec5</SeedRequestId> <SubProductCode>sample string 7</SubProductCode> <TotalUnitsToReserve>8</TotalUnitsToReserve> <TransactionId>5a924f2b-ee31-4645-9dd3-91ac79a02180</TransactionId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Description>sample string 2</Description> <LastMaintenanceDate>2024-12-22T10:22:35.6703073+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 3</LastMaintenanceName> <SeedRequest> <SeedRequest z:Ref="i3" /> </SeedRequest> </ApprovalStatus> </ArrayOfApprovalStatus>